mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-15 04:37:18 +00:00
3 lines
156 B
Plaintext
3 lines
156 B
Plaintext
# Suspend when battery is at or below 2%
|
|
SUBSYSTEM=="power_supply", ATTR{status}=="Discharging", ATTR{capacity}=="[0-2]", RUN+="/usr/bin/systemctl suspend"
|