Christian Göttsche 1e94b92226 Linux: read generic sysfs batteries
Not all batteries entries in /sys/class/power_supply start with either
BAT or AC, but might have device specific names, e.g. CMB1.
Detect the types of those entries and parse them accordingly.

Closes: #881
Fixes: 3e70de64 ("Code clean up for reading battery info")
2021-12-08 20:50:11 +01:00
..
2021-08-25 09:54:30 +02:00
2021-08-25 09:54:30 +02:00
2021-12-07 17:04:49 +11:00
2021-12-08 20:50:11 +01:00
2021-12-07 17:04:49 +11:00
2021-05-10 18:40:53 +02:00
2021-02-07 12:41:52 +01:00