I recently tested the BQ24060 battery charger with a battery pack that will be connected and removed frequently via a spring pin connector. Everything works great unless I remove the battery pack in such a way that the negative terminal of the battery is disconnected before the positive terminal is. When I do this, the STAT leds indicate fast charge is in progress (even though there is no battery connected anymore) and the PGOOD led turns off, indicating no input power detected or overvoltage (even though the input power hasn't been touched). If I disconnect and reconnect the input power supply or reconnect the battery pack everything goes back to normal. If someone could help elaborate on why this is happening that would be great.
It must have something to do with the fact that the battery absent detection relies heavily on the BAT pin voltage, and if the positive terminal of my battery remains in contact with the BAT pin but the ground is disconnected, the BQ24060 is getting confused. My schematic is nearly identical to the application schematic from the datasheet on page 12 for the BQ24060/64.