Tool/software:
I want my device to allow the battery to run down to a certain voltage, and then shut off. Then, start charging the battery. When the battery voltage exceeds a certain voltage, I want my device to start running. The notion here, is to add hysteresis such that a battery on the edge of usable voltage does not droop as the load comes on, creating a cycle of starts and stops.
It seems to me that some combination of settings in the battery pack should achieve this behavior. The firmware undervoltage logic has a setting where it trips. I think I can setup such that the discharge FET is OFF but the charge FET is ON, which allows me to recharge the battery. Then by setting recovery voltage, it would then turn the discharge FET back on.
For example, set the undervoltage trip voltage at 2.7V, then set the recovery voltage at 3.3V. I think (?) there's a way to make sure the charge FET remains on??? As a last resort protection against a serious problem, use the hardware undervoltage protection to shut off completely if the cell voltage goes below 2.5V.
Is this possible?