summaryrefslogtreecommitdiff
path: root/src/main.conf
diff options
context:
space:
mode:
authorAbhishek Pandit-Subedi <abhishekpandit@chromium.org>2020-09-11 15:30:37 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-09-14 13:25:37 -0700
commit6611b72600c370ec31795ab48a222594c4afb7ee (patch)
tree2eedfaa697f8f127c25111bb17ff43b98ba72c34 /src/main.conf
parent20275c5a9b22c321853199d85c2b14b06befd0f6 (diff)
downloadbluez-6611b72600c370ec31795ab48a222594c4afb7ee.tar.gz
policy: Reconnect audio on controller resume
During system suspend, all peer devices are disconnected. On resume, HID devices will reconnect but audio devices stay disconnected. As a quality of life improvement, mark audio devices that were disconnected due to suspend and attempt to reconnect them when the controller resumes (after a delay for better co-existence with Wi-Fi).
Diffstat (limited to 'src/main.conf')
-rw-r--r--src/main.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main.conf b/src/main.conf
index e1d77cc47..8d85702d4 100644
--- a/src/main.conf
+++ b/src/main.conf
@@ -202,3 +202,11 @@
# This includes adapters present on start as well as adapters that are plugged
# in later on. Defaults to 'false'.
#AutoEnable=false
+
+# Audio devices that were disconnected due to suspend will be reconnected on
+# resume. ResumeDelay determines the delay between when the controller
+# resumes from suspend and a connection attempt is made. A longer delay is
+# better for better co-existence with Wi-Fi.
+# The value is in seconds.
+# Default: 2
+#ResumeDelay = 2