How to clamp the capacitor with smart battery
Batteries have longer charge/discharge rates than capacitors, meaning they take more time to recharge and discharge their stored energy.. The speed of discharging a capacitor is much faster than the speed of discharging a battery. A capacitor can discharge in just a few seconds or less.