aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2019-12-29 19:21:08 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2019-12-29 19:21:08 +0100
commit2af0e53d6a0f61bea29ca6e1a9f2c9c11e8d6301 (patch)
tree49444538f449f426a6ea7b3721751fa541e4f893 /src/main.cpp
parentMakefile update (diff)
downloadlowbat-gnu-2af0e53d6a0f61bea29ca6e1a9f2c9c11e8d6301.tar.gz
lowbat-gnu-2af0e53d6a0f61bea29ca6e1a9f2c9c11e8d6301.tar.bz2
lowbat-gnu-2af0e53d6a0f61bea29ca6e1a9f2c9c11e8d6301.tar.xz
lowbat-gnu-2af0e53d6a0f61bea29ca6e1a9f2c9c11e8d6301.tar.zst
lowbat-gnu-2af0e53d6a0f61bea29ca6e1a9f2c9c11e8d6301.zip
README update
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index dfcc2f4..e66abf3 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -26,7 +26,7 @@ int main(int argc, const char *argv[]) {
}
}
while (true) {
- while (lowbat.jo_fetchBatlvl() < 115 && !lowbat.jo_fetchAcstat()) {
+ while (lowbat.jo_fetchBatlvl() < 15 && !lowbat.jo_fetchAcstat()) {
if (lowbat.jo_notify()) {
cout << "Error: could not use notify-send" << endl;
return 3;