Phase law analysis of lead-acid batteries