Add Linux support via /sys/class/power_supply/
Add Linux support via /sys/class/power_supply/

The application 'upower' is not installed by default on all Linux
distros.

Making use of /sys/class/power_supply is a better option

It won't work on BSD

Goles/Battery,nhhagen/wifi