[modules] Re-enable battery module
Enable battery module with new states: * discharging-[10,25,50,80,100] * charging * charged
This commit is contained in:
parent
18d7e1befb
commit
2cfb0997a0
4 changed files with 20 additions and 23 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue