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

Commit bf69e727 authored by Makoto Onuki's avatar Makoto Onuki Committed by android-build-merger
Browse files

Merge "Make batterystats less chatty" into oc-dev am: 89d64cbb

am: 1186287a

Change-Id: I4d1b144837979bbcf212d3b647e3b8927c6c33bc
parents 75377cd2 1186287a
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -9819,10 +9819,9 @@ public class BatteryStatsImpl extends BatteryStats {
                    }
                });

        // TODO: STOPSHIP, remove the "true" below after b/34961340 is fixed
        if (DEBUG_ENERGY_CPU || true) {
            Slog.d(TAG, "Reading cpu stats took " + (mClocks.elapsedRealtime() - startTimeMs) +
                    " ms");
        final long elapse = (mClocks.elapsedRealtime() - startTimeMs);
        if (DEBUG_ENERGY_CPU || (elapse >= 100)) {
            Slog.d(TAG, "Reading cpu stats took " + elapse + " ms");
        }

        if (mOnBatteryInternal && numWakelocks > 0) {