How to calculate the current without wearing the capacitor