Check out the app note below that describes how to implement an analog-to-digital converter (ADC) in the SLG46855V to measure current drawn by a load. The correlating ADC code can be read from the counter data via I2C. This design can be used for various current sensing applications such as ammeters, fault detection systems, and fuel gauges:
Device:
Device Number:
SLG46855