This is a workaround for a platform bug on Xiaomi/Redmi/POCO devices that still checks for the obsolete permission.
We need to have those permissions before doing things like accessing the Bluetooth address. So we force-disable the Bluetooth plugin if the permission is not granted. The UI then forces the permission before allowing to enable the plugin.