The Nordic-proprietary %XVBAT command reads battery voltage.v1.0.xv1.1.xv1.2.xv1.3.xpti_v1.1.x≥1
When the modem is active (either LTE communication or Global Navigation Satellite System (GNSS) receiver), the %XVBAT command returns the latest voltage measured automatically during modem wakeup or reception. The voltage measured during transmission is not reported. During modem inactivity, the modem measures battery voltage when the %XVBAT command is received.