From 783a91f38bf07e3aba9c8cc54dbdd9c804628db8 Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Wed, 20 May 2020 17:00:19 -0400
Subject: moved the battery percentage check to script
---
src/etc/udev/rules.d/99-lowbat.rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'src/etc/udev')
diff --git a/src/etc/udev/rules.d/99-lowbat.rules b/src/etc/udev/rules.d/99-lowbat.rules
index 0d90607..c5a9b76 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{manufacturer}=="Celxpert", ATTR{status}=="Discharging", ATTR{capacity}=="[0-5]", RUN+="/usr/local/bin/bat-led-set 1"
+SUBSYSTEM=="power_supply", 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"
--
cgit