Battery voltage %XVBAT

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 Positioning System (GPS) 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.

Note: Longer sleeps, such as Extended Discontinuous Reception (eDRX) and Power Saving Mode (PSM), are modem active time. Therefore, in those cases the %XVBAT value returned is from the time just before entering the sleep or from previous GPS reception during the eDRX/PSM gap.v1.0.xv1.1.xv1.2.xpti_v1.1.x≥1