gaspar-ilom e647e20b4a
refactor printing of battery state to confuse less users
only print the battery manufacturer in case there is more than one battery, otherwise omit it

make the code more readable for non-bash developers

extract common functions

Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-02-26 23:42:02 +01:00
..
2023-06-21 13:26:45 -04:00
2024-12-21 13:19:07 -05:00
2024-12-21 13:19:07 -05:00
2023-06-21 13:26:45 -04:00