I just searched for this issue myself and came across this post on Reddit. This seems to have corrected my issues I was having with one or both disconnecting.
Reddit Post: https://www.reddit.com/r/airpods/comments/5r2k63/airpods\_shutting\_offdisconnecting\_with\_windows\_10/
Copy/Pasta
I was having issues with my AirPods dropping connection from my Surface Pro 4 if there was no audio playing, which is a fine idea, but the timer was for only like 10 seconds. This was incredibly annoying, so I found a quick fix.
For keeping AirPods connected indefinitely to a Windows 10 device:
- Go to Device Manager
- In the 'devices by type' view, open the Human Interface Devices
- Scroll until you find 2 AirPods entries:
- (Name) AirPods Audio/Video Remote Control HID
- (Name) AirPods Hands-Free Call Control HID
- For each of the devices, right click and choose Properties
- Go to Power Management tab
- Uncheck the 'Allow the computer to turn off this device to save power' box.
- Click OK
There are probably other workarounds, but this is how I did it. Share any other useful info you have below. i.e. Can the device shutoff timer be changed?
Update: It is not indefinite. I think the AirPods decide when to turn off after not being in use, rather than Windows deciding to do it. Either way, it is still a huge improvement IMO.
Update 2: One more update! I think I've got it... you also have to repeat steps 4-6 for both of the "Bluetooth Low Energy GATT compliant HID device" as well. (Jeremy_AG insight, mine was named "Bluetooth HID Device")