"'casimero' via K-9 Mail" <
k-9-...@googlegroups.com> writes:
> Is the push (imap idle) process so difficult or it is a low priority for
> the development team?
I'm not the one doing the work, but a brief comment to hopefully offload
cketti:
On many phones, particularly older android, push works fine. The basic
issue is that K-9 needs to continue running and to continue to have a
TCP connection open to the server, so that when the server sends data
K-9 receives it and processes it.
Problems arise on some phones and newer android which has more
aggressive battery saving, requiring apps to jump through more hoops to
be allowed to operate and not be put to sleep.
I see the situation as unfortunate as these extreme measures basically
exist to defend phones from misbehaving apps, and well-behaved apps --
that you the user actually want to use your battery for -- are harmed as
a byproduct. (The more cynical may think it's all a plot to push people
into proprietary push wakeup services to facilitate tracking.)
You may want to read the bug tracker for more information:
https://github.com/k9mail/k-9/issues/857
https://github.com/k9mail/k-9/issues/4258
Not what you asked, but I am using Conversations, an xmpp app, to send
myself timely notifications (temp out of range, power failure, sorts of
things). You might find that sending the notifications you really care
about over xmpp instead, or also for redundancy, is a reasonable
solution to your overall goals.