Merge "Fix mismatch between measured energy value for GNSS" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
cfe7c4f19b
@@ -663,7 +663,7 @@ class BatteryExternalStatsWorker implements BatteryStatsImpl.ExternalStatsSync {
|
|||||||
|
|
||||||
final long gnssChargeUC = measuredEnergyDeltas.gnssChargeUC;
|
final long gnssChargeUC = measuredEnergyDeltas.gnssChargeUC;
|
||||||
if (gnssChargeUC != MeasuredEnergySnapshot.UNAVAILABLE) {
|
if (gnssChargeUC != MeasuredEnergySnapshot.UNAVAILABLE) {
|
||||||
mStats.updateGnssMeasuredEnergyStatsLocked(displayChargeUC, elapsedRealtime);
|
mStats.updateGnssMeasuredEnergyStatsLocked(gnssChargeUC, elapsedRealtime);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Inform mStats about each applicable custom energy bucket.
|
// Inform mStats about each applicable custom energy bucket.
|
||||||
|
|||||||
Reference in New Issue
Block a user