Add battery capacity to python API

2 jobs for !264 with batt-capacity in 46 seconds (queued for 4 seconds)
merge request