Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30394c2c authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix voice call power attribution calculation" into main

parents 6716cc2e 69b70441
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2131,13 +2131,13 @@ public class BatteryStatsImpl extends BatteryStats {
        @Override
        public LongSupplier getCallDurationSupplier() {
            return () -> mPhoneOnTimer.getTotalTimeLocked(mClock.elapsedRealtime() * 1000,
                    STATS_SINCE_CHARGED);
                    STATS_SINCE_CHARGED) / 1000;
        }
        @Override
        public LongSupplier getPhoneSignalScanDurationSupplier() {
            return () -> mPhoneSignalScanningTimer.getTotalTimeLocked(
                    mClock.elapsedRealtime() * 1000, STATS_SINCE_CHARGED);
                    mClock.elapsedRealtime() * 1000, STATS_SINCE_CHARGED) / 1000;
        }
    }