I have a touchbar macbook pro and a pair of bluetooth headphones (jaybird x3) that allows me to connect to both my laptop and my phone at the same time. When i close my laptop lid, bluetooth seems to remain on, at least in some capacity. This leads to my headphones intermittently telling me "headphones connected" even though I'm listening to them attached to my phone as I walk through my house. I'm fairly certain that this is me drifting in and out of range of the macbook which is connecting automatically even though it's closed and clearly I'm not trying to use it with the headphones. My only recourse seems to be to turn off bluetooth manually before shutting the laptop lid. My question is: Is there any setting in macOS that would allow me to turn bluetooth off when I close the laptop's lid?