aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/etc/UPower/UPower.conf
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-04-21 01:24:52 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-04-21 01:24:52 +0100
commit2a94cc096c647d06cf80b166f6b878609572dd1a (patch)
treef271ce17f54e70ed2f28005412815ef64893b1c7 /etc/UPower/UPower.conf
parent6a8226b415801dc43577583f1cfee8d1f358977a (diff)
downloaddotfiles-2a94cc096c647d06cf80b166f6b878609572dd1a.tar.gz
dotfiles-2a94cc096c647d06cf80b166f6b878609572dd1a.tar.bz2
dotfiles-2a94cc096c647d06cf80b166f6b878609572dd1a.zip
UPower: PowerOff critical action (no swap, no hibernate)
Diffstat (limited to 'etc/UPower/UPower.conf')
-rw-r--r--etc/UPower/UPower.conf9
1 files changed, 6 insertions, 3 deletions
diff --git a/etc/UPower/UPower.conf b/etc/UPower/UPower.conf
index ef4505b..8f7fe34 100644
--- a/etc/UPower/UPower.conf
+++ b/etc/UPower/UPower.conf
@@ -1,7 +1,10 @@
[UPower]
-CriticalPowerAction=Hibernate
-PercentageLow=10
-PercentageCritical=5
+# No swap on this system, so hibernate isn't an option. Fall back to a clean
+# power-off at the critical threshold; poweralertd warns well before we get
+# there so unsaved work can be saved.
+CriticalPowerAction=PowerOff
+PercentageLow=15
+PercentageCritical=7
PercentageAction=3
TimeLow=1200
TimeCritical=300