Installing and Using Power Management
  Search only this book
Download this book in PDF

Using Power Management

2


Note - If you are using the Power Management software on a SPARCstation Voyager system, see also Chapter 3, "Using Power Management on a SPARCstation Voyager" for additional information.

As soon as you complete installing the software, the Power Management features become active. Power Management is initialized to the default settings. There are two types of default settings, the system default settings and the per user default settings. When you first boot the system, the system default settings are in effect. To override the system settings with the per user settings, you need to start the window system and the graphical user interface (GUI), dtpower. The system default settings control the AutoShutdown feature in addition to the device settings, and can only be modified by the superuser.
dtpower allows you to tailor per user settings, such as the device settings (e. g. the display), according to your preference. dtpower also allows you to view the system AutoShutdown settings. To change the system AutoShutdown settings you must start dtpower as superuser. To use dtpower, go to the next section, "Configuring Power Management In OpenWindows."
A command line interface is also provided for the system administrator to change the system default settings. Go to Appendix B, "Configuring Power Management Using the Command Line".

Configuring Power Management In OpenWindows

Using dtpower, you can change the length of idle time before:
  • Screen power off dtpower turns off the power to your monitor.
  • AutoShutdown dtpower suspends your system. For more information on the Suspend function, see Chapter 4, "Suspend-Resume."

Starting dtpower

You can start dtpower using one of the following methods:
  1. Type


  example% /usr/openwin/bin/dtpower &  

or
Select Power Manager from the Workspace Menu under the Programs option if you are using the default OpenWindows menu.
For more information on the Workspace Menu, refer to the Solaris 2 Deskset Quick Reference.
The dtpower icon is displayed, as shown in Figure 2-1.

Graphic

Figure 2-1 dtpower

  1. Double-click on the dtpower icon.

    The main window is displayed, as shown in Figure 2-2.

Graphic

Figure 2-2

The initial value for the idle time for screen turn off is 30 minutes, this is set at installation. The standard value is Never. If you wish to change the settings, proceed to the next section.

Setting an Idle Time for Your Screen

  1. Drag the screen slider, as shown in Figure 2-3, to set the length of idle time in minutes before your screen will automatically power off.

Graphic

Figure 2-3

  1. Select Apply.

    In Figure 2-3, the default setting, Never, has been changed to 10 minutes. Your screen will now automatically power off after 10 minutes of inactivity (no keystrokes or mouse activity).

  • If you want to change this setting, you need to repeat this procedure.
  • If you want to apply the standard setting, go to the next section, "Resetting to Standard Values."

Resetting to Standard Values

* Click on the Reset to Standard button in the main window to select the default values (Never) for your screen, as shown in Figure 2-4.

Graphic

Figure 2-4

* You do not need to select Apply to effect this change.

Setting AutoShutdown

AutoShutdown uses the Suspend feature to automatically power off your system. If you wish to change the AutoShutdown settings for your system, you have to start dtpower as superuser. Otherwise, the AutoShutdown settings can only be viewed but not changed.
  1. Start dtpower as superuser by typing:


  example% su  
  Password: root password  
  example# /usr/openwin/bin/dtpower &  

  1. Click on the Set AutoShutdown button in the main window, as shown in Figure 2-5.

Graphic

Figure 2-5

The AutoShutdown pop-up window is displayed, as shown in Figure 2-6.

Graphic

Figure 2-6

These settings cause your system to power off after 60 minutes of inactivity between the hours of 5:00 pm and 8:00 am.
  • If you wish to change the length of idle time before your system is automatically powered off, go to Step 3.
  • If you want to change the time of day when you want to power off your system, go to Step 4.
  1. Enter the idle time in minutes before your system is automatically powered off, as shown in Figure 2-7.

Graphic

Figure 2-7

  1. Select the condition under which your system is automatically powered off.

    You can select Always, Between, and Never.

  • If you select Always, your system will always power off automatically after the idle time that you set, as shown in Figure 2-8.

Graphic

Figure 2-8

  • If you select Between, your system will power off automatically between the times that you specify, after the idle time that you set, as shown in Figure 2-9.

Graphic

Figure 2-9

  • If you select Never, your system will not power off automatically.

Graphic

Figure 2-10

  1. Select OK to apply the settings.

    If you want to abort this task, select Cancel.

Exiting dtpower

* Select Exit from the File Menu in the main window, as shown in Figure 2-11.

Graphic

Figure 2-11 dtpower