The function and characteristics of lead-acid batteries