Uso de Power Management

Cómo establecer el tiempo de inactividad de un dispositivo

Es posible especificar el tiempo de inactividad que debe transcurrir antes de que un dispositivo del sistema (como un monitor) utilice la modalidad de bajo consumo. Para ello, es necesario cambiar el campo Umbral en el archivo /etc/power.conf.

Para cambiar el tiempo de inactividad
  1. Edite el archivo /etc/power.conf como superusuario. Escriba:

    example# vi /etc/power.conf

  2. Modifique la entrada deseada.

    El umbral de inactividad de los dispositivos de teclado y ratón se ha modificado a 300 segundos (5 minutos) en el archivo /etc/power.conf, como se muestra a continuación.


    # Power Management Configuration File
    #
    # Putting an entry in this file will only be effective if the 
    # driver for the device supports device power management. 
    # After the file is modified, pmconfig(1M) command must be
    # executed to activate the new change.
    #
    # Fields must be separated by white space or semicolons.
    # Note that physical dependents are automatically considered
    # by the power management framework.
    
    # Name           Threshold(s)       Logical Dependent(s)
    /dev/kbd         300
    /dev/mouse       300
    
    # NOTE: The entries below are only used when no window
    # system is running. When running the window system, monitor
    # power management is done by the screen saver functions.
    
    /dev/fb          0 0         /dev/kbd     /dev/mouse
    
    # Auto-Shutdown  Idle(min)  Start/finish(hh:mm)  Behavior
    autoshutdown     30          9:00 9:00           default
    
    statefile        /.CPR

  3. Informe de los nuevos valores a la estructura de Power Management. Escriba:

    example# /usr/sbin/pmconfig

    Al ejecutar pmconfig se informa a la estructura de Power Management de los nuevos valores de acuerdo con los umbrales que se han definido en el archivo /etc/power.conf.