The inventive charger circuit is used to charge a battery unit (BAT) that provides an electric device with a power supply, using an external charging voltage. The charger circuit is configured in such a way that a charge closed-loop control directs the charging operation and a monitoring unit monitors the voltage applied to the battery unit (BAT). If a surge occurs, the charge closed-loop control restricts the voltage applied to said battery unit (BAT).