Not sure if this problem is specific to me, but I am using a Realtek Bluetooth 5 Adapter on Zorin OS 16 Core Beta. Bluetooth works perfect after each reboot, but if the computer goes to sleep/close my laptop lid, and then I unlock it, the Bluetooth adapter is not recognized unless I reboot the computer. I am dual booting with Windows 10; I turned off fast boot and secure boot since I heard they can cause problems. Neither changed anything to my knowledge. I also had the same problem on Mint and Ubuntu's latest versions.
Any help for this would be appreciated.
Thought this fixed my problem, but the same problem is still here just now it does not happen if I unlock my laptop quickly(~10sec) after it suspends.
I tried almost everything in the thread you linked. Nothing fixed the issue. Also since I am dual booting I tried doing a full shutdown and a cold boot from Windows. That also did not work.
Honestly I'm thinking that this is actually a new issue now. Probably specific to my hardware.
I have had some driver issues with this Bluetooth adapter in the past with Windows, but reinstalling the driver fixed that. Going to try to manually reinstall the driver from Realtek and see if that fixes anything.
Edit Reinstalling the driver did not fix the problem
One solution at least for me at bottom.
Tried the first fix and still seeing if it fixed the problem will update tomorrow if it did. Not sure if it is important, but during the download of the bluez repository after Hit:19 there was something that was not fetched, and it got a 404 error. Screenshot-from-2021-05-02-02-52-19 — ImgBB. The install appeared to work fine so not sure if this was important.
Also, the second fix at least for me, I had to create bt under /lib/systemd/system-sleep/ since it did not exist, I followed the directions from Laurent under the link you posted Bluetooth doesn't work after resuming from sleep, Ubuntu 18.04 LTS - Ask Ubuntu.
This script definitely seems like it should fix the issue I'll make an edit if it does/doesn't.
I did find a complete separate permanent solution to the problem. I plugged in an extra bluetooth USB adapter I had and the issue was gone. What I said above was tested without the extra adapter.
Thanks, for all the help again
Edit: Problem is still here after both solutions. I think I am going to just use the extra bluetooth adapter I have, it fixes the problem enough for me.
Wow. The bluez focal repo is unsigned.
Apparently its current status is "proposed."
You might remove --purge bluez, then use this .deb package to install by saving the file, then navigating to it and double clicking it to use the installer or install from terminal with
sudo pkg -i *
http://archive.ubuntu.com/ubuntu/pool/main/b/bluez/bluez_5.53-0ubuntu3_amd64.deb