Studio XIAO nRF52840 (Sense) battery pins number

You cannot use <ArduinoBLE.h> with your BoardSupportPackege. Use <bluefruit.h> instead.