Check all battery status sysfs files

For some strange reason sysfs alternates between using `charge_` and
`energy_` prefixes for battery charge status files. This commit modifies
the reading logic to use the first appropriate file present.