diff options
Diffstat (limited to 'src/jo_lowbat.cpp')
-rw-r--r-- | src/jo_lowbat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jo_lowbat.cpp b/src/jo_lowbat.cpp index ab74eaf..96686e5 100644 --- a/src/jo_lowbat.cpp +++ b/src/jo_lowbat.cpp @@ -35,7 +35,7 @@ Lowbat::jo_fetchBatlvl(void) { uint8_t batlvlint; cout << "Fetching batlvl: "; - batlvl = this->jo_exec("acpi | awk '{print $4}' | rev | cut -c 3- | rev"); + batlvl = Lowbat::jo_exec("acpi | awk '{print $4}' | rev | cut -c 3- | rev"); batlvl.erase(remove(batlvl.begin(), batlvl.end(), '\n'), batlvl.end()); batlvlint = stoi(batlvl); cout << batlvlint << "%" << endl; |