How to measure the current of a lead-acid battery