Update battery_all.py

added battery device for pinebooks
This commit is contained in:
927589452 2018-11-26 13:02:46 +01:00 committed by GitHub
parent 7d55bdce6c
commit c29a1e1a8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,6 +27,7 @@ class Module(bumblebee.engine.Module):
# TODO: list all batteries
self._batteries.append("/sys/class/power_supply/BAT0")
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))