console_powermode

Name

console_powermode --  sets monitor power mode

Synopsis

int console_powermode (int mode);

Arguments

mode

power state to set

Description

Sets power state as dictated by mode.

Note that this function is only for XPMAC compatibility and doesn't do much.

Returns 0 for VC_POWERMODE_INQUIRY, -EINVAL for VESA power settings, or -ENIXIO on failure.