Martin
2cad9f2e46
[battery_all] Fixed the battery path and used os to solve for the correct paths
2019-08-30 16:05:20 +02:00
Tobias Witek
86c8dd5219
[modules/battery_all] Remove defunct estimate calculation code
...
A decent fallback implementation would require some kind of differential
measurement to be able to calculate a rate of change.
For now, that is simply more complicated than warranted.
Thanks to @stoeps13 for pointing that out!
2019-04-24 20:09:03 +02:00
Tobias Witek
e0a7ca5b87
[modules/battery_all] Fix remaining time calculation
...
Thanks to @stoeps13 for pointing out a bug in the calculation of the
remaining time for multiple batteries.
see #379
2019-04-23 06:05:36 +02:00
927589452
c29a1e1a8c
Update battery_all.py
...
added battery device for pinebooks
2018-11-26 13:02:46 +01:00
Martin Morlot
876ff7dd76
Fix the remaing time so that it displays the time for all batteries and not just one battery
2018-11-17 21:29:18 +01:00
Tobias Witek
5f8becfb55
[modules/battery_all] Some small code simplifications
...
Make update routine smaller by creating a single, static widget.
2018-11-17 18:32:21 +01:00
Tobias Witek
e4a97eca10
[modules/battery_all] Remove showdevice parameter
...
Showing the device name doesn't add anything for the battery_all module,
as it combines all batteries.
2018-11-17 18:26:19 +01:00
Martin Morlot
1bd85ce8d1
My first commit: the battery all
2018-11-17 16:36:09 +01:00