Capacitor absorption and discharge