When does the capacitor current remain constant