aboutsummaryrefslogtreecommitdiff
path: root/btoff.sh
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukasz.kasprzak@pm.me>2025-12-15 14:51:21 +0100
committerLukasz Kasprzak <lukasz.kasprzak@pm.me>2025-12-15 14:51:21 +0100
commita00f92fdb6062af011d98ba8af6ddf0713fa7b3e (patch)
tree4624064e541bd3644ad2b14d3aed842cbe20778c /btoff.sh
downloadbin-a00f92fdb6062af011d98ba8af6ddf0713fa7b3e.tar.gz
bin-a00f92fdb6062af011d98ba8af6ddf0713fa7b3e.zip
initial commit
Diffstat (limited to 'btoff.sh')
-rwxr-xr-xbtoff.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/btoff.sh b/btoff.sh
new file mode 100755
index 0000000..77bd9aa
--- /dev/null
+++ b/btoff.sh
@@ -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
+