XIAO nrf52840 battery voltage not readable on PlatformIO

Hi Noblauch,
Can you please share full code ? for Arduino IDE
Thanks in Advance…