Getting Stand-by and Hibernate Time
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
There is a setting in the control panel -> Power Options-> Power schemes tab, for setting Stanby and Hibernate time. i.e. after what unit of time the system should go into stand-by state and similar combo box is also present for hibernate state. I have tried to use the API GetCurrentPowerPolicies(). In this a structure is filled for POWER_POLICY->MACHINE_POWER_POLICY. In that accoding to MSDN values for stand-by and hibernate should get filled , but it does not. I am getting the time for disk spindown and video time out and also the Poer Scheme, but I am not getting the standy-by and hibernate time. Can anyone of you tell me how to obtain the standby and hibernate time.