Contents

powerStateDidChangeTo

Handles notification that the network controller did change power state.

Declaration

virtual IOReturn powerStateDidChangeTo(
 IOPMPowerFlagsflags, 
 unsigned longstateNumber, 
 IOService *policyMaker );

Parameters

  • flags:

    Description of the capability of the controller in the new power state.

  • stateNumber:

    The number of the state in the state array that the controller is switching to.

  • policyMaker:

    The policy maker that manages the controller's power state.

Return Value

Returns the constant 3000000, to indicate a maximum of 3 seconds for the preparation to complete, and an acknowledgement delivered to the policy maker.

Overview

If the controller became usable, then the controller is re-enabled, and the controller's handlers are re-registered.

See Also

Miscellaneous