LiFePO4 battery output protection