charge and discharge losses