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

◆ adp536x_fg_soc()

int adp536x_fg_soc ( uint8_t * percentage)

#include <include/adp536x.h>

Read battery state of charge.

Parameters
[out]percentagePercentage of battery remaining
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.