From 5a00bbf2eac247b026d0912baeb8832e4bed1fe4 Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Fri, 17 Jun 2022 04:15:05 -0700 Subject: [PATCH] changed eq to le in batnotify script --- scripts/batnotify | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/batnotify b/scripts/batnotify index 5a0ffb41..caf21100 100755 --- a/scripts/batnotify +++ b/scripts/batnotify @@ -2,7 +2,7 @@ while [ true ] ; do PWRLVL=$(cat /sys/class/power_supply/BAT1/capacity) - if [ $PWRLVL -eq 15 ] ; then + if [ $PWRLVL -le 15 ] ; then exec notify-send "Battery is at 15%!!"; break; else