Score:2

Bluetooth keeps turning itself on after startup

rs flag

I have pretty stock Ubuntu 21.10 on my Thinkpad T440p. My issue is bluetooth keeps turning itself on after startup/reboot.

I've tried configuring TLP to disable bluetooth at startup, and to restore the state of bluetooth across reboots. Neither has any affect. I also tried setting AutoEnable=false in /etc/bluetooth/main.conf which also didn't do anything.

How do I make bluetooth restore to its previous state across reboots?

in flag
Do you want to disable Bluetooth entirely, or do you still need the option to enable it from time to time for specific uses?
TheJooomes avatar
rs flag
I'd still like to use it and enable/disable it from the GUI like normal. @matigo
Score:1
in flag

There is a relatively obscure setting in the Blueman applet that will re-enable the Bluetooth radio when the system is powered on, be it due to a boot or a wake from sleep. You can change this in the Terminal like so:

gsettings set org.blueman.plugins.powermanager auto-power-on false

This should allow you to accomplish the goal of disabling Bluetooth and having the state persist across states.

Score:0
ar flag

Automatically DISABLING Bluetooth at Startup

Open the application called Startup Applications.

Next, click the "Add" button.

enter image description here

You can name it whatever you'd like. In the "command" field, add the following:

rfkill block bluetooth

All this command does is turn bluetooth off. It doesn't kill any services or programs, except for turning bluetooth off. It is the same thing as turning it off via GUI. (In case you're wondering, running rfkill unblock bluetooth turns it back on.)

So after you type that in the Command field, press the Add button, and make sure the check box next to the new startup application is checked.

Now, when you boot your comptuer, it should be off at startup.

TheJooomes avatar
rs flag
rfkill seems to work great. I do keep bluetooth off more time than actually using it so this is a decent solution. Thank you. However, if possible, I'd still like it to restore to the previous state.
AlexFullinator avatar
ar flag
@TheJooomes thanks. I'm currently finding a way to restore it to the previous state. I will edit my answer in a few days when I've completed
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.