https://bugs.kde.org/show_bug.cgi?id=404163

Albert Vaca <albertv...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #2 from Albert Vaca <albertv...@gmail.com> ---
This is an ongoing issue with Android's "doze mode". We don't have a definitive
solution to it yet. I've checked the github thread you link and I see you
nailed it down to the keeplaives not being ackd, thanks for that!

Let me brainstorm some ideas, and let's see we can do:

- Ask the user to disable "battery optimizations" for KDE Connect on first run
of the app (I'm not sure this actually helps, though... can you try it?)
- Allow disconnection to happen, but set up a periodic task so the app
reconnects every X minutes.
- Remove/reduce keepalives, and hope the connection will still be open when the
phone is back from doze. Unfortunately, in Java it's not possible to tweak
keepalive's parameters like we don on the desktop.

Can you try disabling battery optimizations for kdeconnect and see if it makes
any difference? That would be the easiest of the three things.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to