Simple battery charging and battery measurement guide

I stopped following “mbed” because of the high sleep current. I rewrote all my projects “non emed”.

edit
After seeing this thread, I checked the version of mbed BSP for the first time in a while and it was 2.9.2. And the bug seems to be fixed.
XIAO_BLE_Sense(mbed 2.7.2) battery charge and voltage monitor, analogRead(P0_31) does not work - #65 by msfujino