The difference between battery and capacitor energy storage