.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "SET_POWER_STATE" "" "06 October 2005" "" ""
.SH NAME
set_power_state \- set the power management state
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int set_power_state (u_short \fIwhat\fB, u_short \fIstate\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIwhat\fB\fR
which items to transition
.TP
\fB\fIstate\fB\fR
state to transition to
.SH "DESCRIPTION"
.PP
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.
.PP
The state holds the state to transition to, which may in fact
be an acceptance of a BIOS requested state change.