你可以使用Power Management
Using the Device Power API
https://msdn.microsoft.com/en-us/library/windows/desktop/aa373243(v=vs.85).aspx
Power Management Functions
https://msdn.microsoft.com/en-us/library/windows/desktop/aa373163(v=vs.85).aspx
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.