BESS undervoltage protection