I have a board as the Tipical Application in datasheet.
Everything works fine but,
I'm trying to sense when a charger is connected (Vin goes high) so I have connected an input pin of my microcontroller to Vin with a pull-down resistor (100k).
I'm noticing a strange behavior, Vin is low when the battery is iserted, Vin goes high when I plug the charger but
when I unplug the charger Vin stay high, (about 0.6V below battery voltage) until the voltage of the battery goes below 3.5ish V.
I've tried pulling current from Vin, and I get it to go to 0V reliably with 25mA of load.
Am I missing something?
Regards,
Gianluca