int set_power_state (u_short what, u_short state);
Request an APM change of state for one or more system devices. The processor state must be transitioned last of all. what holds the class of device in the upper byte and the device number (0xFF for all) for the object to be transitioned.
The state holds the state to transition to, which may in fact be an acceptance of a BIOS requested state change.