Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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.
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