how to replace battery with capacitor