The battery plugin reads info from /proc/acpi, which is deprecated behavior. This patch adds support for reading from /sys, which is the suggested behavior.
updated patch to check for both energy_now/full and charge_now/full files, as the most recent kernels seem to use the energy file, but older use charge
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sysfs battery plugin patch
updated patch to check for both energy_now/full and charge_now/full files, as the most recent kernels seem to use the energy file, but older use charge