How to Disable Bluetooth During Bootup in Ubuntu [Quick Tips]

If you are running Ubuntu on a laptop with a bluetooth adaptor, you will know that the bluetooth is auto-enabled during boot up. This is helpful if you are using Bluetooth devices, such as mouse or keyboard, but if you are looking to conserve your battery, you will want to disable the bluetooth module so it won’t run during boot up.

The bad thing is that there is no option for you to disable the bluetooth module (during bootup) in the System Settings. If you are willing to venture into the command line, here’s the fix:

1. Open a terminal and type:

sudo nano /etc/rc.local

This will open the “rc.local” file. This file doesn’t do anything by default and you should see only a exit 0 code in the file.

2. Add this line before the exit 0 code:

rfkill block bluetooth


3. Press “ctrl + o” to save the file and “ctrl + x” to exit the file.

Restart the computer. Your bluetooth should be disabled after boot up.

That’s it.


Damien Oh started writing tech articles since 2007 and has over 10 years of experience in the tech industry. He is proficient in Windows, Linux, Mac, Android and iOS, and worked as a part time WordPress Developer. He is currently the owner and Editor-in-Chief of Make Tech Easier.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox