noctalia-shell icon indicating copy to clipboard operation
noctalia-shell copied to clipboard

[FEATURE] Enable separate Idle settings for battery and AC power

Open pacharanero opened this issue 4 months ago • 4 comments

Submission checklist

  • [x] I have searched existing issues and confirmed this has not been requested before.
  • [x] I have checked existing pull requests for similar changes.

Feature type

Configuration / customization

Feature summary

Currently in the Noctalia settings for Idle behaviour there is no way to have different settings for when "on AC Power" and "on battery". Most other desktop environments/shells I've used have separate settings for these since many people would want different settings. For example, I'd like suspend to happen on battery after maybe an hour, but never on AC power

Image

Motivation / use case

It allows the user to have different settings for different types of power situation - AC power and battery.

Proposed solution

I would suggest making the settings differentiate between an on-AC-power situation and a battery-is-discharging situation and allow the user different setting for these. It could perhaps be implemented in another tab of the Idle settings section.

Alternatives considered

I have a workaround via script on my current machine, but it would be better if this was integrated into Noctalia.

References / related projects

No response

Additional context

If a PR would be welcome I'd be happy to discuss Noctalia team's preferred way to implement and do it for you.

pacharanero avatar Jul 09 '26 10:07 pacharanero

I agree it would be very nice to have this kind of behavior built in.

Previously I would keep multiple hypridle.confs for laptop vs desktop, but with noctalia that isn't as doable.

dommcdev avatar Jul 13 '26 15:07 dommcdev

i would have open this request, found it. So here to ask the same feature.

meltingbots avatar Aug 10 '26 09:08 meltingbots

This is essential on laptops and available on all linux DE, Windows and MacOS There is an existing PR https://github.com/noctalia-dev/noctalia/pull/4064

shaplyd avatar Sep 26 '26 15:09 shaplyd

Its not a fix, but a workaround, you can use noctalia msg config-set together with hooks to emulate that behaviour.

https://docs.noctalia.dev/noctalia/v5.6.0/ipc/shell/ https://docs.noctalia.dev/noctalia/v5.6.0/automation/hooks/

I also miss that feature.

h0m3 avatar Dec 03 '26 14:12 h0m3