How to measure battery current with an ammeter