AvengeMedia / AvengeMedia/dms-plugins

[KDEConnect] Battery status not auto-updating

Open
#76 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
QML
Stars
84
Forks
25
Avg merge
17h 11m
Merged PRs (30d)
1

Description

I previously opened PR #55 to add a timer to automatically refresh the phone's battery status. Commit 829922a8f11949b1c13ae8bd14d7176f9165b6f5 was then merged, which is supposed to automatically update the status when changed, rather than polling. However, that has been very inconsistent for me. Right after a `dms restart` it works fine, but by the next day it no longer keeps in sync with my phone and I have to manually refresh it.

I'm not sure what exactly causes it. For a while I've just used my poller PR anyways, and it has worked correctly, but I'd like to have the more real-time status updates work correctly. Do you have any advice for how I might go about debugging this issue?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing PR #55 and merged commit 829922a8f11949b1c13ae8bd14d7176f9165b6f5, then reproduce the battery-sync failure before and after a dms restart. Trace the KDEConnect update path and identify why updates stop by the next day; done means the phone's battery status remains synchronized without manual refresh.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.