Relationship between energy storage battery capacity and energy