jurassicplayer / decky-autosuspend

A decky-loader plugin to automatically notify and suspend your steamdeck on low power.
Other
7 stars 0 forks source link

[FEATURE] Disable autosuspend when charging is true #24

Open zap0xfce2 opened 3 months ago

zap0xfce2 commented 3 months ago

Is your feature request related to a problem? Please describe. If your battery get's to zero you have to recharge your steamdeck so it turns on and after it has booted up the "15%" message appears and put's it in sleep mode.

Describe the solution you'd like Instead of putting it into sleep mode a switch would be nice to disable the plugin when the steamdeck is being charged.

Describe alternatives you've considered Alternatively it could be checked what is the uptime of the steamdeck and if it's under a defined value (i.e. 10 minutes) the plugin gets enabled ... so there is time to charge over 15% (default value)

Additional context Mostly is this behaviour an issue when your steamdeck get's out of juce when it's in sleepmode ... so you have to recharge it again.