An opposing view from the VSTS team.
Some initial pattern recognition, followed by an ad-hoc tool.
It’s hidden as a strange sort of system metric.
Tweaking the algorithm.
Maybe you can find it here.
netsh can tell you.
Actually, I don’t really care whether you want one. The decision is foregone.
Reaching the halfway point.
Evil preprocessor tricks.
We try to minimize spurious wake-ups, but eliminating them is probably not worth the effort.