How to completely charge and discharge lead-acid batteries