aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2019-11-15 11:43:58 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2019-11-15 11:43:58 +0100
commitb3379ab0522ea7d3eb087f7ec5c4f9f7a87ac959 (patch)
tree4ada6b59462e1663b48539c9db940ff775bd837b
parentshellchecked (diff)
downloadlowbat-gnu-b3379ab0522ea7d3eb087f7ec5c4f9f7a87ac959.tar.gz
lowbat-gnu-b3379ab0522ea7d3eb087f7ec5c4f9f7a87ac959.tar.bz2
lowbat-gnu-b3379ab0522ea7d3eb087f7ec5c4f9f7a87ac959.tar.xz
lowbat-gnu-b3379ab0522ea7d3eb087f7ec5c4f9f7a87ac959.tar.zst
lowbat-gnu-b3379ab0522ea7d3eb087f7ec5c4f9f7a87ac959.zip
Merge complete
-rwxr-xr-xbin/lowbat2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/lowbat b/bin/lowbat
index bccf7d2..7aaaede 100755
--- a/bin/lowbat
+++ b/bin/lowbat
@@ -18,7 +18,7 @@ ntf() {
while true ; 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
ntf
sleep 20