From b071eea75c58241f6b46c8148da4db1ba312ec1c Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 15 Nov 2019 11:01:56 +0100 Subject: Back to 15% --- bin/lowbat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/lowbat b/bin/lowbat index a8ae16c..8297032 100755 --- a/bin/lowbat +++ b/bin/lowbat @@ -18,7 +18,7 @@ notify() { while [ 1 ]; do acstat=$(acpi | awk '{print $3}' | rev | cut -c 2- | rev) batlvl=$(acpi | awk '{print $4}' | rev | cut -c 3- | rev) - if [ $batlvl -lt 115 ]; then + if [ $batlvl -lt 15 ]; then while [ "$acstat" = "Discharging" ]; do $(notify) sleep 20 -- cgit v1.2.3