What sets charge current limit on a light with built-in charging?

This may be old stuff to some, but I'm still climbing this learning curve.

If a light he's built-in USB charging, is the charge current (not voltage), set by the charge control circuit in the light itself, or by the power supply?

Example: If a USB power supply capable of supplying 2A or more is used, will the full current available be applied to the cell being charged? Or, will the charge circuit in the light limit current to what is suitable for the cell?

The current is set by a circuit in the light. This circuit limits the current to the value it’s set to.

The value on the USB power supply is just the maximum current it can deliver. It fully depends on the circuit inside of the light, how much current it “pulls”.

Thanks Schoki. I was hoping it worked that way.