Merge pull request #1 from 927589452/927589452-patch-add-new-battery

Update battery_all.py
This commit is contained in:
927589452 2018-11-26 13:04:58 +01:00 committed by GitHub
commit ea646b9d14
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))