How do i set a charge limit on the steam deck?

Steam deck running bazzite os, device is charging to 100% while im docked, anyone know how to limit it?
24 Replies
HikariKnight
HikariKnight4w ago
IIRC the deck automatically limits charging to 90% if it detects its been on the charger for a while at 100% not sure if there is a way to limit it, might exist a decky plugin for it
asen23
asen234w ago
there are batterylimit.service that uses setting from /etc/default/batterylimit powertools from decky also can set it but sometimes you need to use bios to reset it
HikariKnight
HikariKnight4w ago
yeah then use the batterylimit service
Kreaus
KreausOP4w ago
I enabled the service, but nothing happened And im not sure if decky plugins would work in desktop mode
asen23
asen234w ago
wdym by nothing happened?
Kreaus
KreausOP4w ago
what do you mean, what do i mean
Kreaus
KreausOP4w ago
No description
Kreaus
KreausOP4w ago
is this not the command? sudo systemctl enable batterylimit.service
asen23
asen234w ago
change enable to start enable only enable not start unless you add --now
Kreaus
KreausOP4w ago
my system crashed and rebooted after that, so i thought it would've started after the reset 🤷‍♂️
asen23
asen234w ago
hmm weird
Kreaus
KreausOP4w ago
completely unrelated crash
asen23
asen234w ago
try systemctl status batterylimit
Kreaus
KreausOP4w ago
i was trying to use the steam deck's controls with godot open, and it crashes when i do
Kreaus
KreausOP4w ago
No description
asen23
asen234w ago
there is no error
Kreaus
KreausOP4w ago
it says inactive, despite trying to start it
asen23
asen234w ago
it already ran
Kreaus
KreausOP4w ago
it looks like it timed out shouldn't it be persistent? or does it just run once and stop?
asen23
asen234w ago
it run once at boot try discharging your battery below limit and try charging
Kreaus
KreausOP4w ago
ya, i will will report back with the results I charged it down to 79 And it charged back up to 82 Limit is 80 by default right?
asen23
asen234w ago
see /etc/default/batterylimit
Kreaus
KreausOP4w ago
oh my bad, its 90 by default we'll see in 3 minutes stops charging at 89% @asen23 tyvm
asen23
asen234w ago
yw
Want results from more Discord servers?
Add your server