I would say this is work for the LPC controller. When one cell goes below 2.5V, it could be done in two different ways:
- the LPC should warn the iMX so that a message can be displayed to the user “you have got x minutes to connect a power source, or shutoff, otherwise you might destroy battery number y”
- the LPC could flash a warning along the same lines on the OLED display.
giving the failing battery number would be an interesting indication.
And after z minutes, the LPC would force shutdown.
Any ideas?