Does charging a capacitor consume power