This repository has been archived on 2024-03-28 . You can view files and clone it, but cannot push or open issues or pull requests.
3 lines
178 B
Text
3 lines
178 B
Text
# Suspend the system when battery level drops to 3% or lower
|
|||
SUBSYSTEM=="power_supply", ATTR{status}=="Discharging", ATTR{capacity}=="[0-5]", RUN+="/usr/bin/systemctl hibernate"
|