What does the charge counter in battery indicates? I have used the adb shell dumpsys battery command on my phone. It delivers the following results (posted on the image). Most of the terms, I can understand but not the charge counter. What does it indicate and why does it decrease whenever I connect my phone to the USB cable? What is the significance of charge counter for battery?

I tried googling but cant find the answers.
I checked the Android source and the value shows your remaining battery capacity in microampere-hours.

BATTERY_PROPERTY_CHARGE_COUNTER
Added in API level 21

public static final int BATTERY_PROPERTY_CHARGE_COUNTER

Battery capacity in microampere-hours, as an integer.

Constant Value: 1 (0x00000001) 


Source - Developer.Android.com