How to measure the battery input current