This application note shows how to use an analog multiplier integrated with a high-side current-sense amplifier to measure battery charge and discharge currents in portable equipment and notebook computers. The circuit presented improves the measurement accuracy by feeding the ADC reference voltage to one of the analog multiplier’s inputs.