Hi all, I've got a Pixel and am running Android P. KDEConnect app on android has started behaving oddly and using all the battery. I'm on the testing stream of KDEConnect android (according to PlayStore) What is actually happening is, when my phone is not connected to the laptop the "not connected" notification is appearing. But it looks like every time KDEConnect checks its "refreshing" the notifcation causing my phone to vibrate. This is happening every 30-120 seconds. (Not 100% sure of the exact time frame it does seem to change). So the vibrations alone are a tad annoying. What it looks like is something has changed in how Android P is backgrounding the task and it is now not sleeping and just endlessly polling for my laptop. It was fine on the previous version of Android. I have debug mode enabled on my handset and am happy to help however I can with getting logs/dumps or whaterver. My device is a Google Pixel 128GB edition. My laptop is running a fully updated Arch linux. Please let me know what else you need to help debug/diagnose.
The vibration is something that should be fixed in the latest beta version. The notification itself is a requirement of Android Oreo for things running in the background for longer times. You can hide it though. As for the battery consumption: Do you actually know that the battery is drained or does your phone tell you that?
Upgraded to Android P. Battery started lasting till 11am when removed from charge at 8am. Android P has a different battery stats page. KDEConnect was listed as being active the whole 3 hour period. Uninstalled and battery life went back to full day on a single charge. Reinstalled last night after your update to this ticket. Can confirm the vibrations have stopped. It's 11:56 and my battery again is at 10%. Checked the battery stats and it's reporting KDEConnect as being active the whole time. Have uninstalled again. What logs or other details can I get for you to assist with debug?
Since uninstall, with battery saver forced off battery drain has been <2%. Before uninstall estimated battery time remaining was 15 mins
I've had kdeconnect on my Pixel 3a for a while now and haven't noticed any battery drain issues. Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I've set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!