PINE64
How to turn Bluetooth radio off by default - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: How to turn Bluetooth radio off by default (/showthread.php?tid=9020)



How to turn Bluetooth radio off by default - SageFox - 02-05-2020

Hello I was wondering how the Bluetooth radio can be configured so it is off by default every time the system starts up? Thanks.


RE: How to turn Bluetooth radio off by default - Arwen - 02-05-2020

Are you looking to prevent Bluetooth access on boot?
Or reducing power usage?

The Bluetooth part of the WiFi chip uses a separate interface from WiFI. That can be software disabled to prevent access. However, you would need to send the Bluetooth chip a command to disable the radio.

Whence it's figured out, (both radio off and disabling access), we need it on the Wiki.


RE: How to turn Bluetooth radio off by default - slyecho - 02-05-2020

I think the command is something like:

Code:
rfkill block bluetooth

would have to put it in some startup script.

EDIT:

For systemd it's actually really easy, just enable the rfkill-block service:

Code:
sudo systemctl enable rfkill-block@bluetooth



RE: How to turn Bluetooth radio off by default - SageFox - 02-20-2020

Cool Thanks. Still fairly new to linux, so some features I just sort of expect in a distro, especially when it comes to radio connectivity stuff by default.

If it can be set to off by default, after clicking the bluetooth icon, it would make sense since this would save some power, eliminate unwanted connections or automatic pairing that is undesired, reduce EMF (yes I am sensitive to it), and so on.


Thanks for the help.


RE: How to turn Bluetooth radio off by default - Thovthe - 02-21-2020

(02-05-2020, 09:42 AM)slyecho Wrote: EDIT:

For systemd it's actually really easy, just enable the rfkill-block service:

Code:
sudo systemctl enable rfkill-block@bluetooth

This doesn't seem to work on Manjaro.


RE: How to turn Bluetooth radio off by default - slyecho - 02-24-2020

Well, I tried and yes, it seems to be activated on boot. If you deactivate the bluetooth service: 
Code:
sudo systemctl disable bluetooth

Then it seems to stay off, however you need to start the service manually then, too.
I, myself just keep it on all the time, I haven't really needed to squeeze the most from the battery because it is already very impressive on its own.


RE: How to turn Bluetooth radio off by default - Thovthe - 02-29-2020

The problem on Manjaro is that Blueman turns the radio on by default.

Here is how you disable this behavior:
right click on the bluetooth panel icon > select 'plugins' > PowerManager > configuration > unselect the auto power on option

Should work on any distro that uses blueman and turns radio on by default.