IOPMPowerSource.h

Overview

Use the links in the table of contents to the left to access the documentation.



Functions

powerSource

Creates a new IOPMPowerSource nub. Must be attached to IORegistry, and registered by provider.

updateStatus

Must be called by physical battery controller when battery state has changed significantly.


powerSource


Creates a new IOPMPowerSource nub. Must be attached to IORegistry, and registered by provider.

static IOPMPowerSource *powerSource(
    void);  


updateStatus


Must be called by physical battery controller when battery state has changed significantly.

virtual void updateStatus(
    void);  
Discussion

The system will not poll this object for battery updates. Rather \ the battery's controller must call updateStatus() every time state changes \ and the settings will be relayed to higher levels of power management. \ The subclassing driver should override this only if the driver needs to add \ new settings to the base class.

 

 

Last Updated: 2009-10-14