Merge pull request #4591 from rrrnld/fix/multiple-batteries

Improve multiple battery support
This commit is contained in:
Alexis Rouillard
2025-12-18 19:02:31 +01:00
committed by GitHub
3 changed files with 10 additions and 3 deletions

View File

@ -46,6 +46,7 @@ class Battery : public ALabel {
std::string old_status_;
std::string last_event_;
bool warnFirstTime_{true};
bool weightedAverage_{true};
const Bar& bar_;
util::SleeperThread thread_;