I'm not certain, but I think you need to measure the current doing into the battery.