Beetle ESP32-C6: How to get the battery power level?

Hello,
I just got the Beetle ESP32-C6, and am a newbie to micro-controllers. The wiki states that 'This development board also supports battery voltage monitoring, enabling actions to be taken when the power level is insufficient to ensure the device's continuous operation.'
I assume that on the internal side, the Beetle will take actions to ensure a clean shut down if the battery power becomes insufficient to avoid a hard shut down. Is the monitoring purely internal, or can the power level be read and output to Serial or over BLE as well?
Thanks.
To obtain battery power on the Beetle ESP32-C6, use the ADC to read the voltage from the battery pin.

It is the first example in the tutorial, the beetle won't take any action itself, you have to program the actions.
wiki.dfrobot.com/SKU_DFR1075_FireBeetle_2_Board_ESP32_C6_Basic_Tutorial
