# How battery-charger system in mobile phones and laptops works?

It was 5 am in the morning stuck at McD and waiting for the train with my friends. All out of nowhere I asked them this question that I have been thinking about for some time.

How this battery-charger system in mobile phones and laptops work?

What I don't really understand is the ratings thing.

Lets assume that, the charger is 5V, 2 Amp And the phone battery is 1 Amp and (5V)

I know that means the phone is going to be able to take 1 Amp for charging from this 2 Amp rated charger. But

First is the phone battery Voltage 5V? Second how will this battery ONLY takes this 1 Amp, as from ohm's law the current is I=(V-charger - V-battery ) /R Here is an assumption, the phone battery is changing( from some min voltage value when the phone is 0% charged to max voltage value when its fully charged). Consequently the voltage value (V-charger - V-battery ) will chane as well So how will this drawn current be constant while the voltage is changing? Is there any current limiting diode? Any current mirror?

Is this the mechanism of this system works?