From c29a1e1a8c16c22d477e3c1468f4d6692e907f5b Mon Sep 17 00:00:00 2001 From: 927589452 <927589452@users.noreply.github.com> Date: Mon, 26 Nov 2018 13:02:46 +0100 Subject: [PATCH] Update battery_all.py added battery device for pinebooks --- bumblebee/modules/battery_all.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bumblebee/modules/battery_all.py b/bumblebee/modules/battery_all.py index 3fb8b4b..633e0d6 100644 --- a/bumblebee/modules/battery_all.py +++ b/bumblebee/modules/battery_all.py @@ -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))