Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
tdf_battery_state Struct Reference

General battery state. More...

#include <definitions.h>

Data Fields

uint32_t voltage_mv
 Battery voltage (milliVolts)
 
int32_t current_ua
 Battery current (microamps) (Negative = discharging)
 
uint8_t soc
 State of charge (percent)
 

Detailed Description

General battery state.

Field Documentation

◆ current_ua

int32_t tdf_battery_state::current_ua

Battery current (microamps) (Negative = discharging)

◆ soc

uint8_t tdf_battery_state::soc

State of charge (percent)

◆ voltage_mv

uint32_t tdf_battery_state::voltage_mv

Battery voltage (milliVolts)


The documentation for this struct was generated from the following file: