1. MS 관련 자료
http://msdn.microsoft.com/en-us/library/aa373239(VS.85).aspx
C++
typedef struct _USER_POWER_POLICY {
ULONG Revision;
POWER_ACTION_POLICY IdleAc;
POWER_ACTION_POLICY IdleDc;
ULONG IdleTimeoutAc;
ULONG IdleTimeoutDc;
UCHAR IdleSensitivityAc;
UCHAR IdleSensitivityDc;
UCHAR ThrottlePolicyAc;
UCHAR ThrottlePolicyDc;
SYSTEM_POWER_STATE MaxSleepAc;
SYSTEM_POWER_STATE MaxSleepDc;
ULONG Reserved[2];
ULONG VideoTimeoutAc;
ULONG VideoTimeoutDc;
ULONG SpindownTimeoutAc;
ULONG SpindownTimeoutDc;
BOOLEAN OptimizeForPowerAc;
BOOLEAN OptimizeForPowerDc;
UCHAR FanThrottleToleranceAc;
UCHAR FanThrottleToleranceDc;
UCHAR ForcedThrottleAc;
UCHAR ForcedThrottleDc;
}USER_POWER_POLICY, *PUSER_POWER_POLICY;
Members
- Revision
-
The current structure revision level. Set this value by calling GetCurrentPowerPolicies or ReadPwrScheme before using a USER_POWER_POLICY structure to set power policy.
- IdleAc
-
A POWER_ACTION_POLICY structure that defines the system power action to initiate when the system is running on AC (utility) power and the system idle timer expires.
- IdleDc
-
A POWER_ACTION_POLICY structure that defines the system power action to initiate when the system is running on battery power and the system idle timer expires.
- IdleTimeoutAc
-
The time that the level of system activity must remain below the idle detection threshold before the system idle timer expires when running on AC (utility) power, in seconds.
This member is ignored if the system is performing an automated resume because there is no user present. To temporarily keep the system running while an application is performing a task, use the SetThreadExecutionState function.
- IdleTimeoutDc
-
The time that the level of system activity must remain below the idle detection threshold before the system idle timer expires when running on battery power, in seconds.
This member is ignored if the system is performing an automated resume because there is no user present. To temporarily keep the system running while an application is performing a task, use the SetThreadExecutionState function.
- IdleSensitivityAc
-
The level of system activity that defines the threshold for idle detection when the system is running on AC (utility) power, expressed as a percentage.
- IdleSensitivityDc
-
The level of system activity that defines the threshold for idle detection when the system is running on battery power, expressed as a percentage.
- ThrottlePolicyAc
-
The processor dynamic throttling policy to use when the system is running on AC (utility) power.
- ThrottlePolicyDc
-
The processor dynamic throttling policy to use when the system is running on battery power.
- MaxSleepAc
-
The maximum system sleep state when the system is running on AC (utility) power. This member must be one of the SYSTEM_POWER_STATE enumeration type values.
- MaxSleepDc
-
The maximum system sleep state when the system is running on battery power. This member must be one of the SYSTEM_POWER_STATE enumeration type values.
- Reserved
-
Reserved.
- VideoTimeoutAc
-
The time before the display is turned off when the system is running on AC (utility) power, in seconds.
- VideoTimeoutDc
-
The time before the display is turned off when the system is running on battery power, in seconds.
- SpindownTimeoutAc
-
The time before power to fixed disk drives is turned off when the system is running on AC (utility) power, in seconds.
- SpindownTimeoutDc
-
The time before power to fixed disk drives is turned off when the system is running on battery power, in seconds.
- OptimizeForPowerAc
-
If this member is TRUE, the system will turn on cooling fans and run the processor at full speed when passive cooling is specified and the system is running on AC (utility) power. This causes the operating system to be biased towards using the fan and running the processor at full speed.
- OptimizeForPowerDc
-
If this member is TRUE, the system will turn on cooling fans and run the processor at full speed when passive cooling is specified and the system is running on battery power. This causes the operating system to be biased towards using the fan and running the processor at full speed.
- FanThrottleToleranceAc
-
The lower limit that the processor may be throttled down to prior to turning on system fans in response to a thermal event while the system is operating on AC (utility) power, expressed as a percentage.
- FanThrottleToleranceDc
-
The lower limit that the processor may be throttled down to prior to turning on system fans in response to a thermal event while the system is operating on battery power, expressed as a percentage.
- ForcedThrottleAc
-
The processor throttle level to be imposed by the system while the computer is running on AC (utility) power, expressed as a percentage.
- ForcedThrottleDc
-
The processor throttle level to be imposed by the system while the computer is running on battery power, expressed as a percentage.
2. INTEL 관련 자료
3. Linux 상에서의 구현 내용 및 관련 자료
'이것저것 > My_Work' 카테고리의 다른 글
[Android] - "u-boot" 명령추가 (0) | 2012.02.24 |
---|---|
[ MFC] - 파일 복사와 진행율 보기 (0) | 2010.12.03 |
ATOM CPU Power dissipation (0) | 2009.08.04 |
INTEL CPU 전력관리 (0) | 2009.08.04 |
프로세스 생성 (0) | 2009.05.20 |