Home
last modified time | relevance | path

Searched refs:is_cutoff (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/drivers/fuel_gauge/sbs_gauge/src/
Dtest_cutoff.c18 bool is_cutoff; in ZTEST_F() local
21 zassert_ok(emul_fuel_gauge_is_battery_cutoff(fixture->sbs_fuel_gauge, &is_cutoff)); in ZTEST_F()
22 zassert_false(is_cutoff); in ZTEST_F()
27 zassert_ok(emul_fuel_gauge_is_battery_cutoff(fixture->sbs_fuel_gauge, &is_cutoff)); in ZTEST_F()
28 zassert_true(is_cutoff); in ZTEST_F()
Dtest_cutoff_disabled.c18 bool is_cutoff; in ZTEST_F() local
21 zassert_ok(emul_fuel_gauge_is_battery_cutoff(fixture->sbs_fuel_gauge, &is_cutoff)); in ZTEST_F()
22 zassert_false(is_cutoff); in ZTEST_F()
27 zassert_ok(emul_fuel_gauge_is_battery_cutoff(fixture->sbs_fuel_gauge, &is_cutoff)); in ZTEST_F()
28 zassert_false(is_cutoff); in ZTEST_F()
/Zephyr-latest/drivers/fuel_gauge/sbs_gauge/
Demul_sbs_gauge.c41 bool is_cutoff; member
90 data->is_cutoff = true; in emul_sbs_gauge_maybe_do_battery_cutoff()
310 *cutoff = data->is_cutoff; in emul_sbs_fuel_gauge_is_battery_cutoff()