Edgehog Device SDK ESP32 v0.8.1
ESP32 device SDK for the Edgehog platform
Loading...
Searching...
No Matches
edgehog_battery_status_t Struct Reference

Data Fields

const char * battery_slot
 
double level_percentage
 
double level_absolute_error
 
edgehog_battery_state battery_state
 

Field Documentation

◆ battery_slot

const char* edgehog_battery_status_t::battery_slot

Battery slot name.

◆ battery_state

edgehog_battery_state edgehog_battery_status_t::battery_state

Any value of edgehog_battery_state such as BATTERY_CHARGING.

◆ level_absolute_error

double edgehog_battery_status_t::level_absolute_error

The level measurement absolute error in [0.0-100.0] range.

◆ level_percentage

double edgehog_battery_status_t::level_percentage

Charge level in [0.0%-100.0%] range, such as 89.0%.


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