Xiao ble sense power off

According to the schematic, BAT_CHARGE_STATE consumes a large current as it drives the green LED. It should be set to an input pin and pulled up. Please refer to SleepCurrent_VbatEnable.zip attached to the link.

pinMode(CHG, INPUT_PULLUP); // sleep current increases significantly without pull-up

1 Like