Bug 456308

Summary: Bluetooth applet sometimes doesn't appear in the system tray after rebooting
Product: [Unmaintained] Bluedevil Reporter: popov895 <popov895>
Component: system trayAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: me, nate, nowrep, plasma-bugs-null, popov895
Priority: NOR    
Version First Reported In: 5.25.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description popov895 2022-07-04 08:56:21 UTC
SUMMARY

I have a Thinkpad and I use TLP due to the ability to change the battery thresholds and recalibration. Additionally, I enable the RESTORE_DEVICE_STATE_ON_STARTUP [1] option so that the state of the radio devices remains persistent between reboots. Unfortunately, after enabling this option, the Bluetooth applet sometimes doesn't appear in the system tray immediately after rebooting (as well as the "Enable" button in the Bluetooth KCM). To fix this, I have to enable Bluetooth with `rfkill unblock bluetooth` or `bluetooth on` [2] commands.

[1] https://linrunner.de/tlp/settings/radio.html
[2] https://linrunner.de/tlp/usage/radio.html

SOFTWARE/OS VERSIONS

Operating System: openSUSE Tumbleweed 20220702
KDE Plasma Version: 5.25.2
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5
Kernel Version: 5.18.6-1-default (64-bit)
Graphics Platform: X11
TLP Version: 1.5.0
Comment 1 Nate Graham 2022-07-05 17:53:20 UTC
This sounds like it's a TLP problem. TLP is failing to unblock or un-rfkill it. If the problem goes away when tlp is disabled, this is something that needs to be fixed with TLP or its configuration, not any KDE code.
Comment 2 popov895 2022-07-05 20:18:23 UTC
Yes, it works fine without TLP, but I'm not sure it's a TLP problem. With this option enabled, TLP properly saves/restores the state of the radio devices, but it seems that Bluedevil (or whatever) thinks there are no Bluetooth devices available.
Comment 3 popov895 2022-07-06 09:27:32 UTC
Hmm, this happens to me even if TLP is removed. So it's not TLP problem.
Comment 4 Nate Graham 2022-07-06 15:31:31 UTC
Weird.
Comment 5 popov895 2022-08-18 08:11:16 UTC
Can't reproduce anymore.