XIAO_BLE_Sense(mbed 2.7.2) battery charge and voltage monitor, analogRead(P0_31) does not work

The pinDefinitions.h patch is not necessary since the variants file will be replaced in v2.9.1.