Bluetooth headset get disconnected immediately after connecting

Same issue on the latest CachyOS on the Lenovo Yoga with intel 226v.
modules or kernel does not matter.

This is what helped me:

KDE Connect Bluetooth Interference Fix

Symptom

Intermittent Bluetooth connection issues where devices (especially headphones) constantly connect and disconnect. This behavior often appears randomly after system reboots and is independent of the kernel version.

Probable Cause

A resource conflict occurs between the system Bluetooth manager (BlueZ) and the KDE Connect Bluetooth backend. KDE Connect attempts to hijack the Bluetooth adapter to scan for devices, causing instability in audio streams. Furthermore, a bug in KDE Connect prevents the “Disable Bluetooth” setting from persisting because it incorrectly identifies the backend provider name in the config file.

Solution

Manually force-disable the Bluetooth backend in the KDE Connect configuration by using the correct internal identifier: AsyncLinkProvider.

Step-by-Step Instructions

1. Prepare the Configuration

First, ensure the configuration directory exists and open the file. We will use nano, but you can use any text editor.

Bash

nano ~/.config/kdeconnect/config

2. Edit the [General] Section

Look for the [General] heading.

  • If you don’t see [General]: Add it at the top.

  • If disabled_providers exists: Ensure AsyncLinkProvider is added to the list.

  • If it doesn’t exist: Add the line below the heading.

Your file should look like this:

Plaintext

[General]
disabled_providers=AsyncLinkProvider

(Note: If you have multiple providers to disable, separate them with a semicolon, e.g., ProviderA;AsyncLinkProvider*)*

3. Save and Exit

  • Press Ctrl + O, then Enter to save.

  • Press Ctrl + X to exit.

4. Restart the Service

Apply the changes immediately by restarting the KDE Connect daemon with this command:

Bash

killall kdeconnectd && /usr/lib/libexec/kdeconnectd &

Verification: After running these commands, your Bluetooth headphones should maintain a stable connection without interference from KDE.