This service is a systemd unit designed to manage Bluetooth functionality during system sleep and wake transitions. Specifically, it disables Bluetooth before the PC enters sleep mode using rfkill
and re-enables it after the PC wakes up.
Some Linux users experience issues with Bluetooth drivers when resuming from sleep, particularly with certain kernel versions. This problem manifests as a black screen, causing the system to hang. For example:
- Kernel 6.11.x has reported bugs causing the system to hang after waking from sleep.
References:
This service provides a workaround by ensuring Bluetooth is cleanly stopped before sleep and restarted after wake.
To install, execute the following command:
sudo sh install.sh
To uninstall, execute the following command:
sudo sh uninstall.sh