How to measure current when the battery is not charged