Remove unused and incorrect "capacities" method for batteries
The capacities (aka "Health") value is completely unused, it is neither used internally, nor exported in any way.
It is also somewhat broken, as it only considers batteries present during startup, and ignores any later added batteries.