We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 56cd920 + e5bd5f9 commit 5592704Copy full SHA for 5592704
healthd/BatteryMonitor.cpp
@@ -258,7 +258,7 @@ void BatteryMonitor::updateValues(void) {
258
props.batteryVoltage = getIntField(mHealthdConfig->batteryVoltagePath) / 1000;
259
260
if (!mHealthdConfig->batteryCurrentNowPath.isEmpty())
261
- props.batteryCurrent = getIntField(mHealthdConfig->batteryCurrentNowPath) / 1000;
+ props.batteryCurrent = getIntField(mHealthdConfig->batteryCurrentNowPath);
262
263
if (!mHealthdConfig->batteryFullChargePath.isEmpty())
264
props.batteryFullCharge = getIntField(mHealthdConfig->batteryFullChargePath);
0 commit comments