Contents

initialPowerStateForDomainState

Determines which power state a device is in, given the current power domain state.

Declaration

virtual unsigned long initialPowerStateForDomainState (
 IOPMPowerFlagsflags );

Parameters

  • flags:

    Flags that describe the character of "domain power"; they represent the outputPowerCharacter field of a state in the power domain's power state array.

Return Value

A state number.

Overview

Power management calls this method once, when the driver is initializing power management. Subclasses should not need to override this method.

See Also

Miscellaneous