Commit graph

6 commits

Author SHA1 Message Date
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