Power Manager Reference
PDF
Overview
Functions by Task
Controlling the Idle State
Controlling and Reading the Wakeup Timer
Controlling the Sleep Queue
Controlling Serial Power
Reading the Status of the Internal Modem
Reading the Status of the Battery and of the Battery Charger
Miscellaneous
Functions
BatteryCount
CurrentProcessorSpeed
DisposeHDSpindownUPP
DisposePMgrStateChangeUPP
DisposeSleepQUPP
GetCPUSpeed
InvokeHDSpindownUPP
InvokePMgrStateChangeUPP
InvokeSleepQUPP
MaximumProcessorSpeed
MinimumProcessorSpeed
NewHDSpindownUPP
NewPMgrStateChangeUPP
NewSleepQUPP
SleepQInstall
SleepQRemove
UpdateSystemActivity
Callbacks
HDSpindownProcPtr
PMgrStateChangeProcPtr
PowerHandlerProcPtr
SleepQProcPtr
Data Types
ActivityInfo
BatteryByte
BatteryInfo
BatteryTimeRec
DevicePowerInfo
HDQueueElement
HDSpindownUPP
ModemByte
PMgrQueueElement
PMgrStateChangeUPP
PMResultCode
PowerLevel
PowerSourceID
PowerSourceParamBlock
PowerSourceParamBlockPtr
PowerSummary
SleepQRec
SleepQRecPtr
SleepQUPP
SoundMixerByte
StartupTime
WakeupTime
Constants
Apple Event Types and Errors
BatteryByte Bits
BatteryByte Masks
BatteryInfo Bits
Client Notification Bits
Client Notification Masks
DevicePowerInfo Flags
HDPwrQType Constants
HDQueueElement Flags
kMediaPowerCSCode Constants
kUseDefaultMinimumWakeTime Constants
Modem State Bits
ModemByte Bits
ModemByte Masks
Net Activity Wake Options
PCI Bus PMIS Power Levels
Power Capacity Types
Power Handler Wake Results
Power Manager Features Bits
Power Source Attribute Bits
Power Source Capacity Usage Types
Power Source State Bits
Power Source Version
Power Summary Flags
Sleep Commands
sleepQFlags Bits
sleepQProc Commands
SoundMixerByte Bits
SoundMixerByte Masks
Storage Media Sleep Modes
System Activity Selectors
Result Codes
Appendix A: Deprecated Power Manager Functions
Deprecated in Mac OS X v10.0
AOff
AOn
AOnIgnoreModem
AutoSleepControl
BatteryStatus
BOff
BOn
DelaySystemIdle
DimmingControl
DisableIdle
DisableWUTime
EnableIdle
EnableProcessorCycling
GetBatteryTimes
GetBatteryVoltage
GetDimmingTimeout
GetDimSuspendState
GetHardDiskTimeout
GetIntModemInfo
GetLastActivity
GetScaledBatteryInfo
GetSCSIDiskModeAddress
GetSleepTimeout
GetSoundMixerState
GetStartupTimer
GetWakeupTimer
GetWUTime
HardDiskPowered
HardDiskQInstall
HardDiskQRemove
IdleUpdate
IsAutoSlpControlDisabled
IsDimmingControlDisabled
IsProcessorCyclingEnabled
IsSpindownDisabled
ModemStatus
PMgrStateQInstall
PMgrStateQRemove
SetDimmingTimeout
SetDimSuspendState
SetHardDiskTimeout
SetIntModemState
SetSCSIDiskModeAddress
SetSleepTimeout
SetSoundMixerState
SetStartupTimer
SetWakeupTimer
SetWUTime
SpinDownHardDisk
Deprecated in Mac OS X v10.5
FullProcessorSpeed
PMFeatures
PMSelectorCount
SetProcessorSpeed
SetSpindownDisable
Revision History
Index