Merge pull request #335 from 927589452/master

added new battery type
This commit is contained in:
tobi-wan-kenobi 2018-11-26 18:16:01 +01:00 committed by GitHub
commit fb70d37477
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 # 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))