From 72226683263327fe22045081b3b9da05b9cd3e27 Mon Sep 17 00:00:00 2001 From: Alexis Date: Fri, 9 Nov 2018 23:02:46 +0100 Subject: [PATCH] refactor: disable battery timer stop on inotify event for now --- src/modules/battery.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/battery.cpp b/src/modules/battery.cpp index 83ebd08..bff4447 100644 --- a/src/modules/battery.cpp +++ b/src/modules/battery.cpp @@ -57,7 +57,8 @@ void waybar::modules::Battery::worker() if (nbytes != sizeof(event)) { return; } - threadTimer_.stop(); + // TODO: don't stop timer for now since there is some bugs :? + // threadTimer_.stop(); dp.emit(); }; }