Battery charging question

When connected to USB, the battery will be charged up to 4.2V and then stops charging. When the battery voltage drops to 4.03V, charging will automatically resume and the battery will be charged to 4.2V.
When USB is connected, XIAO is powered from USB. When USB is disconnected, XIAO is automatically powered from the battery.

See schematic for details.