diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2019-11-15 10:25:34 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2019-11-15 10:25:34 +0100 |
commit | 76cc096edf91ace89dfd625ffb075f25c0f45d59 (patch) | |
tree | 404e6743423e82176ee7cc04977a28b3899bbdc0 | |
parent | Renamed --no-audio to --silent (diff) | |
download | lowbat-gnu-76cc096edf91ace89dfd625ffb075f25c0f45d59.tar.gz lowbat-gnu-76cc096edf91ace89dfd625ffb075f25c0f45d59.tar.bz2 lowbat-gnu-76cc096edf91ace89dfd625ffb075f25c0f45d59.tar.xz lowbat-gnu-76cc096edf91ace89dfd625ffb075f25c0f45d59.tar.zst lowbat-gnu-76cc096edf91ace89dfd625ffb075f25c0f45d59.zip |
Bug fix
-rwxr-xr-x | bin/lowbat | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |