diff options
| author | Lukasz Kasprzak <lukasz.kasprzak@pm.me> | 2025-12-15 14:51:21 +0100 |
|---|---|---|
| committer | Lukasz Kasprzak <lukasz.kasprzak@pm.me> | 2025-12-15 14:51:21 +0100 |
| commit | a00f92fdb6062af011d98ba8af6ddf0713fa7b3e (patch) | |
| tree | 4624064e541bd3644ad2b14d3aed842cbe20778c /btoff.sh | |
| download | bin-a00f92fdb6062af011d98ba8af6ddf0713fa7b3e.tar.gz bin-a00f92fdb6062af011d98ba8af6ddf0713fa7b3e.zip | |
initial commit
Diffstat (limited to 'btoff.sh')
| -rwxr-xr-x | btoff.sh | 9 |
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 + |
