diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2019-11-15 11:43:58 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2019-11-15 11:43:58 +0100 |
commit | b3379ab0522ea7d3eb087f7ec5c4f9f7a87ac959 (patch) | |
tree | 4ada6b59462e1663b48539c9db940ff775bd837b | |
parent | shellchecked (diff) | |
download | lowbat-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-x | bin/lowbat | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |