|
TB2026-YDS Firmware
|
Snapshot of the gauge's application-facing outputs. More...
#include <fuel_gauge.h>
Data Fields | |
| float | soc_pct |
| RepSOC: reported state of charge, %. | |
| float | voltage_v |
| VCell: cell voltage, V. | |
| float | current_ma |
| Current: + into the cell (charge), - out (discharge), mA. | |
| float | rep_cap_mah |
| RepCap: reported remaining capacity, mAh. | |
| float | tte_s |
| TTE: time to empty, s (only valid while discharging). | |
| float | ttf_s |
| TTF: time to full, s (only valid while charging). | |
| float | age_pct |
| Age: present full capacity vs. design capacity, % (cell health). | |
| float | die_temp_c |
| Temp: IC die temperature (no NTC fitted), degC. | |
| float | cycles |
| Cycles: accumulated full-charge/discharge equivalents. | |
Snapshot of the gauge's application-facing outputs.
Filled in one call by fuel_gauge_read(). All values are already converted to physical units.
| float fuel_gauge_data_t::age_pct |
Age: present full capacity vs. design capacity, % (cell health).
| float fuel_gauge_data_t::current_ma |
Current: + into the cell (charge), - out (discharge), mA.
| float fuel_gauge_data_t::cycles |
Cycles: accumulated full-charge/discharge equivalents.
| float fuel_gauge_data_t::die_temp_c |
Temp: IC die temperature (no NTC fitted), degC.
| float fuel_gauge_data_t::rep_cap_mah |
RepCap: reported remaining capacity, mAh.
| float fuel_gauge_data_t::soc_pct |
RepSOC: reported state of charge, %.
| float fuel_gauge_data_t::tte_s |
TTE: time to empty, s (only valid while discharging).
| float fuel_gauge_data_t::ttf_s |
TTF: time to full, s (only valid while charging).
| float fuel_gauge_data_t::voltage_v |
VCell: cell voltage, V.