Loading healthd/BatteryMonitor.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -258,7 +258,7 @@ void BatteryMonitor::updateValues(void) { props.batteryVoltage = getIntField(mHealthdConfig->batteryVoltagePath) / 1000; props.batteryVoltage = getIntField(mHealthdConfig->batteryVoltagePath) / 1000; if (!mHealthdConfig->batteryCurrentNowPath.isEmpty()) if (!mHealthdConfig->batteryCurrentNowPath.isEmpty()) props.batteryCurrent = getIntField(mHealthdConfig->batteryCurrentNowPath) / 1000; props.batteryCurrent = getIntField(mHealthdConfig->batteryCurrentNowPath); if (!mHealthdConfig->batteryFullChargePath.isEmpty()) if (!mHealthdConfig->batteryFullChargePath.isEmpty()) props.batteryFullCharge = getIntField(mHealthdConfig->batteryFullChargePath); props.batteryFullCharge = getIntField(mHealthdConfig->batteryFullChargePath); Loading Loading
healthd/BatteryMonitor.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -258,7 +258,7 @@ void BatteryMonitor::updateValues(void) { props.batteryVoltage = getIntField(mHealthdConfig->batteryVoltagePath) / 1000; props.batteryVoltage = getIntField(mHealthdConfig->batteryVoltagePath) / 1000; if (!mHealthdConfig->batteryCurrentNowPath.isEmpty()) if (!mHealthdConfig->batteryCurrentNowPath.isEmpty()) props.batteryCurrent = getIntField(mHealthdConfig->batteryCurrentNowPath) / 1000; props.batteryCurrent = getIntField(mHealthdConfig->batteryCurrentNowPath); if (!mHealthdConfig->batteryFullChargePath.isEmpty()) if (!mHealthdConfig->batteryFullChargePath.isEmpty()) props.batteryFullCharge = getIntField(mHealthdConfig->batteryFullChargePath); props.batteryFullCharge = getIntField(mHealthdConfig->batteryFullChargePath); Loading