Logo Search packages:      
Sourcecode: guidance-power-manager version File versions

powermanage::PowerManage Class Reference

List of all members.


Detailed Description

Class providing low-level power managerment functionality. 

Definition at line 66 of file powermanage.py.


Public Member Functions

def __init__
def adjustBrightness
def blankScreen
def checkHAL
def cpuIsOnline
def getBatteryState
def getBrightness
def getCpuPolicy
def getCpuState
def getIdleSeconds
def getLidClosedState
def getSupportedCpuPolicies
def hibernate
def isLaptop
def onBattery
def resetIdleSeconds
def setCpuPolicy
def setDiskPM
def setPowerSave
def setScreensaverBlankOnly
def showInfo
def shutdown
def suspend
def test

Public Attributes

 acObject
 batteries
 batteryIsPresent
 brightness_levels
 brightness_properties
 brightnessObject
 bus
 canHibernate
 canSuspend
 computerObject
 cpu_policy
 cpufreq
 cpus
 criticalBatteryState
 disks
 display_dark
 display_light
 governor_available
 hal_manager
 hasAC
 hasBattery
 hasBrightness
 hasCpuFreqGovernors
 hasLid
 lidClosedState
 lidObject
 lowBatteryState
 old_b
 SCREENSAVER_BLANKONLY
 USE_CPUFREQ
 USE_DISPLAY
 USE_DPMS
 USE_HDPARM
 USE_LAPTOP_MODE
 USE_WI_PM
 warningBatteryState
 wasOnBattery
 xscreen

Private Member Functions

def _checkCpuCapabilities
def _checkSuspend
def _findDisks
def _initAc
def _initBattery
def _initBrightness
def _initHAL
def _initLid
def _sleepMode

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index