Energy storage battery connected to capacitor