diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/udev/rules.d/99-lowbat.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/udev/rules.d/99-lowbat.rules b/src/etc/udev/rules.d/99-lowbat.rules index c5a9b76..0d90607 100644 --- a/src/etc/udev/rules.d/99-lowbat.rules +++ b/src/etc/udev/rules.d/99-lowbat.rules @@ -1,4 +1,4 @@ SUBSYSTEM=="power_supply", ATTR{status}=="Discharging", ATTR{capacity}=="[0-1]", RUN+="/usr/bin/systemctl hybrid-sleep" -SUBSYSTEM=="power_supply", ATTR{status}=="Discharging", ATTR{capacity}=="[0-5]", RUN+="/usr/local/bin/bat-led-set 1" +SUBSYSTEM=="power_supply", ATTR{manufacturer}=="Celxpert", ATTR{status}=="Discharging", ATTR{capacity}=="[0-5]", RUN+="/usr/local/bin/bat-led-set 1" SUBSYSTEM=="power_supply", ATTR{status}=="Charging", RUN+="/usr/local/bin/bat-led-set 0" |