Steam Deck

Steam Deck

Nimrad 7 Dec, 2023 @ 12:14pm
Allow charge limit of X%
For us that may leave the deck for quite some time before playing it would be nice to have an option to not charge to 100%. Especially with the OLED I would rarely need 100% for my trips and I'd rather set my own limit to preserve battery health.
< >
Showing 1-9 of 9 comments
Rabblevox 7 Dec, 2023 @ 12:59pm 
Batteries are better than they used to be, but this would still be a super-useful feature, and not hard at all to implement.
focus 12 Dec, 2023 @ 12:44am 
I would also love this feature. I currently have Powertools installed with a charge limit of 80% but it would be good if Valve could incorporate this feature into the Deck without having to install a plugin (and also because Powertools only limits the charge when the Deck is turned on).

When I bought my iPhone I kept it charged between 40% and 80% at all times and the battery lasted for four years before needing to be replaced. Old Samsung laptops also used to have software that had this feature.

This would be really good for those who want to maximise their battery health, shouldn't be hard for Valve to implement either!

EDIT: Out of curosity, how long is "quite some time" for you? You're probably best to put the battery into battery storage mode if you aren't using it for months on end for example.
Last edited by focus; 12 Dec, 2023 @ 12:54am
Nimrad 12 Dec, 2023 @ 8:49am 
Originally posted by focus:
EDIT: Out of curosity, how long is "quite some time" for you? You're probably best to put the battery into battery storage mode if you aren't using it for months on end for example.
Not months on end. But weeks are not uncommon. Didn’t know there was anything called storage mode.
Last edited by Nimrad; 12 Dec, 2023 @ 8:51am
Rodomar705 11 Jul @ 11:41pm 
The plumbing in the kernel is already done since 6 months, you can get this feature already. Not sure on why Valve is still waiting to expose this functionality in the Steam UI though.
Originally posted by Rodomar705:
The plumbing in the kernel is already done since 6 months, you can get this feature already.

Do you know how to do it? I tried setting a value in /sys/class/hwmon/hwmon4/max_battery_charge_level but it didn't work (permission denied even with sudo)
Originally posted by K9 Acupuncture:
Originally posted by Rodomar705:
The plumbing in the kernel is already done since 6 months, you can get this feature already.
Do you know how to do it? I tried setting a value in /sys/class/hwmon/hwmon4/max_battery_charge_level but it didn't work (permission denied even with sudo)

Disclaimer: All of this comes with no warranty of course. If you want an easier path is probably just install Bazzite instead of SteamOS on your device :)


Bazzite has a couple of files that do exactly that. If you have experience with systemd scripts it should be quite easy to do. You can't really do this manually since Valve will aggressively go back to the default (0 or no limit at all) since later BIOSes and if you don't keep resetting your limit after each reboot/wake cycle your limit will go away again. One limitation I found is that after a full reboot to let it reapply you need to unplug the power cable at least once to set it again (it seems that the limit is set only on start charging, not on if it is already charging, and since that script run on bootup it will not apply until a replug to power after post) Here are the two files:

https://github.com/ublue-os/bazzite/blob/main/system_files%2Fdeck%2Fshared%2Fusr%2Flib%2Fsystemd%2Fsystem%2Fbatterylimit.service

https://github.com/ublue-os/bazzite/blob/main/system_files%2Fdeck%2Fshared%2Fusr%2Fetc%2Fdefault%2Fbatterylimit

You should be able to have this working by placing them in their corresponding directories and running
sudo systemctl enable batterylimit.service
Last edited by Rodomar705; 14 Jul @ 3:00am
Thanks!
bump in the night
< >
Showing 1-9 of 9 comments
Per page: 1530 50