Use these commands to turn off BLE on the UE BOOM 2 speaker. The main reason for doing this is to avoid the battery drain when BLE is always on (even when turning off the device with the power button). This was added as "feature" to make it possible to turn on the speaker, but I want better battery life instead. I have used Fedora 39.
First pair the UE BOOM 2 speaker with the laptop and connect to it. Make sure to replace 88:C6:26:xx:xx:xx with the MAC address of your UE BOOM speaker. This can be found in Bluetooth settings in Fedora.
Note: uninstall the Android or iOS UE Boom App since it will enable BLE again!
Commands:
sudo rfcomm bind 0 88:C6:26:xx:xx:xx 1