Zephyr Project API  3.3.0
A Scalable Open Source RTOS
fuel_gauge_get_property Struct Reference

#include <fuel_gauge.h>

Data Fields

uint16_t property_type
 
int status
 
union {
   int   avg_current
 
   bool   cutoff
 
   int   current
 
   uint32_t   cycle_count
 
   uint32_t   flags
 
   uint32_t   full_charge_capacity
 
   uint32_t   remaining_capacity
 
   uint32_t   runtime_to_empty
 
   uint32_t   runtime_to_full
 
   uint16_t   sbs_mfr_access_word
 
   uint8_t   state_of_charge
 
   uint16_t   temperature
 
   int   voltage
 
value
 

Field Documentation

◆ avg_current

int fuel_gauge_get_property::avg_current

FUEL_GAUGE_AVG_CURRENT

◆ current

int fuel_gauge_get_property::current

FUEL_GAUGE_CURRENT

◆ cutoff

bool fuel_gauge_get_property::cutoff

FUEL_GAUGE_CUTOFF

◆ cycle_count

uint32_t fuel_gauge_get_property::cycle_count

FUEL_GAUGE_CYCLE_COUNT

◆ flags

uint32_t fuel_gauge_get_property::flags

FUEL_GAUGE_FLAGS

◆ full_charge_capacity

uint32_t fuel_gauge_get_property::full_charge_capacity

FUEL_GAUGE_FULL_CHARGE_CAPACITY

◆ property_type

uint16_t fuel_gauge_get_property::property_type

Battery fuel gauge property to get

◆ remaining_capacity

uint32_t fuel_gauge_get_property::remaining_capacity

FUEL_GAUGE_REMAINING_CAPACITY

◆ runtime_to_empty

uint32_t fuel_gauge_get_property::runtime_to_empty

FUEL_GAUGE_RUNTIME_TO_EMPTY

◆ runtime_to_full

uint32_t fuel_gauge_get_property::runtime_to_full

FUEL_GAUGE_RUNTIME_TO_FULL

◆ sbs_mfr_access_word

uint16_t fuel_gauge_get_property::sbs_mfr_access_word

FUEL_GAUGE_SBS_MFR_ACCESS

◆ state_of_charge

uint8_t fuel_gauge_get_property::state_of_charge

FUEL_GAUGE_STATE_OF_CHARGE

◆ status

int fuel_gauge_get_property::status

Negative error status set by callee e.g. -ENOTSUP for an unsupported property

◆ temperature

uint16_t fuel_gauge_get_property::temperature

FUEL_GAUGE_TEMPERATURE

◆ 

union { ... } fuel_gauge_get_property::value

Property field for getting

◆ voltage

int fuel_gauge_get_property::voltage

FUEL_GAUGE_VOLTAGE


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