aboutsummaryrefslogtreecommitdiff
path: root/bt-off
diff options
context:
space:
mode:
Diffstat (limited to 'bt-off')
-rwxr-xr-xbt-off9
1 files changed, 9 insertions, 0 deletions
diff --git a/bt-off b/bt-off
new file mode 100755
index 0000000..77bd9aa
--- /dev/null
+++ b/bt-off
@@ -0,0 +1,9 @@
+#!/bin/sh
+MAC="BC:87:FA:A1:15:33"
+
+# Disconnect the device
+bluetoothctl disconnect "$MAC"
+
+# Optionally power off bluetooth when not needed
+bluetoothctl power off
+