Bug 381252

Summary: KDEConnect - won't reconnect after suspend or reboot
Product: [Applications] kdeconnect Reporter: rh.webadmin
Component: plasmoidAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: aleixpol, petr.m, voncloft
Priority: NOR    
Version First Reported In: 1.1   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description rh.webadmin 2017-06-15 22:16:18 UTC
Operating system: Debian 9 (stable as of 6/17)
Application version: kdeconnect v.1.1
Desktop environment: XFCE 4.12

What works: after turning on the screen of my Android device, kdeconnect on my desktop will connect, and the two will interact and remain connected until I suspend, hibernate, or reboot the computer.

Expected behavior: after suspend, hibernate, or login, kdeconnect will connect to the android phone on its own.

Actual behavior: instead, I must turn on the screen of my phone in order for the desktop application to connect.

Other notes:
Built from source - https://github.com/KDE/kdeconnect-kde
Comment 1 Petr Matula 2017-06-17 20:17:13 UTC
when the screen goes off no more UDP broadcast packets are received until screen goes on
Comment 2 Aleix Pol 2017-07-13 23:30:02 UTC
This is a limitation of Android.

There's an option to make sure android doesn't put applications to sleep. Here's some literature for the curious.
https://developer.android.com/training/scheduling/wakelock.html