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

does this work with the xiao expansion board onboard charging chip or only with the sense module