diff --git a/include/modules/battery.hpp b/include/modules/battery.hpp index df3c1be0..9787a8dc 100644 --- a/include/modules/battery.hpp +++ b/include/modules/battery.hpp @@ -34,7 +34,6 @@ class Battery : public ALabel { void worker(); const std::string getAdapterStatus(uint8_t capacity) const; const std::tuple getInfos() const; - // const std::string getState(uint8_t) const; util::SleeperThread thread_; util::SleeperThread thread_timer_; diff --git a/src/modules/battery.cpp b/src/modules/battery.cpp index 8028531e..607efdd4 100644 --- a/src/modules/battery.cpp +++ b/src/modules/battery.cpp @@ -109,8 +109,6 @@ const std::string waybar::modules::Battery::getAdapterStatus(uint8_t capacity) c return "Unknown"; } - - auto waybar::modules::Battery::update() -> void { auto [capacity, status] = getInfos(); if (status == "Unknown") {