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

Commit acc4a120 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Temporary: raise overflow limit, print all wake locks.

Change-Id: I02baa775b8e0659bd9cd4547b8671730f056cb86
parent f52233df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3065,7 +3065,7 @@ public abstract class BatteryStats implements Parcelable {
                            "partial", which, linePrefix);
                    linePrefix = printWakeLock(sb, wl.getWakeTime(WAKE_TYPE_WINDOW), rawRealtime,
                            "window", which, linePrefix);
                    if (!linePrefix.equals(": ")) {
                    if (true || !linePrefix.equals(": ")) {
                        sb.append(" realtime");
                        // Only print out wake locks that were held
                        pw.println(sb.toString());
+1 −1
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ public final class BatteryStatsImpl extends BatteryStats {
    // The maximum number of names wakelocks we will keep track of
    // per uid; once the limit is reached, we batch the remaining wakelocks
    // in to one common name.
    private static final int MAX_WAKELOCKS_PER_UID = 50;
    private static final int MAX_WAKELOCKS_PER_UID = 100;

    private static int sNumSpeedSteps;