Despite its misleading electrical symbol, think of the TL431 as being ... the voltage which a LiFePO4 battery is basically done charging. To see the TL431 in action here, first imagine that ...