[modules] Re-enable battery module

Enable battery module with new states:
* discharging-[10,25,50,80,100]
* charging
* charged
This commit is contained in:
Tobias Witek 2016-11-05 13:09:28 +01:00
parent 18d7e1befb
commit 2cfb0997a0
4 changed files with 20 additions and 23 deletions

View file

@ -14,7 +14,6 @@ class Module(bumblebee.module.Module):
def __init__(self, output, config):
super(Module, self).__init__(output, config)
self._perc = psutil.cpu_percent(percpu=False)
self._config = config
# TODO
# output.add_callback(module=self.__module__, button=1,