How to solve the problem of lead-acid battery balancing