A charge control circuit includes: a charge/discharge circuit to charge a capacitor when an input current from an input power supply is smaller than a first current, and discharge the capacitor when the input current is greater than the first current; a discharge circuit to discharge the capacitor when the input current becomes greater than a second current greater than the first current; an error amplifier circuit to amplify an error between a lower voltage between a capacitor charging voltage and a reference voltage corresponding to the maximum output voltage, and a feedback voltage corresponding to the output voltage; and a drive circuit to perform switching of a transistor of a booster circuit, including an inductor and the transistor to increase an inductor current, configured to boost the output voltage by supplying the inductor current to the terminal when the transistor is off, so that the error becomes smaller.