I have to disconnect and connect my bluetooth earbuds after sleep/closing lid (when I change classes ). Why is that and how can I change this behaviour? I use Kubuntu 20.04.4 on a HP Envy 17CE1000n. Earbuds are recognized as J97 (mark and model I don't know, got them as a gift without a box).
This is normal: the idea is ... when you suspend you do not use your machine and everything that needs power needs to either stop receiving it or receive an absolute minimum. Basically it is only watching for a "wake on" event: wake-on-keyboard, wake-on-lan.
If you install "Tweaks" you get a couple more options.
- General -> Suspend when laptop lid is closed -> off
- Startup applications -> ignore-lid-switch-tweak. This is a script added to the system by "Tweaks".
and wifi, bluetook will stay active on lid close. You do stop using suspend on lid close and this will drain more power then the default. If you want to use suspend you can still issue it from command line.