Function

IOPMSetAggressiveness

Sets one of the aggressiveness factors in IOKit Power Management.

Declaration

IOReturn IOPMSetAggressiveness(io_connect_t fb, unsigned long type, unsigned long aggressiveness);

Parameters

fb

Representation of the Root Power Domain from IOPMFindPowerManagement.

type

Specifies which aggressiveness factor is being set.

aggressiveness

New value of the aggressiveness factor.

Return Value

Returns kIOReturnSuccess or an error condition if request failed.

See Also

Miscellaneous

IOPMAssertionTypes

Use as AssertionType argument to IOPMAssertionCreate. The idle display will not sleep when enabled, and consequently the system will not idle sleep.

IOPMCopyBatteryInfo

Request raw battery data from the system.

IOPMFindPowerManagement

Finds the Root Power Domain IOService.

IOPMGetAggressiveness

Retrieves the current value of one of the aggressiveness factors in IOKit Power Management.

IOPMSleepEnabled

Tells whether the system supports full sleep, or just doze

IOPMSleepSystem

Request that the system initiate sleep.