ansible-desktop/roles/laptop/files/etc/udev/rules.d/99-powersave.rules

2 lines
170 B
Plaintext
Raw Normal View History

2022-10-25 23:18:13 +00:00
SUBSYSTEM=="power_supply", ATTR{online}=="0", RUN+="/usr/local/sbin/power-saver-mode"
SUBSYSTEM=="power_supply", ATTR{online}=="1", RUN+="/usr/local/sbin/unlimited-power"