Bluetooth wont stay disabled

KDE 5.71.0 Plasma 5.18.6
Qt: 5.12.7
openSUSE Leap 15.2
I disable Bluetooth in system settings and also via the system tray icon and then later on I notice its enabled again, this has happened so many times I decided to ask here and also in the KDE forum before writing a bug in case its something i have missed.

In case of laptop: possibly BIOS setting or hardware button.
Better description of a case is needed.

I guess I wasn’t clear - sorry. I can disable Bluetooth from either system settings or via the tray icon and it DOES disable. But then later when i return to my laptop its enabled again.

Hi,

Maybe check the bluetooth status via

systemctl status bluetooth.service

Install rfkill:

zypper in rfkill

list your devices:

rfkill list all

Block it:

rfkill block DEVICE

You can unblock:

rfkill unblock DEVICE

Mostly, as written, there is a key combi to disable Bluetooth or Wlan on Laptops.

I just disabled the Bluetooth service and that takes care of it

So, after disabling the service, which works, i saw the post on rfkill which I knew about but hadn’t thought of for Bluetooth,
So i just want to add that if you use:

rfkill block DEVICE

DEVICE is actually the device number not the name, the man page says otherwise, but for me only the id number was accepted.

But after some thought i experimented some and found that isn’t necessarily so.

Actually, rfkill lists it like this:

**# **rfkill list all 
0: ideapad_wlan: Wireless LAN 
        Soft blocked: no 
        Hard blocked: no 
1: ideapad_bluetooth: Bluetooth 
        Soft blocked: no 
        Hard blocked: no 
2: phy0: Wireless LAN 
        Soft blocked: no 
        Hard blocked: no

turns out it will accept bluetooth but not Bluetooth so it’s case sensitive and apparently must be all lower case, also it wont accept ideapad_bluetooth

You can also do this:

[FONT=monospace]**# **rfkill -r  
ID TYPE DEVICE SOFT HARD 
0 wlan ideapad_wlan unblocked unblocked 
1 bluetooth ideapad_bluetooth blocked unblocked 
2 wlan phy0 unblocked unblocked[/FONT]

and this too, although i’m not sure what its use case is as its just sitting and waiting

 rfkill event all
2021-10-26 03:44:46,113434-07:00: idx 0 type 1 op 0 soft 0 hard 0
2021-10-26 03:44:46,113485-07:00: idx 1 type 2 op 0 soft 1 hard 0
2021-10-26 03:44:46,113494-07:00: idx 2 type 1 op 0 soft 0 hard 0