How to measure the accurate current of the battery