[SOLVED] bluetooth keyboard + mouse loosing connection

Hi all,
I was having problems with my Bluetooth keyboard and mouse… loosing the connection all the time.
So, after some investigation… error logs and so on… I was able to fix it! :slight_smile:
Never failed again. Posting here the solution in case someone else is having problems.

My hardware specs:

  • Sony Vaio PRO13 laptop
  • Dell Premier Wireless Keyboard and Mouse - KM717

Steps to fix it:
[FONT=courier new]1) edit this file: /etc/default/tlp (more info here: [/FONT]https://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html )
2) search for [FONT=courier new]USB_BLACKLIST_BTUSB
3) uncomment it and set the value to 1 (this means that whatever happens in terms of power management of the laptop, the bluetooth devices won’t be turned off/suspended)
like this:
[/FONT]# Bluetooth devices are excluded from USB autosuspend:

0=do not exclude, 1=exclude.

USB_BLACKLIST_BTUSB=1

  1. reboot the laptop (or should be enough to restart the tlp service: # tlp start )

That’s it! Keyboard and mouse never failed again regardless of the laptop battery level.

FYI, in the most recent releases (15.2, Thunderbird et al.) the file /etc/default/tlp is now /etc/tlp.conf