XIAO BLE Sense battery level and charging status

Hi, your code was high useful! I only have 2 questions.

  1. You use pin 22 to set battery charge speed to 100mA… some other people said that the pin is PIN_13, so I got confused (I’m new programing microcontrollers).
  2. About the battery, which voltage indicates full charged battery and which an empty battery? I’m using Lipo 503440 1000 mAh. I dont want to make a mess :slight_smile: