I've designed the bq25895 into an offline battery charger. The battery is removable.
I guess this is not the intended application for this IC, but I chose it because I like the charge voltage flexibility (4.35V) and high integration.
I have no need for the boost function or SYS voltage regulation. Just a stand-alone battery charger.
I have a MCU controlling/monitoring it over i2c. The MCU main function is to drive status LEDs to indicate the charging status.
I can tell when the battery is fast charging, but I need the LEDs to turn off when there is no battery present.
It seems that the status indicated by the IC is the same with a fully charged battery present vs. no battery present.
What would be a reliable method to detect the presence of the battery over the i2c interface?