Home
last modified time | relevance | path

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

/Zephyr-latest/tests/bsim/bluetooth/samples/battery_service/src/
Dcentral_test.c274 uint8_t charging_fault = (power_state >> 12) & 0x07; in parse_battery_level_status() local
276 if (charging_fault) { in parse_battery_level_status()
278 (charging_fault & BIT(0)) ? "Battery " : "", in parse_battery_level_status()
279 (charging_fault & BIT(1)) ? "External Power Source " : "", in parse_battery_level_status()
280 (charging_fault & BIT(2)) ? "Other " : ""); in parse_battery_level_status()