Hi all,
for quite some time now I have noticed that I sometimes get notifications for push emails up to 10 mins too late. After some debugging, I found the following lines in Aqua mail's debug log:
2019.04.22 21:21:53.766 +0200 [NETWRK.2] Done closing the connections
2019.04.22 21:21:53.766 +0200 [POWER.2] >>>>> Releasing wake lock for MailConnectionManager
2019.04.22 21:21:53.766 +0200 [POWER.2] Released wake lock flag 0x01000000, result 0x00000000
2019.04.22 21:21:53.767 +0200 LockManager Releasing all locks
2019.04.22 21:21:53.767 +0200 LockManager Wake lock is not held
2019.04.22 21:21:53.767 +0200 LockManager WiFi lock is not held
2019.04.22 21:21:53.772 +0200 ImapIdleJobService Scheduled job 1004 for 2019-04-22 21:21:58
2019.04.22 21:31:34.142 +0200 ImapIdleJobService onStartJob: 1004, PersistableBundle[EMPTY_PARCEL]
2019.04.22 21:31:34.142 +0200 [POWER.2] Acquired special flag 0x00000100, result 0x00000100
2019.04.22 21:31:34.142 +0200 LockManager Acquiring the Wake lock
So Aqua mail is setting a timer to trigger in 5 seconds but Android's wake up call comes only after 10 mins. I suppose this could be related to the push email delays I'm seeing..?
Before the log output above Aqua mail had discovered a broken connection and is apparently trying to recover from that. But once the wake lock is put away, Android seems to think it can put Aqua mail to sleep for 10 mins.
Is there any way aqua mail could do whatever it is doing in the log output without releasing the wake lock in future releases?
Btw I'm using a Blackberry Keyone BBB100-2 with Android 8.1.0, kernel 3.18.71-perf-gc924168 .
(And yes, Aqua mail is excluded from battery optimizations.)
Thanks for any help already.
Regards,
J