diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2019-11-15 11:01:56 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2019-11-15 11:01:56 +0100 |
commit | b071eea75c58241f6b46c8148da4db1ba312ec1c (patch) | |
tree | 06593ff57c9494de67bf6925128e2b52e2bf3c85 | |
parent | Now takes the correct options (diff) | |
download | lowbat-gnu-b071eea75c58241f6b46c8148da4db1ba312ec1c.tar.gz lowbat-gnu-b071eea75c58241f6b46c8148da4db1ba312ec1c.tar.bz2 lowbat-gnu-b071eea75c58241f6b46c8148da4db1ba312ec1c.tar.xz lowbat-gnu-b071eea75c58241f6b46c8148da4db1ba312ec1c.tar.zst lowbat-gnu-b071eea75c58241f6b46c8148da4db1ba312ec1c.zip |
Back to 15%
-rwxr-xr-x | bin/lowbat | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |