nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ modem_battery_pofwarn_handler_set()

int modem_battery_pofwarn_handler_set ( modem_battery_pofwarn_handler_t handler)

#include <include/modem/modem_battery.h>

Function to set an event handler for power-off warnings.

Parameters
handlerEvent handler.
Note
Only supported with modem firmware v1.3.1 and higher.
Return values
0If execution was successful.
-EINVALIf handler is a NULL pointer.