Update battery_all.py
added battery device for pinebooks
This commit is contained in:
parent
7d55bdce6c
commit
c29a1e1a8c
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ class Module(bumblebee.engine.Module):
|
||||||
# TODO: list all batteries
|
# TODO: list all batteries
|
||||||
self._batteries.append("/sys/class/power_supply/BAT0")
|
self._batteries.append("/sys/class/power_supply/BAT0")
|
||||||
self._batteries.append("/sys/class/power_supply/BAT1")
|
self._batteries.append("/sys/class/power_supply/BAT1")
|
||||||
|
self._batteries.append("/sys/class/power_supply/battery")
|
||||||
|
|
||||||
super(Module, self).__init__(engine, config, bumblebee.output.Widget(full_text=self.capacity))
|
super(Module, self).__init__(engine, config, bumblebee.output.Widget(full_text=self.capacity))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue