change naming capacity -> stateOfCharge