Xiao BLE Sense Battery Charge Reading

Hello - I am trying to figure out how to read the current battery charge level via the Xiao BLE Sense with a 3.7V Lipo battery connected via JST to the Xiao Expansion Board. However, I am confused by the various discussions around this topic in the past and the apparent lack of a clear solution (suggesting this is not as straightforward as expected). I got closest by following msfujino’s guidance in this thread ( How do I get an info about battery percentage that powering up the Arduino - #5 by kamrynl ) but I am not getting useful data (values fluctuate 3.7 - 4.1V and show the same pattern even when the battery isn’t even plugged in.
Is there a clear solution available? Am I getting the issue because the battery is connected via JST instead of soldered directly on the BLE Sense? If yes, is there a way to read the battery levels when connected via the JST / Expansion Board?
Thanks a lot in advance!

Please take a look at the image in Post #1 at the link below.

The battery voltage connected to the JST connector on the XIAO Expansion Board is not directly connected to the XIAO. Some modifications are required to read the voltage.