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 request] Overcharge Threshold Notification #2

Closed kernicek closed 1 year ago

kernicek commented 1 year ago

Hi,

do you think it would be possible to add a notification when the battery charges to a given percentage? I like to keep my deck between 30% and 70% charge when possible to make the battery last as long as possible in the long term, but sometimes when playing and charging, I don't notice that I've passed 70%. This would really help me a lot.

Thank you! Vojta

jurassicplayer commented 1 year ago

@kernicek Overcharging threshold has been added in v1.3.0. You can follow the manual installation instructions or just wait until it is added to the decky plugin store. By default, the overcharge threshold is disabled (since I don't use it personally), so in order to enable it, you will need to:

As a sidenote, I'm pretty sure SteamOS has things in place already to help users prolong their battery life (slow charging after 80% and discharging after 100% even while plugged in) and there is also the PowerTools plugin which allows you to set the maximum battery charge rate while awake that you can use to maximize that battery lifespan. I've also been told that it will eventually add a hard charging limit in a later version, so that might be something to keep an eye out for.

If it doesn't seem to work correctly, feel free to re-open or create a new issue detailing the problem.