Capacitor operation detection