Contents

InitializePowerManagement

This method is called to initialize power management.

Declaration

virtual void InitializePowerManagement (
 IOService *provider );

Parameters

  • provider:

    The power management provider (i.e. the provider to attach to in the PowerManagement tree). This may be a device that is not in the PM Tree itself, in which case, the IOService plane is traversed towards the root node in an effort to find a node in the PM Tree.

Overview

This method is called to initialize power management. It will call PMinit(), joinPMTree(), and makeUsable(). This method does not call registerPowerDriver(). Subclasses may override this method to change the behavior (such as the number of power states).

See Also

Miscellaneous