mirror of https://github.com/M66B/FairEmail.git
Reduce battery usage on connectivity issues
This commit is contained in:
parent
762e4ee6ec
commit
67bf8d56ff
|
@ -109,7 +109,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
|||
static final int DEFAULT_POLL_INTERVAL = 0; // minutes
|
||||
private static final int STILL_THERE_POLL_INTERVAL = 15; // minutes
|
||||
private static final int CONNECT_BACKOFF_START = 8; // seconds
|
||||
private static final int CONNECT_BACKOFF_MAX = 64; // seconds (totally 2 minutes)
|
||||
private static final int CONNECT_BACKOFF_MAX = 32; // seconds (totally ~1 minutes)
|
||||
private static final int CONNECT_BACKOFF_AlARM_START = 15; // minutes
|
||||
private static final int CONNECT_BACKOFF_AlARM_MAX = 60; // minutes
|
||||
private static final long RECONNECT_BACKOFF = 90 * 1000L; // milliseconds
|
||||
|
|
Loading…
Reference in New Issue