From f83dbf19b1b162ad5fd0e491d20d7a6cea5812e5 Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Wed, 2 Nov 2016 18:38:12 +0100 Subject: [PATCH] fix(battery): Poll thread requires running module Closes jaagr/lemonbuddy#140 --- include/modules/battery.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/modules/battery.hpp b/include/modules/battery.hpp index 47a534d8..8f8408f3 100644 --- a/include/modules/battery.hpp +++ b/include/modules/battery.hpp @@ -79,8 +79,8 @@ namespace modules { } void start() { - m_threads.emplace_back(thread(&battery_module::subthread, this)); inotify_module::start(); + m_threads.emplace_back(thread(&battery_module::subthread, this)); } void teardown() {