Abstract:
A device (100) includes detachable main and auxiliary batteries (101, 102) and a circuit (310) for discharging and charging the batteries (101, 102). Discharging is accomplished by an auxiliary switch (420) that connects the auxiliary battery (102) to power the device (100), a detector (422), and a main switch (424) that connects the main battery (101) to power the device (100), without interruption, when the auxiliary battery (102) drops below a predetermined voltage (508) as determined by a detector (422). Charging is performed by switches (440, 442, 446), an internal charger (444), and a controller (306). When both batteries (101, 102) are attached, the controller (306) uses the switches (440, 442, 446) to select and couple charging current generated by the internal charger (444) to the main battery (101). Once charged, the controller (306) switches to charge the auxiliary battery (102).