Home
last modified time | relevance | path

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

/system/core/fastboot/device/
Dvariables.cpp122 bool GetBatteryVoltageHelper(FastbootDevice* device, int32_t* battery_voltage) { in GetBatteryVoltageHelper() argument
133 *battery_voltage = info.legacy.batteryVoltage; in GetBatteryVoltageHelper()
145 int32_t battery_voltage = 0; in GetBatterySoCOk() local
146 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() local
197 if (GetBatteryVoltageHelper(device, &battery_voltage)) { in GetBatteryVoltage()
198 *message = std::to_string(battery_voltage); in GetBatteryVoltage()