Capacitor charging process energy