When VBUS is off, I can easily shut down the SYS power by setting BATFET_DIS = 1.
When VBUS is on, in my application, sometimes the VBUS is a poor charger or sometimes the VBUS wire resistor is too big, so the VBUS is good and the charge state is "charging", but the charge current is 0 and the battery still supply current to the device. Since the battery volume is decreasing, the battery finally shut down and the device is shut down suddenly and the file system in my device is broken.
So, in that case, I want to shut down the power. But When VBUS is on, the power can not be shut down by setting BATFET_DIS = 1. Is there any way to shut down the SYS power?
Thank you.
Frank