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
HikariKnight3mo 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
asen233mo 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
HikariKnight3mo ago
yeah then use the batterylimit service
Kreaus
KreausOP3mo ago
I enabled the service, but nothing happened And im not sure if decky plugins would work in desktop mode
asen23
asen233mo ago
wdym by nothing happened?
Kreaus
KreausOP3mo ago
what do you mean, what do i mean
Kreaus
KreausOP3mo ago
No description
Kreaus
KreausOP3mo ago
is this not the command? sudo systemctl enable batterylimit.service
asen23
asen233mo ago
change enable to start enable only enable not start unless you add --now
Kreaus
KreausOP3mo ago
my system crashed and rebooted after that, so i thought it would've started after the reset 🤷‍♂️
asen23
asen233mo ago
hmm weird
Kreaus
KreausOP3mo ago
completely unrelated crash
asen23
asen233mo ago
try systemctl status batterylimit
Kreaus
KreausOP3mo ago
i was trying to use the steam deck's controls with godot open, and it crashes when i do
Kreaus
KreausOP3mo ago
No description
asen23
asen233mo ago
there is no error
Kreaus
KreausOP3mo ago
it says inactive, despite trying to start it
asen23
asen233mo ago
it already ran
Kreaus
KreausOP3mo ago
it looks like it timed out shouldn't it be persistent? or does it just run once and stop?
asen23
asen233mo ago
it run once at boot try discharging your battery below limit and try charging
Kreaus
KreausOP3mo 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
asen233mo ago
see /etc/default/batterylimit
Kreaus
KreausOP3mo ago
oh my bad, its 90 by default we'll see in 3 minutes stops charging at 89% @asen23 tyvm
asen23
asen233mo ago
yw
Want results from more Discord servers?
Add your server