Measure the capacity of lead-acid batteries by voltage