電源管理功能的使用方法

power.conf 檔案

power.conf檔案(在/etc 目錄中)可讓您進行系統電源的管理配置。當系統不在CDE或OpenWindows桌面的環境時,這個檔案還能讓您配置顯示器的電源。(請參閱第 2章, 監視器電源的管理 ,以獲得在那些視窗環境下管理顯示器電源的詳細資訊。)

內定的/etc/power.conf檔案內容如下:


# 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         1800

/dev/mouse       1800



# 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>

邏輯相依單元

/etc/power.conf檔案中有邏輯相依單元(Logical Dependent)的項目。 每一個項目都是一個實際裝置(像是滑鼠),而其活動和另一個裝置(像是框架緩衝器)相關,但並未實際連接在一起。

如果某個邏輯相依單元的裝置在作用中的話,那麼主要的裝置也被認為是在作用中。因此它會影響這個主要裝置的閒置時間。