| Summary: | Powerdevil bug killing my bluetooth? | ||
|---|---|---|---|
| Product: | [Unmaintained] Powerdevil | Reporter: | Erik Quaeghebeur <bugs.kde.org> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED UNMAINTAINED | ||
| Severity: | major | CC: | hector.acosta, jpetso, kde, nate |
| Priority: | NOR | ||
| Version First Reported In: | 5.20.5 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Erik Quaeghebeur
2021-03-16 11:06:39 UTC
Is this still happening in Plasma 5.27 with a newer kernel? (In reply to Nate Graham from comment #1) > Is this still happening in Plasma 5.27 with a newer kernel? I can confirm this is still happening in plasma 5.27.9 and kernel 6.5.13 I won't say with certainty that the QObject::disconnect logs by org_kde_powerdevil are entirely unrelated to your issue. But what I will say is that PowerDevil does not handle Bluetooth at all. Bluetooth configuration and monitoring is handled by a separate component called BlueDevil, and system logs for that process would not be labeled as org_kde_powerdevil. Actually, sorry, there is one spot in 5.27 (and below) that deals with Bluetooth, which is the "Wireless Power Saving" action. It does not use QObject::disconnect calls, but it does send messages over D-Bus to ask for Bluetooth to be enabled or disabled when the current power state profile changes (between AC power, Battery or Low battery profiles). Could you check your system settings and see if perhaps one of those profiles has a Bluetooth drop-down set to "Turn off"? Ivan Tkachenko recently found and fixed an issue that resulted in two "QObject::disconnect: Unexpected nullptr parameter" log lines, see the merge request at https://invent.kde.org/plasma/powerdevil/-/merge_requests/371. Other than the undesirable logs, there was no bug. There's a good chance that your logs were merely the consequence of your bluetooth device's batteries disappearing, at which point the older powerdevil service would print such log lines. Given that we now have a good explanation for these logs, and (as mentioned earlier) PowerDevil in Plasma 6.0 or above does not interface with Bluetooth devices other than tracking their battery state, and any bug-fixing work will only go towards the 6.x series, I think we should close this bug. If there is still an issue and reason to believe that Plasma/PowerDevil/BlueDevil is indeed the culprit, please report a new bug with description and logs updated to newer versions. |