Skip to content

status/bluetooth: Always show bluetooth menu when bluetooth is available

Back in the day with commit 8ceae3b0 we changed the bluetooth menu entry to only be shown when there are paired bluetooth devices. That was in 2014, these days most people use bluetooth, so it doesn't seem that important anymore to hide the menu entry when bluetooth isn't in use.

So change the bluetooth menu entry to always be visible when there's a bluetooth device that's not hardware-disabled.

A nice side-effect this has is that it fixes an issue where the menu entry always disappears on devices with a separate rfkill device that makes the bluetooth adapter completely disappear in airplane mode. This is also removing the existing paired devices from our list, so on those devices the old trick with had-devices-paired wouldn't work.

Fixes: #1426 (closed)

Edited by Jonas Dreßler

Merge request reports