 
  
  
 
 
  
   
YaST2 Developers Documentation:   
index.html    
Configuration of power-management
   
   
   
  
  
   
YaST   
   
   
index.htmlfunctions    
   
files.htmlfiles    
   
intro.htmlintro   
  
   
    
     
      
       
Configuration of power-management
      
      
include/power-management/complex.ycp      
     
      
Dialogs definitions      
     
      
       
        
Jiri Srain < mailto:jsrain@suse.czjsrain@suse.cz >       
      
     
     
      
       
This module has an unstable interface.
      
     
    
    
     
      
       
Imports
       
        
Label        
Popup        
PowerManagement       
       
Includes
       
        
power-management/helps.ycp        
power-management/misc.ycp       
       
Local Functions
       
        
         
#AcpiButtonsInitAcpiButtonsInit (string key)         
        
         
#AcpiButtonsStoreAcpiButtonsStore (string key, map event)         
        
         
#BatteryWarningInitBatteryWarningInit (string key)         
        
         
#BatteryWarningStoreBatteryWarningStore (string key, map event)         
        
         
#CoolingPolicyInitCoolingPolicyInit (string key)         
        
         
#CoolingPolicyStoreCoolingPolicyStore (string key, map event)         
        
         
#CpuHandleCpuHandle (string key, map event)         
        
         
#CpuInitCpuInit (string key)         
        
         
#CpuStoreCpuStore (string key, map event)         
        
         
#DpmsHandleDpmsHandle (string key, map event)         
        
         
#DpmsInitDpmsInit (string key)         
        
         
#DpmsStoreDpmsStore (string key, map event)         
        
         
#EnableSTDInitEnableSTDInit (string key)         
        
         
#EnableSTDStoreEnableSTDStore (string key, map event)         
        
         
#EnableSTRHandleEnableSTRHandle (string key, map event)         
        
         
#EnableSTRInitEnableSTRInit (string key)         
        
         
#EnableSTRStoreEnableSTRStore (string key, map event)         
        
         
#EnableStandbyHandleEnableStandbyHandle (string key, map event)         
        
         
#EnableStandbyInitEnableStandbyInit (string key)         
        
         
#EnableStandbyStoreEnableStandbyStore (string key, map event)         
        
         
#HardDiskInitHardDiskInit (string key)         
        
         
#HardDiskStoreHardDiskStore (string key, map event)         
        
         
#OtherSettingsMenuButtonHandleOtherSettingsMenuButtonHandle (string key, map event)         
        
         
#SchemeDescrInitSchemeDescrInit (string key)         
        
         
#SchemeDescrStoreSchemeDescrStore (string key, map event)         
        
         
#SchemeNameInitSchemeNameInit (string key)         
        
         
#SchemeNameStoreSchemeNameStore (string key, map event)         
        
         
#SchemeNameValidateSchemeNameValidate (string key, map event)         
        
         
#SchemeSelectionHandleSchemeSelectionHandle (string key, map event)         
        
         
#SchemeSelectionInitSchemeSelectionInit (string key)         
        
         
#SchemeSelectionStoreSchemeSelectionStore (string key, map event)         
        
         
#SchemesHandleSchemesHandle (string key, map event)         
        
         
#SchemesInitSchemesInit (string key)         
        
         
#SchemesRedrawSchemesRedraw ()         
        
         
#ScreensaverInitScreensaverInit (string key)         
        
         
#ScreensaverStoreScreensaverStore (string key, map event)         
        
         
#getAcpiButtonsWidgetgetAcpiButtonsWidget ()         
        
         
#getBatteryWarninggetBatteryWarning ()         
        
         
#getCoolingPolicyWidgetgetCoolingPolicyWidget ()         
        
         
#getCpuWidgetgetCpuWidget ()         
        
         
#getDpmsWidgetgetDpmsWidget ()         
        
         
#getEnableSTDWidgetgetEnableSTDWidget ()         
        
         
#getEnableSTRWidgetgetEnableSTRWidget ()         
        
         
#getEnableStandbyWidgetgetEnableStandbyWidget ()         
        
         
#getHardDiskWidgetgetHardDiskWidget ()         
        
         
#getOtherSettingsMenuButtongetOtherSettingsMenuButton ()         
        
         
#getSchemeDescrWidgetgetSchemeDescrWidget ()         
        
         
#getSchemeNameWidgetgetSchemeNameWidget ()         
        
         
#getSchemeSelectionWidgetgetSchemeSelectionWidget ()         
        
         
#getSchemesListWidgetgetSchemesListWidget ()         
        
         
#getScreensaverWidgetgetScreensaverWidget ()         
        
         
#getStrStandbyAdditionalHelpgetStrStandbyAdditionalHelp ()         
        
         
#getSuspendPrewordgetSuspendPreword ()         
       
      
     
    
   
   
   
    
local
     
BatteryWarningInit (string key)
      
 ->       
void     
    
   
   
 Init function of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
     
    
   
   
    
local
     
BatteryWarningStore (string key, map event)
      
 ->       
void     
    
   
   
 Store settings of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
      
       
        
event       
       
map event that caused storing of widget settings       
     
    
   
   
    
local
     
getBatteryWarning ()
      
 ->       
map<string,any>     
    
   
   
 Get description map of a widget
   
    
     
Return value:    
    
     
      
       
        
       
       
a map widget description map       
     
    
   
   
    
local
     
AcpiButtonsInit (string key)
      
 ->       
void     
    
   
   
 Init function of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
     
    
   
   
    
local
     
AcpiButtonsStore (string key, map event)
      
 ->       
void     
    
   
   
 Store settings of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
      
       
        
event       
       
map event that caused storing of widget settings       
     
    
   
   
    
local
     
getAcpiButtonsWidget ()
      
 ->       
map<string,any>     
    
   
   
 Get description map of a widget
   
    
     
Return value:    
    
     
      
       
        
       
       
a map widget description map       
     
    
   
   
    
local
     
EnableSTDInit (string key)
      
 ->       
void     
    
   
   
 Init function of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
     
    
   
   
    
local
     
EnableSTDStore (string key, map event)
      
 ->       
void     
    
   
   
 Store settings of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
      
       
        
event       
       
map event that caused storing of widget settings       
     
    
   
   
    
local
     
getEnableSTDWidget ()
      
 ->       
map<string,any>     
    
   
   
 Get description map of a widget
   
    
     
Return value:    
    
     
      
       
        
       
       
a map widget description map       
     
    
   
   
    
local
     
EnableSTRInit (string key)
      
 ->       
void     
    
   
   
 Init function of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
     
    
   
   
    
local
     
EnableSTRStore (string key, map event)
      
 ->       
void     
    
   
   
 Store settings of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
      
       
        
event       
       
map event that caused storing of widget settings       
     
    
   
   
    
local
     
EnableSTRHandle (string key, map event)
      
 ->       
symbol     
    
   
   
 Handle function of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
      
       
        
event       
       
map event that will be handled       
     
    
   
   
    
     
Return value:    
    
     
      
       
        
       
       
always nil       
     
    
   
   
    
local
     
getEnableSTRWidget ()
      
 ->       
map<string,any>     
    
   
   
 Get description map of a widget
   
    
     
Return value:    
    
     
      
       
        
       
       
a map widget description map       
     
    
   
   
    
local
     
getStrStandbyAdditionalHelp ()
      
 ->       
map<string,any>     
    
   
   
 Get description map of a widget
   
    
     
Return value:    
    
     
      
       
        
       
       
a map widget description map       
     
    
   
   
    
local
     
getSuspendPreword ()
      
 ->       
map<string,any>     
    
   
   
 Get description map of a widget
   
    
     
Return value:    
    
     
      
       
        
       
       
a map widget description map       
     
    
   
   
    
local
     
EnableStandbyInit (string key)
      
 ->       
void     
    
   
   
 Init function of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
     
    
   
   
    
local
     
EnableStandbyStore (string key, map event)
      
 ->       
void     
    
   
   
 Store settings of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
      
       
        
event       
       
map event that caused storing of widget settings       
     
    
   
   
    
local
     
EnableStandbyHandle (string key, map event)
      
 ->       
symbol     
    
   
   
 Handle function of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
      
       
        
event       
       
map event that will be handled       
     
    
   
   
    
     
Return value:    
    
     
      
       
        
       
       
always nil       
     
    
   
   
    
local
     
getEnableStandbyWidget ()
      
 ->       
map<string,any>     
    
   
   
 Get description map of a widget
   
    
     
Return value:    
    
     
      
       
        
       
       
a map widget description map       
     
    
   
   
    
local
     
OtherSettingsMenuButtonHandle (string key, map event)
      
 ->       
symbol     
    
   
   
 Handle function of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
      
       
        
event       
       
map event that will be handled       
     
    
   
   
    
     
Return value:    
    
     
      
       
        
       
       
always nil       
     
    
   
   
    
local
     
getOtherSettingsMenuButton ()
      
 ->       
map<string,any>     
    
   
   
 Get description map of a widget
   
    
     
Return value:    
    
     
      
       
        
       
       
a map widget description map       
     
    
   
   
    
local
     
SchemeSelectionHandle (string key, map event)
      
 ->       
symbol     
    
   
   
 Handle function of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
      
       
        
event       
       
map event that will be handled       
     
    
   
   
    
     
Return value:    
    
     
      
       
        
       
       
for wizard sequencer       
     
    
   
   
    
local
     
SchemeSelectionInit (string key)
      
 ->       
void     
    
   
   
 Init function of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
     
    
   
   
    
local
     
SchemeSelectionStore (string key, map event)
      
 ->       
void     
    
   
   
 Store settings of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
      
       
        
event       
       
map event that caused storing of widget settings       
     
    
   
   
    
local
     
getSchemeSelectionWidget ()
      
 ->       
map<string,any>     
    
   
   
 Get description map of a widget
   
    
     
Return value:    
    
     
      
       
        
       
       
a map widget description map       
     
    
   
   
    
local
     
SchemesRedraw ()
      
 ->       
void     
    
   
   
 Redraw the table of energy saving schemes
   
    
local
     
SchemesHandle (string key, map event)
      
 ->       
symbol     
    
   
   
 Handle function of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
      
       
        
event       
       
map event that will be handled       
     
    
   
   
    
     
Return value:    
    
     
      
       
        
       
       
for wizard sequencer       
     
    
   
   
    
local
     
SchemesInit (string key)
      
 ->       
void     
    
   
   
 Init function of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
     
    
   
   
    
local
     
getSchemesListWidget ()
      
 ->       
map<string,any>     
    
   
   
 Get description map of a widget
   
    
     
Return value:    
    
     
      
       
        
       
       
a map widget description map       
     
    
   
   
    
local
     
SchemeNameInit (string key)
      
 ->       
void     
    
   
   
 Init function of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
     
    
   
   
    
local
     
SchemeNameValidate (string key, map event)
      
 ->       
boolean     
    
   
   
 Validate function of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
      
       
        
event       
       
map event that caused widget validation       
     
    
   
   
    
     
Return value:    
    
     
      
       
        
       
       
true if validation succeeded       
     
    
   
   
    
local
     
SchemeNameStore (string key, map event)
      
 ->       
void     
    
   
   
 Store settings of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
      
       
        
event       
       
map event that caused storing of widget settings       
     
    
   
   
    
local
     
getSchemeNameWidget ()
      
 ->       
map<string,any>     
    
   
   
 Get description map of a widget
   
    
     
Return value:    
    
     
      
       
        
       
       
a map widget description map       
     
    
   
   
    
local
     
SchemeDescrInit (string key)
      
 ->       
void     
    
   
   
 Init function of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
     
    
   
   
    
local
     
SchemeDescrStore (string key, map event)
      
 ->       
void     
    
   
   
 Store settings of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
      
       
        
event       
       
map event that caused storing of widget settings       
     
    
   
   
    
local
     
getSchemeDescrWidget ()
      
 ->       
map<string,any>     
    
   
   
 Get description map of a widget
   
    
     
Return value:    
    
     
      
       
        
       
       
a map widget description map       
     
    
   
   
    
local
     
HardDiskInit (string key)
      
 ->       
void     
    
   
   
 Init function of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
     
    
   
   
    
local
     
HardDiskStore (string key, map event)
      
 ->       
void     
    
   
   
 Store settings of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
      
       
        
event       
       
map event that caused storing of widget settings       
     
    
   
   
    
local
     
getHardDiskWidget ()
      
 ->       
map<string,any>     
    
   
   
 Get description map of a widget
   
    
     
Return value:    
    
     
      
       
        
       
       
a map widget description map       
     
    
   
   
    
local
     
CoolingPolicyInit (string key)
      
 ->       
void     
    
   
   
 Init function of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
     
    
   
   
    
local
     
CoolingPolicyStore (string key, map event)
      
 ->       
void     
    
   
   
 Store settings of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
      
       
        
event       
       
map event that caused storing of widget settings       
     
    
   
   
    
local
     
getCoolingPolicyWidget ()
      
 ->       
map<string,any>     
    
   
   
 Get description map of a widget
   
    
     
Return value:    
    
     
      
       
        
       
       
a map widget description map       
     
    
   
   
    
local
     
CpuHandle (string key, map event)
      
 ->       
symbol     
    
   
   
 Handle function of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
      
       
        
event       
       
map event that will be handled       
     
    
   
   
    
     
Return value:    
    
     
      
       
        
       
       
for wizard sequencer       
     
    
   
   
    
local
     
CpuInit (string key)
      
 ->       
void     
    
   
   
 Init function of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
     
    
   
   
    
local
     
CpuStore (string key, map event)
      
 ->       
void     
    
   
   
 Store settings of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
      
       
        
event       
       
map event that caused storing of widget settings       
     
    
   
   
    
local
     
getCpuWidget ()
      
 ->       
map<string,any>     
    
   
   
 Get description map of a widget
   
    
     
Return value:    
    
     
      
       
        
       
       
a map widget description map       
     
    
   
   
    
local
     
ScreensaverInit (string key)
      
 ->       
void     
    
   
   
 Init function of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
     
    
   
   
    
local
     
ScreensaverStore (string key, map event)
      
 ->       
void     
    
   
   
 Store settings of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
      
       
        
event       
       
map event that caused storing of widget settings       
     
    
   
   
    
local
     
getScreensaverWidget ()
      
 ->       
map<string,any>     
    
   
   
 Get description map of a widget
   
    
     
Return value:    
    
     
      
       
        
       
       
a map widget description map       
     
    
   
   
    
local
     
DpmsHandle (string key, map event)
      
 ->       
symbol     
    
   
   
 Handle function of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
      
       
        
event       
       
map event that will be handled       
     
    
   
   
    
     
Return value:    
    
     
      
       
        
       
       
for wizard sequencer       
     
    
   
   
    
local
     
DpmsInit (string key)
      
 ->       
void     
    
   
   
 Init function of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
     
    
   
   
    
local
     
DpmsStore (string key, map event)
      
 ->       
void     
    
   
   
 Store settings of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
      
       
        
event       
       
map event that caused storing of widget settings       
     
    
   
   
    
local
     
getDpmsWidget ()
      
 ->       
map<string,any>     
    
   
   
 Get description map of a widget
   
    
     
Return value:    
    
     
      
       
        
       
       
a map widget description map       
     
    
   
   
Info:    
 Handle function of a widget
   
    
     
Parameters:    
    
     
      
       
        
event       
       
map event that will be handled       
      
       
        
key       
       
string widget id       
     
    
   
   
    
     
Return value:    
    
     
      
       
        
       
       
for wizard sequencer       
     
    
   
   
Info:    
 Init function of a widget
   
    
     
Parameters:    
    
     
      
       
        
key       
       
string widget id       
     
    
   
   
Info:    
 Store settings of a widget
   
    
     
Parameters:    
    
     
      
       
        
event       
       
map event that caused storing of widget settings       
      
       
        
key       
       
string widget id       
     
    
   
   
Info:    
 Get description map of a widget
   
    
     
Return value:    
    
     
      
       
        
       
       
a map widget description map       
     
    
   
  
  
   
   
YaST2 Developers Documentation   
  
 
