## Path:        	System/Powermanagement/Powersave/Events
## Description: In this section you can define what actions to perform \
## if a powersaved event occurs. Read the documentation in \
## /usr/share/doc/packages/powersave/ for more informations on how to \
## add customized actions. You can specify multiple actions for a given \
## event, just separate them with whitespace.\n \
## Note: Your system might not generate all of the events.

## Path:        	System/Powermanagement/Powersave/Events
## Type:        	string
## Default:     	"ignore"
# Events executed at daemon start.
POWERSAVE_EVENT_DAEMON_START="ignore"

## Path:        	System/Powermanagement/Powersave/Events
## Type:        	string
## Default:     	"set_disk_settings"
# Events executed at a scheme change. The scheme change event is also thrown
# if the machine is e.g. unplugged from AC or the daemon is started.
POWERSAVE_EVENT_DAEMON_SCHEME_CHANGE="set_disk_settings"

## Path:        	System/Powermanagement/Powersave/Events
## Type:        	string
## Default:     	"dethrottle"
#
# What events should be processed if the
# powersave daemon terminates?
POWERSAVE_EVENT_DAEMON_TERMINATE="dethrottle"

## Path:        	System/Powermanagement/Powersave/Events
## Type:        	string
## Default:     	"reread_cpu_capabilities"
POWERSAVE_EVENT_ACADAPTER_ONLINE="reread_cpu_capabilities"
POWERSAVE_EVENT_ACADAPTER_OFFLINE="reread_cpu_capabilities"

## Path:        	System/Powermanagement/Powersave/Events
## Type:        	string(notify,wm_shutdown,wm_logout,standby,suspend_to_ram,suspend_disk,screen_saver,ignore)
## Default:     	"notify"
#
# The specified values(actions) will take effect, when the 
# battery state changes from "normal" to "warning".
#
POWERSAVE_EVENT_BATTERY_WARNING="notify"

## Path:        	System/Powermanagement/Powersave/Events
## Type:        	string(notify,wm_shutdown,wm_logout,standby,suspend_to_disk,suspend_to_ram,screen_saver,ignore)
## Default:     	"notify"
#
# The specified values(actions) will take effect, when the 
# battery state changes from "warning" to "low".
#
POWERSAVE_EVENT_BATTERY_LOW="notify"

## Path:        	System/Powermanagement/Powersave/Events
## Type:        	string(notify,wm_shutdown,wm_logout,standby,suspend_to_disk,suspend_to_ram,screen_saver,ignore)
## Default:     	"notify"
#
# The specified values(actions) will take effect, when the 
# battery state changes from "low" to "critical".
#
POWERSAVE_EVENT_BATTERY_CRITICAL="wm_shutdown"

# This event is never reached
POWERSAVE_EVENT_BATTERY_NORMAL="ignore"

## Path:        	System/Powermanagement/Powersave/Events
## Type:        	string(notify,wm_shutdown,wm_logout,standby,suspend_to_disk,suspend_to_ram,screen_saver,ignore)
#
# Button events. What functions of the proxy should be
# triggered if a ACPI button is pressed?
#
POWERSAVE_EVENT_BUTTON_POWER="wm_shutdown"
POWERSAVE_EVENT_BUTTON_SLEEP="suspend_to_disk"
POWERSAVE_EVENT_BUTTON_LID_OPEN="ignore"
POWERSAVE_EVENT_BUTTON_LID_CLOSED="screen_saver"

## Path:        	System/Powermanagement/Powersave/Events
## Type:        	string
## Default		"ignore"
#
# Gets processed if the powersave tool requests
# a CPU frequency policy change. (e.g. powersave --performance)
# These values are thought for later enhancements.
# You may want to get your own function invoked to enable advanced
# power saving functionalities.
# However it would be easier to modify the binary that should
# be invoked for the event in /etc/powersave.conf.
#
POWERSAVE_EVENT_PROCESSOR_PERFORMANCE="ignore"
POWERSAVE_EVENT_PROCESSOR_POWERSAVE="ignore"
POWERSAVE_EVENT_PROCESSOR_DYNAMIC="ignore"

## Path:        	System/Powermanagement/Powersave/Events
## Default		"notify"
## Type:		list(notify,wm_shutdown,wm_logout,standby,suspend_to_disk,suspend_to_ram,power_off,screen_saver)
#
# What should happen if a temperature limit is reached?
POWERSAVE_EVENT_TEMPERATURE_CRITICAL="notify"
POWERSAVE_EVENT_TEMPERATURE_HOT="notify"
POWERSAVE_EVENT_TEMPERATURE_PASSIVE="ignore"
POWERSAVE_EVENT_TEMPERATURE_ACTIVE="ignore"
POWERSAVE_EVENT_TEMPERATURE_OK="ignore"

## Path:        	System/Powermanagement/Powersave/Events
## Type:        	string
## Default:     	"ignore"
#
# This event gets thrown if a unknown event is encountered by the daemon.
# Unknown events include e.g. ACPI hotkeys on some machines.
# A description of this mechanism is available in
# /usr/share/doc/packages/powersave/README.events.
#
POWERSAVE_EVENT_OTHER="ignore"

## Path:        	System/Powermanagement/Powersave/Events
## Type:        	string
## Default:     	"ignore"
#
# The kernel may inform that changes on CPU frequencies or throttling
# states capabilites have been taken place.
# In this case a cpu_notify event is generated by the powersave daemon and
# the internal function reread_cpu_capabilities should be processed
#
POWERSAVE_EVENT_PROCESSOR_NOTIFY="reread_cpu_capabilities"

## Path:        	System/Powermanagement/Powersave/Events
## Type:        	string
#
# After the processor is idle (CPU_LOW) for a specific time
# see a processor.dynamic.low event is thrown.
# If the cpu usage goes beyond the CPU_HIGH value
# a high event is thrown at once.
# There will never be one event thrown twice in a row, they 
# alternate! This is a perfect place to add additional
# power saving functionalities.
#
POWERSAVE_EVENT_PROCESSOR_DYNAMIC_HIGH="dethrottle"
POWERSAVE_EVENT_PROCESSOR_DYNAMIC_LOW="throttle"

## Path:        	System/Powermanagement/Powersave/Events
## Type:        	string
#
# The specified functions that get processed
# when an suspend/standby is requested should not be modified.
# See System/Powermanagement/Powersave/Suspend or Standby
# for possible modifications if you encounter problems
# with these.
# You should change those only if you know what you are doing,
# if you remove e.g. the "screen_saver" event here, graphical
# clients like kpowersave will no longer lock the screen on
# suspend, no matter what. You have been warned :-)
POWERSAVE_EVENT_GLOBAL_SUSPEND2DISK="prepare_suspend_to_disk screen_saver do_suspend_to_disk"
POWERSAVE_EVENT_GLOBAL_SUSPEND2RAM="prepare_suspend_to_ram screen_saver do_suspend_to_ram"
POWERSAVE_EVENT_GLOBAL_STANDBY="prepare_standby screen_saver do_standby"

POWERSAVE_EVENT_GLOBAL_RESUME_SUSPEND2DISK="restore_after_suspend_to_disk"
POWERSAVE_EVENT_GLOBAL_RESUME_SUSPEND2RAM="restore_after_suspend_to_ram"
POWERSAVE_EVENT_GLOBAL_RESUME_STANDBY="restore_after_standby"
