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

Commit 6b849509 authored by Jeremy Klein's avatar Jeremy Klein
Browse files

Revert LOW_POWER ble scan interval to 512/5120ms.

Changing the LOW_POWER scan interval back to the settings from O
and earlier. An experiment is being run in parallel to determine
battery impact of various parameter configurations.

Bug: 62491228
Test: Manual. Just changing a parameter here.
Change-Id: I4cf3715868434e063f87bc5f3800a1ddeb7d4ce6
parent 35547a18
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -468,8 +468,8 @@ public class ScanManager {
        /**
         * Scan params corresponding to regular scan setting
         */
        private static final int SCAN_MODE_LOW_POWER_WINDOW_MS = 1024;
        private static final int SCAN_MODE_LOW_POWER_INTERVAL_MS = 10240;
        private static final int SCAN_MODE_LOW_POWER_WINDOW_MS = 512;
        private static final int SCAN_MODE_LOW_POWER_INTERVAL_MS = 5120;
        private static final int SCAN_MODE_BALANCED_WINDOW_MS = 1024;
        private static final int SCAN_MODE_BALANCED_INTERVAL_MS = 4096;
        private static final int SCAN_MODE_LOW_LATENCY_WINDOW_MS = 4096;