Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/hid/
Dhid-logitech-hidpp.c1529 u8 battery_level) in hidpp20_unifiedbattery_map_level() argument
1532 battery_level &= hidpp->battery.supported_levels_1004; in hidpp20_unifiedbattery_map_level()
1534 if (battery_level & FLAG_UNIFIED_BATTERY_LEVEL_FULL) in hidpp20_unifiedbattery_map_level()
1536 else if (battery_level & FLAG_UNIFIED_BATTERY_LEVEL_GOOD) in hidpp20_unifiedbattery_map_level()
1538 else if (battery_level & FLAG_UNIFIED_BATTERY_LEVEL_LOW) in hidpp20_unifiedbattery_map_level()
1540 else if (battery_level & FLAG_UNIFIED_BATTERY_LEVEL_CRITICAL) in hidpp20_unifiedbattery_map_level()