Deep discharge and over discharge of lead-acid batteries