Nov 23, 1:32am

On Debian 13 (GNOME 48), the low‑battery behaviour has two layers, so check both:

1. "Automatic suspend" on battery

Settings → Power → Power Saving Options → Automatic suspend → set the "On Battery Power" delay to Off.

This controls suspension during inactivity, and is stored here if you prefer the terminal:

bash
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type 'nothing'

2. The critical battery action

Since GNOME 42, the old advice (gsettings set org.gnome.settings-daemon.plugins.power critical-battery-action 'nothing') no longer works: that key was dropped and the action at critical charge is now performed by UPower, which only offers PowerOff, Hibernate or HybridSleep.

To prevent it from triggering at all, disable the thresholds:

bash
sudo nano /etc/UPower/UPower.conf

Set:

ini
PercentageAction=0
TimeAction=0

Then apply:

bash
sudo systemctl restart upower.service

Check your current battery state anytime with upower -i /org/freedesktop/UPower/devices/battery_BAT0. You'll still get low battery warnings, but nothing will be suspended automatically (FOSTips, UPower.conf on GitHub).

If you only need to prevent it one time (e.g. your battery just hit the critical threshold and it's about to suspend), the quickest fix is to plug in the charger for a few seconds; the critical action is cancelled as soon as AC power is detected.

Nov 23, 1:32am

This is a shared conversation and may include unverified content that doesn't reflect Mistral AI's views. Login to resume chatting.

Vibe can make mistakes. Check answers. Learn more
Debian GNOME battery settings