nrf9160

Set command

The set command subscribes unsolicited notifications of battery voltage low level. The command configuration is stored to Non-volatile Memory (NVM) approximately every 48 hours and when the modem is set to minimum functionality mode with the +CFUN=0 command.

Active %XPOFWARN warning blocks the storing to NVM.v1.3.x≥2

Syntax:

%XVBATLVL=<n>

Notification syntax:

%XVBATLOWLVL: <battery_voltage>

The set command parameter and its defined values are the following:

<n>
0 – Unsubscribe unsolicited notifications of battery voltage low level
1 – Subscribe unsolicited notifications of battery voltage low level

The notification parameter and its defined values are the following:

<battery_voltage>
Integer, 3000–5000 mV.
0 – No valid battery voltage available

The following command example subscribes unsolicited notifications of battery voltage low level:

AT%XVBATLVL=1
OK

The following notification example indicates that the battery voltage level is under the currently set battery voltage low level when the level has been set to 3750 mV:

%XVBATLOWLVL: 3700