Skip to content

Commit 9a8e466

Browse files
DBS06kartben
authored andcommitted
drivers: fuelgauge: Add missing property values
Adds missing property values for battery connect and present state Signed-off-by: Philipp Steiner <philipp.steiner1987@gmail.com>
1 parent ac1dec0 commit 9a8e466

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/zephyr/drivers/fuel_gauge.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,14 @@ union fuel_gauge_prop_val {
130130
int current;
131131
/** FUEL_GAUGE_CYCLE_COUNT */
132132
uint32_t cycle_count;
133+
/** FUEL_GAUGE_CONNECT_STATE */
134+
uint32_t connect_state;
133135
/** FUEL_GAUGE_FLAGS */
134136
uint32_t flags;
135137
/** FUEL_GAUGE_FULL_CHARGE_CAPACITY */
136138
uint32_t full_charge_capacity;
139+
/** FUEL_GAUGE_PRESENT_STATE */
140+
bool present_state;
137141
/** FUEL_GAUGE_REMAINING_CAPACITY */
138142
uint32_t remaining_capacity;
139143
/** FUEL_GAUGE_RUNTIME_TO_EMPTY */

0 commit comments

Comments
 (0)