No bluethooth after wake up form sleep mode

Using Small PC Attoman G7 PT. with newer updated bazzite os, everything works until wake up from the sleep mode. After Wake up, cant enable my Bluetooth at all. IF correctly remember Bluetooth modules, MediaTek MT7925

I tried this command

sudo tee /etc/systemd/system/bazzite-bluetooth-sleep-workaround.service <<EOF
[Unit]
Description=Reset bluetooth controller before sleep
Before=sleep.target
StopWhenUnneeded=yes

[Service]
Type=oneshot
ExecCondition=/usr/bin/systemctl is-enabled bluetooth.service
ExecStart=/usr/bin/systemctl restart bluetooth.service
RemainAfterExit=yes

[Install]
WantedBy=default.target
EOF
systemctl enable --now bazzite-bluetooth-sleep-workaround.service

But still need to restart Bazzite to make Bluetooth again work.

hmm any idea what need to be done in proper way, to have working Bluetooth after waking up from sleep mode ?

1 Like

Not really an answer, but I have been experiencing the same thing for several months with bluefin-dx.

I have noticed churn with the bluez and pipewire family of packages from upstream during the same period. My theory is that they are struggling to get things stabilized.

What has seemed to help me is to make sure I disconnect my bluetooth headset before closing my laptop lid. Of course, I do not always remember to do that.

But even with that extra step about once a month - after disconnecting my headset, connecting to my phone for a call and then attempt to reconnect to my laptop - it just won’t do it. A reboot is necessary to reset whatever is causing the issue (H/W, kernel state, ?).

But the extra disconnect step does help 90% of the time.

FYI