Using Power Management

Setting AutoShutdown

To Change the Automatic Shutdown Time
  1. As superuser, edit the AutoShutdown entry in /etc/power.conf file. Type:

    example# vi /etc/power.conf

    The AutoShutdown feature is set to be ready to activate "always" in the portion of an /etc/power.conf file shown below, by entering identical Start and Finish time values. This means your system will power off at any time of day after a 30-minute period of inactivity.


    # Auto-Shutdown    Idle(min)    Start/Finish(hh:mm)    Behavior
    autoshutdown       30           0:00 0:00              shutdown

    The AutoShutdown time in the portion of the /etc/power.conf file shown below is set to power off your system every day between 5:30 pm and 8:00 am after a 30-minute period of inactivity.


    Note -

    The start and finish times must be entered into the power.conf file in a 24-hour format.


    # Auto-Shutdown    Idle(min)    Start/Finish(hh:mm)    Behavior
    autoshutdown       30           17:30 8:00             shutdown


  2. Inform the Power Management framework of the new settings by typing:

    example# /usr/sbin/pmconfig

    Running pmconfig informs the Power Management framework of the new setting according to the thresholds that are now defined in the /etc/power.conf file.