It happens that you hardly use Bluetooth on your Ubuntu system. So it is not a good idea to keep it enabled by default. When Bluetooth is always enabled, it may influence on the battery life or prone to attacks.
Those who are running Ubuntu on their laptop with a Bluetooth adaptor will know that the Bluetooth function is auto-enabled during boot up. It is helpful if you have connected Bluetooth devices like a keyboard or mouse. However, if you want to conserve the battery, it is necessary to disable the Bluetooth module. This makes sure the Bluetooth does not get enabled every time during boot up.
Disable Bluetooth on Startup on Ubuntu
Though you can turn off Bluetooth in a single click in Ubuntu, performing it in every session is a tedious task. Moreover, there is no option available to disable the Bluetooth module in the System Settings, during bootup.
Follow the below methods to Disable or Fix the Feature:
Type the following command in the terminal:
sudo systemctl disable Bluetooth.service
The alternate method is as below:
- Step-1: Open a terminal and type:
sudo nano /etc/rc.local
The “rc.local” file opens up. In this file, nothing happens by default, and you would only see an exit 0 code in the data.
- Step-2: Now add the following line before the exit 0 code:
rfkill block bluetooth
- Step-3: In this step, press “Ctrl + O” to save the file and “Ctrl + X” to exit that file.
- Step-4: Restart the system, and Bluetooth must be disabled after boot up.
The procedure discussed above helps you to disable Bluetooth on boot up in Ubuntu. Doing this conserves the battery life and removes the hassles of manually turning off every time during boot up. However, if you need to connect your Bluetooth devices frequently, then there is no need to disable the Bluetooth.