nRF Connect SDK API 2.8.99
|
int adp536x_fg_set_mode | ( | enum adp536x_fg_enabled | en, |
enum adp536x_fg_mode | mode ) |
#include <include/adp536x.h>
Set Fuel Gauge operating mode.
[in] | en | Enable or disable the fuel gauge. |
[in] | mode | Active or sleep mode. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |