2

Since Apple removed the option, is there a way to get it back with the command line? I'd like my headphones not to wake the Mac up every time I put these on my head

I've searched everywhere and could not find any command, so I don't have high hopes. lol

2
  • apple.stackexchange.com/a/437396/202515 does this solution work for you?
    – vykor
    Commented Jun 27, 2022 at 18:48
  • i shall check this out,thanks .it basically turns bt off and on depending on sleep state correct ? won't it drain battery a lot by enabling/disabling bluetooth ?
    – arm 8
    Commented Jun 28, 2022 at 19:35

2 Answers 2

1

You could try this app: https://github.com/odlp/bluesnooze/

There are also some other alternatives.

Installing a program using brew:

If you do not have brew, install it at https://brew.sh/

brew install sleepwatcher blueutil
echo "$(which blueutil) -p 0" > ~/.sleep
echo "$(which blueutil) -p 1" > ~/.wakeup
chmod 755 ~/.sleep ~/.wakeup
brew services restart sleepwatcher

You could also try the command that Explorer posted:

defaults -currentHost write com.apple.Bluetooth RemoteWakeEnabled 0
0

i was actually looking for a way to actually wake up my device from my bluetooth keyboard, and found the following command. for your case, i guess just set it to 0 instead of 1.

defaults -currentHost write com.apple.Bluetooth RemoteWakeEnabled 0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .