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 ?