If you have a problem with your bluetooth connectivity on linux. Below is the solution that worked for me. So I have a logitech Triathlon mouse that connects via bluetooth. This is an on-board bluetooth module. The problem started when I updated to version 20.04 of linux. After few seconds of inactivity, the bluetooth seems to sleep or suspend until you move your mouse again. This is very annoying in my case. So I find some solutions on the web, I've tried bunch of them But this one fixed it.
So just run this on your terminal.
```btnum=rfkill list|grep hci0| cut -f 1 -d ':'
rfkill block $btnum