La durée d'inactivité après laquelle un périphérique, comme l'écran, utilise le mode d'alimentation réduit est indiquée dans le champ de seuil du fichier /etc/power.conf.
Editez le fichier /etc/power.conf en entrant :
example# vi /etc/power.conf |
Modifiez l'entrée de votre choix.
Le seuil d'inactivité pour la souris et le clavier a été défini à 300 secondes (5 minutes) dans le fichier /etc/power.conf, comme représenté ci-dessous.
# 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
Communiquez à Power Management les nouvelles valeurs en entrant :
example# /usr/sbin/pmconfig |
L'exécution de pmconfig informe Power Management du nouveau paramètre, conformément aux seuils qui sont désormais définis dans le fichier /etc/power.conf.