I use my headphones to connect to my smartphone a lot, but only rarely to connect to my macbook (Mojave). Is there a way to prevent auto-pairing every time I power-up my bluetooth headphones? I've tried a option reported for earlier OSX versions
sudo defaults write /Library/Preferences/com.apple.Bluetooth.plist DontPageAudioDevices 1
but that doesn't solve the issue. I'd very much like to stop manually disconnecting my headphones every time.