Searched refs:battery_voltage (Results 1 – 1 of 1) sorted by relevance
122 bool GetBatteryVoltageHelper(FastbootDevice* device, int32_t* battery_voltage) { in GetBatteryVoltageHelper() argument133 *battery_voltage = info.legacy.batteryVoltage; in GetBatteryVoltageHelper()145 int32_t battery_voltage = 0; in GetBatterySoCOk() local146 if (!GetBatteryVoltageHelper(device, &battery_voltage)) { in GetBatterySoCOk()160 *message = battery_voltage >= voltage_threshold ? "yes" : "no"; in GetBatterySoCOk()196 int32_t battery_voltage = 0; in GetBatteryVoltage() local197 if (GetBatteryVoltageHelper(device, &battery_voltage)) { in GetBatteryVoltage()198 *message = std::to_string(battery_voltage); in GetBatteryVoltage()