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.