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

Commit 89d64cbb authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Make batterystats less chatty" into oc-dev

parents 33b49648 3f8e2971
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -9812,10 +9812,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) {