fix(battery): Poll thread requires running module

Closes jaagr/lemonbuddy#140
This commit is contained in:
Michael Carlberg 2016-11-02 18:38:12 +01:00
parent 5d00f0bdce
commit f83dbf19b1

View File

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