ansible-desktop/roles/laptop/files/etc/udev/rules.d/99-powersave.rules
2022-10-26 01:18:13 +02:00

2 lines
170 B
Plaintext

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"