aboutsummaryrefslogtreecommitdiff
path: root/src/etc/udev
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-05-06 14:44:55 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-05-06 14:44:55 -0400
commitd62f1c467706b15d3f69931942754f4e2917bc3e (patch)
tree184b82ba35ccb7d4d2d2971258a295a3a6fd03a2 /src/etc/udev
parentdb9ed9244f70eeca7611ade5f4efcf47d9199fff (diff)
realized that battery on discharging led was unnecessary
Diffstat (limited to 'src/etc/udev')
-rw-r--r--src/etc/udev/rules.d/99-lowbat.rules1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/etc/udev/rules.d/99-lowbat.rules b/src/etc/udev/rules.d/99-lowbat.rules
index ecb80b5..c5a9b76 100644
--- a/src/etc/udev/rules.d/99-lowbat.rules
+++ b/src/etc/udev/rules.d/99-lowbat.rules
@@ -1,5 +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{status}=="Discharging", ATTR{capacity}=="[1-9][0-9]|[6-9]", RUN+="/usr/local/bin/bat-led-set 0"
SUBSYSTEM=="power_supply", ATTR{status}=="Charging", RUN+="/usr/local/bin/bat-led-set 0"