mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-01 03:20:29 +00:00
0c720a05fe
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
3 lines
178 B
Plaintext
3 lines
178 B
Plaintext
# Suspend the system when battery level drops to 5% or lower
|
|
SUBSYSTEM=="power_supply", ATTR{status}=="Discharging", ATTR{capacity}=="[0-5]", RUN+="/usr/bin/systemctl hibernate"
|