A battery converter, which is used to convert battery voltage to an output
voltage to power an integrated circuit in a battery-operated mode, is
placed into a battery-charge mode to charge the battery when external
power source is present to power the integrated circuit and the battery
needs charging.