From 9f2550f3982664da6c22e2e4cf32da4d937ca5ff Mon Sep 17 00:00:00 2001 From: Zeglius <33781398+Zeglius@users.noreply.github.com> Date: Thu, 1 Aug 2024 22:55:36 +0200 Subject: [PATCH] fix: Prevent bluetooth preventing suspension (#1446) Better fix than pr 1390 addressing both, controllers unable to disconnect on suspension and devices not being able of entering suspension --- .../systemd/system/bluetooth.service.d/prevent_hanging.conf | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 system_files/desktop/shared/usr/lib/systemd/system/bluetooth.service.d/prevent_hanging.conf diff --git a/system_files/desktop/shared/usr/lib/systemd/system/bluetooth.service.d/prevent_hanging.conf b/system_files/desktop/shared/usr/lib/systemd/system/bluetooth.service.d/prevent_hanging.conf new file mode 100644 index 00000000..3d574c93 --- /dev/null +++ b/system_files/desktop/shared/usr/lib/systemd/system/bluetooth.service.d/prevent_hanging.conf @@ -0,0 +1,4 @@ +# Prevent freezing device with bluetooth controllers +[Unit] +Conflicts=sleep.target +Before=sleep.target \ No newline at end of file