Commit Graph

7 Commits

Author SHA1 Message Date
Alastair Poole f07aeeb77b FreeBSD: Support multiple batteries.
This was much easier than I had reckoned.

Having the battery_names array is sadly a necessary evil for now.

Use the same logic for all platforms. Tested on FreeBSD.
Needs retesting on Linux, macOS and OpenBSD. The price of
support multiple operating systems!
2019-09-07 22:37:58 +01:00
Alastair Poole 6968d4274e Changes: Stylistic and fix one API call. 2019-09-07 11:37:15 +01:00
Alastair Poole 6ba6c25135 Batteries: Add multiple suppor 2019-09-01 14:54:27 +01:00
Alastair Poole f9dd314951 Fix issues with Linux batteries and leak 2019-08-29 23:55:43 +01:00
Alastair Poole 45b3dcfa87 Refactoring and fixing stuff. 2018-10-02 15:38:06 +01:00
Alastair Poole 08e57b1f95 Add more 2018-06-10 14:09:44 +01:00
Alastair Poole de2818a394 First commit 2018-06-04 11:11:21 +01:00