I have seen that error a few times when the pogo pins weren't making good contact, so perhaps that is the issue. The daemon just reads sysfs files, so you can easily check if you have the same problem when you read them manually.
an easy one to try is '/sys/class/power_supply/battery/capacity'
an easy one to try is '/sys/class/power_supply/battery/capacity'