Skip to content

Commit 5592704

Browse files
jacky8hyfGerrit Code Review
authored andcommitted
Merge "BatteryMonitor: report current_now in uA"
2 parents 56cd920 + e5bd5f9 commit 5592704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

healthd/BatteryMonitor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ void BatteryMonitor::updateValues(void) {
258258
props.batteryVoltage = getIntField(mHealthdConfig->batteryVoltagePath) / 1000;
259259

260260
if (!mHealthdConfig->batteryCurrentNowPath.isEmpty())
261-
props.batteryCurrent = getIntField(mHealthdConfig->batteryCurrentNowPath) / 1000;
261+
props.batteryCurrent = getIntField(mHealthdConfig->batteryCurrentNowPath);
262262

263263
if (!mHealthdConfig->batteryFullChargePath.isEmpty())
264264
props.batteryFullCharge = getIntField(mHealthdConfig->batteryFullChargePath);

0 commit comments

Comments
 (0)