zephyr/drivers/fuel_gauge
Aaron Massey e294b16a2f fuel_gauge: Add fuel_guage_get_props()
The fuel_gauge_get_prop() function prototype declares a function that
retrieves multiple fuel gauge properties at once. The naming suggests it
ought to fetch a singular property at a time. Moreso, some clients may just
want to fetch properties one at a time and may feel uncomfortable using a
prototype for fetching multiple properties when wanting to fetch them one
at a time.

Modify fuel_gauge_get_prop() to fetch a single property and add
fuel_gauge_get_props() to support fetching multiple properties. Modify
existing tests/drivers/samples.

This is part of #61818 work.

Signed-off-by: Aaron Massey <aaronmassey@google.com>
2023-09-27 12:07:59 +02:00
..
bq27z746 fuel_gauge: Add fuel_guage_get_props() 2023-09-27 12:07:59 +02:00
max17048 fuel_gauge: Add fuel_guage_get_props() 2023-09-27 12:07:59 +02:00
sbs_gauge fuel_gauge: Add fuel_guage_get_props() 2023-09-27 12:07:59 +02:00
CMakeLists.txt drivers: fuelgauge: Add TI BQ27z746 driver 2023-09-13 12:05:04 +02:00
emul_fuel_gauge_syscall_handlers.c emul: Add syscall support for fuel gauge emulators 2023-09-12 17:23:00 +01:00
fuel_gauge_syscall_handlers.c fuel_gauge: Add fuel_guage_get_props() 2023-09-27 12:07:59 +02:00
Kconfig drivers: fuelgauge: Add TI BQ27z746 driver 2023-09-13 12:05:04 +02:00