XIAO BLE Sense battery level and charging status

XIAO BLE already has charge control circuit.

You can measure battery voltage with this.