Added total voltages to battery and pack classes