Searched refs:battery_info (Results 1 – 2 of 2) sorted by relevance
182 auto battery_info = GetBatteryInfo(); in RescueGetpropHostService() local183 return std::to_string(battery_info.capacity); in RescueGetpropHostService()
539 auto battery_info = GetBatteryInfo(); in IsBatteryOk() local541 battery_info.charging ? BATTERY_WITH_CHARGER_OK_PERCENTAGE : BATTERY_OK_PERCENTAGE; in IsBatteryOk()542 return battery_info.capacity >= *required_battery_level; in IsBatteryOk()