Monday, March 27, 2017

windows 8.1 - How do I prevent my bluetooth headphones from waking my computer from standby?

I have a pair of Bluetooth 4.0 headphones which are paired with both my laptop and my desktop. As soon as I power on the headphones, they will wake any paired device from standby. So if I have my desktop in standby and I want to use the headphones with my laptop, they will wake my desktop from sleep and reconnect to it.


I would like to be able to disable this functionality. If I view the power settings on the Bluetooth module in Device Manager, the option to "Allow this device to wake the computer" is grayed out. This is probably because the Bluetooth adapter in my desktop is powered by USB, and, per Microsoft's implementation of the Bluetooth protocol, the USB root hub and controller handles the power states for connected devices.


However, if I open up the root hub to which the bluetooth module is connected, the option to "Allow this device to wake the computer" is also grayed out. I don't want to disable it here, anyway, since my keyboard is also connected to the same hub and I want to be able to wake my computer from standby with my keyboard.


Using the PowerCFG -lastwake command in a command prompt only tells me that the device that woke the computer was the USB Root Hub (as it should be, per Microsoft's implementation of the Bluetooth protocol). Right now, when I put my computer to sleep, the Bluetooth adapter enters a D2 sleep state. Is there a way to force it into a D3 (off) state when I put my computer in standby? Or a hack in the registry or somewhere that will disable the wake from standby functionality for the Bluetooth adapter?


How do I prevent my computer from waking from standby whenever I power on my Bluetooth headphones?


:Edit:


powercfg -devicequery wake_programmable
HID Keyboard Device
HID-compliant consumer control device (001)
HID Keyboard Device (001)
HID-compliant system controller (001)
HID-compliant consumer control device (004)
HID-compliant system controller (003)
HID-compliant consumer control device (005)
Qualcomm Atheros AR8151 PCI-E Gigabit Ethernet Controller (NDIS 6.30)
HID-compliant vendor-defined device (006)
HID-compliant vendor-defined device (008)
HID-compliant vendor-defined device (009)
HID-compliant vendor-defined device (010)
HID-compliant mouse (001)
powercfg -devicequery wake_armed
HID Keyboard Device
HID Keyboard Device (001)
HID-compliant mouse (001)

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...