Peak current to charge a capacitor