Home
last modified time | relevance | path

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

/bootable/recovery/minadbd/
Dminadbd_services.cpp182 auto battery_info = GetBatteryInfo(); in RescueGetpropHostService() local
183 return std::to_string(battery_info.capacity); in RescueGetpropHostService()
/bootable/recovery/
Drecovery.cpp539 auto battery_info = GetBatteryInfo(); in IsBatteryOk() local
541 battery_info.charging ? BATTERY_WITH_CHARGER_OK_PERCENTAGE : BATTERY_OK_PERCENTAGE; in IsBatteryOk()
542 return battery_info.capacity >= *required_battery_level; in IsBatteryOk()