XIAO BLE Sense battery level and charging status

The design of the charging module takes into account that users may turn the xiao ble into a smart wearable device that requires lithium battery power supply. As for the detection of battery voltage, the ADC function is involved, and secondary development requires your efforts.