Capacitor charging current analysis