Open smattie opened 5 years ago
Removes the assumption that batteries are found in /sys/class/power_supply/BAT?/ and instead reads from /sys/class/power_supply/*/type
/sys/class/power_supply/BAT?/
/sys/class/power_supply/*/type
Merged here: htop-dev/htop@cdff8ae
Removes the assumption that batteries are found in
/sys/class/power_supply/BAT?/
and instead reads from/sys/class/power_supply/*/type