Per specificare il tempo di inattività che deve trascorrere prima che un dispositivo del sistema (ad esempio il monitor) si ponga in modalità di risparmio energetico, è necessario modificare il campo di soglia nel file /etc/power.conf.
Aprire con un editor il file /etc/power.conf. Digitare:
esempio# vi /etc/power.conf
Modificare la voce desiderata.
Nel file /etc/power.conf mostrato qui di seguito, la soglia di inattività della tastiera e del mouse è stata modificata e impostata su 300 secondi (5 minuti).
# 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
Comunicare a Power Management le nuove impostazioni. Digitare:
esempio# /usr/sbin/pmconfig
Eseguendo pmconfig, Power Management legge la nuova impostazione di soglia definita nel file /etc/power.conf.