The role of dynamic discharge of batteries