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

Commit 65254048 authored by Esteban Talavera's avatar Esteban Talavera
Browse files

Decrease frequency of jobs in middle buckets

Set larger values so that we notice whether this breaks apps
sooner, rather than later. Also hopefully saves more battery :)

Test: Builds
Change-Id: I217e10599c5f61bb3d8af4db5ddb6de647f2f214
parent 5826e469
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -279,8 +279,8 @@ public final class JobSchedulerService extends com.android.server.SystemService
        private static final long DEFAULT_MIN_LINEAR_BACKOFF_TIME = JobInfo.MIN_BACKOFF_MILLIS;
        private static final long DEFAULT_MIN_EXP_BACKOFF_TIME = JobInfo.MIN_BACKOFF_MILLIS;
        private static final long DEFAULT_STANDBY_HEARTBEAT_TIME = 11 * 60 * 1000L;
        private static final int DEFAULT_STANDBY_WORKING_BEATS = 5;  // ~ 1 hour, with 11-min beats
        private static final int DEFAULT_STANDBY_FREQUENT_BEATS = 31; // ~ 6 hours
        private static final int DEFAULT_STANDBY_WORKING_BEATS = 11;  // ~ 2 hours, with 11min beats
        private static final int DEFAULT_STANDBY_FREQUENT_BEATS = 43; // ~ 8 hours
        private static final int DEFAULT_STANDBY_RARE_BEATS = 130; // ~ 24 hours

        /**