nRF Connect SDK API 0.1.0
|
int modem_battery_low_level_handler_set | ( | modem_battery_low_level_handler_t | handler | ) |
#include <include/modem/modem_battery.h>
Function to set an event handler for battery voltage low level notifications.
handler | Event handler. |
0 | If execution was successful. |
-EINVAL | If handler is a NULL pointer. |