When answering a related question on physics forum, I found something I seemed to be confused about: Suppose we have a battery connected in series to a capacitor with no charge. A capacitor with no charge on it acts like an open circuit. I know what happens next: the battery charges the capacitor until the potential difference between the battery and capacitor are equal. But I'm confused about what happens inbetween. If the capacitor acts like an open circuit when it has no charge, then how does current from the battery flow in the first place so that it can charge the capacitor?