LiPo battery in Vin

A VIN pad and a VCC pin are connected inside a XIAO, and 5V supplied from PC’s USB port is directly output. Connecting a battery directly here is dangerous because a XIAO does not control charging. There is a possibility that a large charging current will flow, causing the temperature to rise or a battery to be charged above 4.2V.