nRF Connect SDK API 2.8.99
|
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.
handler | Event handler. |
0 | If execution was successful. |
-EINVAL | If handler is a NULL pointer. |