Actually, the situation is quite different that what people are describing here. We do not have charger connected directly to the load (phone) and the battery as shown in @Tonyr1084's diagram. There is active electronics in between which attempt to supply a constant charge current in one phase and a constant voltage in another phase of the charge cycle. The voltage at the battery terminal is controlled to do this. I do not know if the load is directly connected to the battery terminal or not, but if it is, the charger is presumably measuring the current between the battery and ground.
Bob
Bob