chore(cr): cr cleanup

pull/297/head
Dan 2019-05-03 08:08:55 -04:00
parent 5f0a3063d1
commit dd0ebe117c
2 changed files with 0 additions and 3 deletions

View File

@ -34,7 +34,6 @@ class Battery : public ALabel {
void worker();
const std::string getAdapterStatus(uint8_t capacity) const;
const std::tuple<uint8_t, std::string> getInfos() const;
// const std::string getState(uint8_t) const;
util::SleeperThread thread_;
util::SleeperThread thread_timer_;

View File

@ -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") {