Nov 21, 11:45pm

The notification is not generated by a "Power" app you can mute; it comes from gnome-settings-daemon, which reacts to the warning level that UPower computes. The thresholds live in /etc/UPower/UPower.conf, and there is no supported toggle to suppress the notification entirely; you make it fire very late instead.

1. Edit the UPower config

text
sudo nano /etc/UPower/UPower.conf

Set (values must be strictly descending; PercentageLow=20 is what triggers your 20% notice):

text
UsePercentageForPolicy=true
PercentageLow=5
PercentageCritical=3
PercentageAction=2

With this, the "Low Battery" notification appears at 5% instead of 20%. At the critical/action levels GNOME will still suspend or power off (that's a safety net you probably want to keep).

2. Restart UPower

text
sudo systemctl restart upower

No reboot needed; the daemon picks up the new thresholds immediately.

Notes:

  • If UsePercentageForPolicy is false (the upstream default), the same notification is driven by time remaining instead: lower TimeLow, TimeCritical, TimeAction (defaults 1200/300/120 seconds).
  • If you want no banner at all (not just a rarer one), the only built-in option is global Do Not Disturb from the Quick Settings menu (top right of the panel); it hides the banner while keeping the notification in the list. There's no per-notification kill switch for system power alerts in GNOME Settings.

Sources: the UPower thresholds and descending-order rule from UPower.conf, and the fact that the gsettings percentage keys are ignored (UPower config is the one that works) from Ask Ubuntu.

Nov 21, 11:45pm

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