Abstract: A circuit and method for charging batteries while a power supply also powers a dynamically varying load. All power in excess of that required by the load is used by a power converter to charge the batteries. The circuit advantageously allows the load to change from external power to battery power without switching delays.