mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 10:39:41 +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"
|