aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xbin/lowbat2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/lowbat b/bin/lowbat
index 3bf4cc5..db2a466 100755
--- a/bin/lowbat
+++ b/bin/lowbat
@@ -16,7 +16,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