Ubuntu – Bluetooth mouse constantly disconnects and reconnects

18.04bluetooth

My bluetooth mouse won't stay connected. This happened recently in 16.04, and I subsequently upgraded to 18.04, but the problem persists.

From bluetoothctl you can see everytime I move the mouse it connects, then just disconnects immediately.

$ bluetoothctl
Agent registered
[bluetooth]# list
Controller 18:5E:0F:99:9B:EC brendan-HP-ENVY-m7-Notebook [default]
[bluetooth]# devices
Device 00:00:00:00:51:00 Bluetooth Mouse
Device 68:64:4B:3B:C7:E4 68-64-4B-3B-C7-E4
[CHG] Device 00:00:00:00:51:00 Connected: yes
[CHG] Device 00:00:00:00:51:00 Connected: no
[CHG] Device 00:00:00:00:51:00 Connected: yes
[CHG] Device 00:00:00:00:51:00 Connected: no
[CHG] Device 00:00:00:00:51:00 Connected: yes
[CHG] Device 00:00:00:00:51:00 Connected: no
[CHG] Device 00:00:00:00:51:00 Connected: yes
[CHG] Device 00:00:00:00:51:00 Connected: no

I've followed other threads suggesting to update to the latest bluez5 version, but no dice….

Any help would be appreciated.

Best Answer

I had the same issue on 18.04 with my Microsoft Sculpt Comfort Mouse and tried all the steps mentioned here and elsewhere, but nothing helped. It constantly disconnected & reconnected after sleep or a reboot.

I finally found a solution on reddit:

Set UserspaceHID=true in /etc/bluetooth/input.conf and restart the bluetooth service (or reboot). After that, mouse stayed connected finally.

https://www.reddit.com/r/archlinux/comments/8ywe3q/bluetooth_mouse_cannot_reconnect_after_disconnect/

Related Question