Lead-acid battery overvoltage and undervoltage