From e58350ab1a00d55e82f7ae97589562e10a77c485 Mon Sep 17 00:00:00 2001 From: Brent Hull Date: Sat, 27 Oct 2012 23:04:21 -0400 Subject: Port to Gsettings based on GNOME patch by Richard Hughes --- data/Makefile.am | 27 +- data/mate-power-manager.schemas.in | 741 -------------------------------- data/org.mate.power-manager.gschema.xml | 338 +++++++++++++++ 3 files changed, 344 insertions(+), 762 deletions(-) delete mode 100644 data/mate-power-manager.schemas.in create mode 100644 data/org.mate.power-manager.gschema.xml (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am index 80b8a49..0f0d775 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,9 +1,5 @@ SUBDIRS = icons -@INTLTOOL_SCHEMAS_RULE@ -schemadir = $(sysconfdir)/mateconf/schemas -schema_in_files = mate-power-manager.schemas.in -schema_DATA = $(schema_in_files:.schemas.in=.schemas) @INTLTOOL_DESKTOP_RULE@ desktopdir = $(datadir)/applications @@ -23,6 +19,9 @@ service_DATA = $(service_in_files:.service.in=.service) $(service_DATA): $(service_in_files) Makefile @sed -e "s|\@servicedir\@|$(bindir)|" $< > $@ +@GSETTINGS_RULES@ +gsettings_SCHEMAS = org.mate.power-manager.gschema.xml + pkgdata_DATA = \ gpm-statistics.ui \ gpm-statistics-deprecated.ui \ @@ -32,25 +31,12 @@ pkgdata_DATA = \ acme.ui EXTRA_DIST = \ - mate-power-manager.schemas.in \ - $(schema_in_files) \ - $(desktop_in_files) \ - $(autostart_in_files) \ + $(gsettings_SCHEMAS) \ $(service_in_files) \ + $(autostart_in_files) \ + $(desktop_in_files) \ $(pkgdata_DATA) -if MATECONF_SCHEMAS_INSTALL -install-data-local: - -MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) \ - $(MATECONFTOOL) --makefile-install-rule $(schema_DATA) -endif - -if MATECONF_SCHEMAS_INSTALL -uninstall-local: - -MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) \ - $(MATECONFTOOL) --makefile-uninstall-rule $(schema_DATA) -endif - clean-local : rm -f *~ @@ -58,5 +44,4 @@ DISTCLEANFILES = \ mate-power-manager.desktop \ mate-power-preferences.desktop \ mate-power-statistics.desktop \ - mate-power-manager.schemas \ mate-power-manager.service diff --git a/data/mate-power-manager.schemas.in b/data/mate-power-manager.schemas.in deleted file mode 100644 index 4845738..0000000 --- a/data/mate-power-manager.schemas.in +++ /dev/null @@ -1,741 +0,0 @@ - - - - - /schemas/apps/mate-power-manager/actions/sleep_type_battery - /apps/mate-power-manager/actions/sleep_type_battery - string - hibernate - - Whether to hibernate, suspend or do nothing when inactive - The type of sleeping that should be performed when the computer is inactive. Possible values are "hibernate", "suspend" and "nothing". - - - - - /schemas/apps/mate-power-manager/actions/critical_battery - /apps/mate-power-manager/actions/critical_battery - string - hibernate - - Battery critical low action - The action to take when the battery is critically low. Possible values are "hibernate", "suspend", "shutdown" and "nothing". - - - - - /schemas/apps/mate-power-manager/actions/event_when_closed_battery - /apps/mate-power-manager/actions/event_when_closed_battery - mate-power-manager - bool - true - - If the battery event should occur when the lid is shut and the power disconnected - If the battery lid close event should occur (for example 'Suspend when lid closed on battery') when the lid is previously shut and the AC power disconnected at a later time. - - - - - /schemas/apps/mate-power-manager/actions/sleep_type_ac - /apps/mate-power-manager/actions/sleep_type_ac - string - suspend - - Whether to hibernate, suspend or do nothing when inactive - The type of sleeping that should be performed when the computer is inactive. Possible values are "hibernate", "suspend" and "nothing". - - - - - /schemas/apps/mate-power-manager/actions/critical_ups - /apps/mate-power-manager/actions/critical_ups - string - shutdown - - UPS critical low action - The action to take when the UPS is critically low. Possible values are "hibernate", "suspend", "shutdown" and "nothing". - - - - - /schemas/apps/mate-power-manager/actions/low_ups - /apps/mate-power-manager/actions/low_ups - string - hibernate - - UPS low power action - The action to take when the UPS is low. Possible values are "hibernate", "suspend", "shutdown" and "nothing". - - - - - /schemas/apps/mate-power-manager/backlight/enable - /apps/mate-power-manager/backlight/enable - mate-power-manager - bool - true - - Allow backlight brightness adjustment - If the screen brightness should be changed when switching between AC and battery power. - - - - - /schemas/apps/mate-power-manager/backlight/battery_reduce - /apps/mate-power-manager/backlight/battery_reduce - mate-power-manager - bool - true - - Reduce the backlight brightness when on battery power - If the screen should be reduced in brightness when the computer is on battery power. - - - - - /schemas/apps/mate-power-manager/backlight/idle_brightness - /apps/mate-power-manager/backlight/idle_brightness - mate-power-manager - int - 30 - - The brightness of the screen when idle - This is the laptop panel screen brightness used when the session is idle. Only valid when use_time_for_policy is true. - - - - - /schemas/apps/mate-power-manager/backlight/idle_dim_battery - /apps/mate-power-manager/backlight/idle_dim_battery - mate-power-manager - bool - true - - Dim the screen after a period of inactivity when on battery power - If the screen should be dimmed to save power when the computer is idle when on battery power. - - - - - /schemas/apps/mate-power-manager/backlight/idle_dim_time - /apps/mate-power-manager/backlight/idle_dim_time - mate-power-manager - int - 10 - - The default amount of time to dim the screen after idle - The default amount of time to dim the screen after idle. - - - - - /schemas/apps/mate-power-manager/backlight/brightness_dim_battery - /apps/mate-power-manager/backlight/brightness_dim_battery - int - 50 - - LCD dimming amount when on battery - The amount to dim the brightness of the display when on battery power. Possible values are between 0 and 100. - - - - - /schemas/apps/mate-power-manager/backlight/idle_dim_ac - /apps/mate-power-manager/backlight/idle_dim_ac - mate-power-manager - bool - false - - Dim the screen after a period of inactivity when on AC power - If the screen should be dimmed to save power when the computer is idle when on AC power. - - - - - /schemas/apps/mate-power-manager/backlight/dpms_method_ac - /apps/mate-power-manager/backlight/dpms_method_ac - string - off - - Method used to blank screen on AC - The DPMS method used to blank the screen when on AC power. Possible values are "standby", "suspend" and "off". - - - - - /schemas/apps/mate-power-manager/backlight/dpms_method_battery - /apps/mate-power-manager/backlight/dpms_method_battery - string - off - - Method used to blank screen on battery - The DPMS method used to blank the screen when on battery power. Possible values are "standby", "suspend" and "off". - - - - - /schemas/apps/mate-power-manager/backlight/brightness_ac - /apps/mate-power-manager/backlight/brightness_ac - int - 100 - - LCD brightness when on AC - The brightness of the display when on AC power. Possible values are between 0 and 100. - - - - - /schemas/apps/mate-power-manager/buttons/suspend - /apps/mate-power-manager/buttons/suspend - string - suspend - - Suspend button action - The action to take when the system suspend button is pressed. Possible values are "suspend", "hibernate", "interactive", "shutdown" and "nothing". - - - - - /schemas/apps/mate-power-manager/buttons/hibernate - /apps/mate-power-manager/buttons/hibernate - string - hibernate - - Hibernate button action - The action to take when the system hibernate button is pressed. Possible values are "suspend", "hibernate", "interactive", "shutdown" and "nothing". - - - - - /schemas/apps/mate-power-manager/buttons/power - /apps/mate-power-manager/buttons/power - string - interactive - - Power button action - The action to take when the system power button is pressed. Possible values are "suspend", "hibernate", "interactive", "shutdown" and "nothing". - - - - - /schemas/apps/mate-power-manager/buttons/lid_battery - /apps/mate-power-manager/buttons/lid_battery - string - suspend - - Laptop lid close action on battery - The action to take when the laptop lid is closed and the laptop is on battery power. Possible values are "suspend", "hibernate", "blank", and "nothing". - - - - - /schemas/apps/mate-power-manager/buttons/lid_ac - /apps/mate-power-manager/buttons/lid_ac - string - suspend - - Laptop lid close action when on AC - The action to take when the laptop lid is closed and the laptop is on AC power. Possible values are "suspend", "hibernate", "blank" and "nothing". - - - - - /schemas/apps/mate-power-manager/general/installed_schema - /apps/mate-power-manager/general/installed_schema - mate-power-manager - int - 3 - - The default configuration version - The version of the installed version of the schema. Do not edit this value, it is used so that configure changes between versions can be detected. - - - - - /schemas/apps/mate-power-manager/general/use_profile_time - /apps/mate-power-manager/general/use_profile_time - mate-power-manager - bool - true - - If the learnt profile should be used to calculate the time remaining - If the learnt profile should be used to calculate the time remaining. Only turn this off for debugging. - - - - - /schemas/apps/mate-power-manager/general/use_time_for_policy - /apps/mate-power-manager/general/use_time_for_policy - mate-power-manager - bool - true - - Whether to use time-based notifications - If time based notifications should be used. If set to false, then the percentage change is used instead, which may fix a broken ACPI BIOS. - - - - - /schemas/apps/mate-power-manager/general/check_type_cpu - /apps/mate-power-manager/general/check_type_cpu - mate-power-manager - bool - false - - Check CPU load before sleeping - If the CPU load should be checked before doing the idle action. - - - - - /schemas/apps/mate-power-manager/general/network_sleep - /apps/mate-power-manager/general/network_sleep - mate-power-manager - bool - false - - Whether NetworkManager should be connected and disconnected on sleep - Whether NetworkManager should disconnect before suspending or hibernating and connect on resume. - - - - - /schemas/apps/mate-power-manager/lock/use_screensaver_settings - /apps/mate-power-manager/lock/use_screensaver_settings - mate-power-manager - bool - true - - Use mate-screensaver lock setting - Whether to use the screen lock setting of mate-screensaver to decide if the screen is locked after a hibernate, suspend or blank screen. - - - - - /schemas/apps/mate-power-manager/lock/blank_screen - /apps/mate-power-manager/lock/blank_screen - mate-power-manager - bool - true - - Lock screen when blanked - Whether the screen is locked when the screen is turned off. Only used if lock_use_screensaver_settings is false. - - - - - /schemas/apps/mate-power-manager/lock/suspend - /apps/mate-power-manager/lock/suspend - mate-power-manager - bool - true - - Lock screen on suspend - Whether the screen is locked when the computer wakes up from a suspend. Only used if lock_use_screensaver_settings is false. - - - - - /schemas/apps/mate-power-manager/lock/hibernate - /apps/mate-power-manager/lock/hibernate - mate-power-manager - bool - true - - Lock screen on hibernate - Whether the screen is locked when the computer wakes up from a hibernate. Only used if lock_use_screensaver_settings is false. - - - - - /schemas/apps/mate-power-manager/lock/mate_keyring_suspend - /apps/mate-power-manager/lock/mate_keyring_suspend - mate-power-manager - bool - false - - Lock MATE keyring on sleep - Whether the MATE keyring is locked before the computer enters suspend. This means the keyring will have to be unlocked on resume. - - - - - /schemas/apps/mate-power-manager/lock/mate_keyring_hibernate - /apps/mate-power-manager/lock/mate_keyring_hibernate - mate-power-manager - bool - true - - Lock MATE keyring on sleep - Whether the MATE keyring is locked before the computer enters hibernate. This means the keyring will have to be unlocked on resume. - - - - - /schemas/apps/mate-power-manager/disks/spindown_enable_ac - /apps/mate-power-manager/disks/spindown_enable_ac - mate-power-manager - bool - false - - If the low-power mode should be enabled when on AC - If the system low-power mode should be enabled when on AC power. - - - - - /schemas/apps/mate-power-manager/disks/spindown_enable_battery - /apps/mate-power-manager/disks/spindown_enable_battery - mate-power-manager - bool - true - - If the low-power mode should be enabled when on battery - If the system low-power mode should be enabled when on laptop battery power. - - - - - /schemas/apps/mate-power-manager/disks/spindown_timeout_ac - /apps/mate-power-manager/disks/spindown_timeout_ac - mate-power-manager - int - 600 - - Seconds of inactivity to spin down when on AC - The number of seconds of inactivity to spin down the disks when on AC power. - - - - - /schemas/apps/mate-power-manager/disks/spindown_timeout_battery - /apps/mate-power-manager/disks/spindown_timeout_battery - mate-power-manager - int - 60 - - Seconds of inactivity to spin down when on battery - The number of seconds of inactivity to spin down the disks when on battery power. - - - - - /schemas/apps/mate-power-manager/notify/perhaps_recall - /apps/mate-power-manager/notify/perhaps_recall - mate-power-manager - bool - true - - If we should show the recalled battery warning for a broken battery - If we should show the recalled battery warning for a broken battery. Set this to false only if you know your battery is okay. - - - - - /schemas/apps/mate-power-manager/notify/low_capacity - /apps/mate-power-manager/notify/low_capacity - mate-power-manager - bool - true - - If we should show the low capacity warning for a broken battery - If we should show the low capacity warning for a broken battery. - - - - - /schemas/apps/mate-power-manager/notify/discharging - /apps/mate-power-manager/notify/discharging - mate-power-manager - bool - true - - Notify when AC adapter is disconnected - If the user should be notified when the AC adapter is disconnected. - - - - - /schemas/apps/mate-power-manager/notify/fully_charged - /apps/mate-power-manager/notify/fully_charged - mate-power-manager - bool - false - - Notify when fully charged - If a notification message should be displayed when the battery is fully charged. - - - - - /schemas/apps/mate-power-manager/notify/sleep_failed - /apps/mate-power-manager/notify/sleep_failed - mate-power-manager - bool - true - - Notify on a sleep failure - If a notification message should be displayed after suspend or hibernate failed. - - - - - /schemas/apps/mate-power-manager/notify/sleep_failed_uri - /apps/mate-power-manager/notify/sleep_failed_uri - mate-power-manager - string - - - The URI to show to the user on sleep failure - When sleep fails we can show the user a button to help fix the situation. Leave this blank if the button should not be shown. - - - - - /schemas/apps/mate-power-manager/notify/low_power - /apps/mate-power-manager/notify/low_power - mate-power-manager - bool - true - - Notify on a low power - If a notification message should be displayed when the battery is getting low. - - - - - /schemas/apps/mate-power-manager/statistics/show_axis_labels - /apps/mate-power-manager/statistics/show_axis_labels - mate-power-manager - bool - true - - Whether we should show the axis labels in the statistics window - Whether we should show the axis labels in the statistics window. - - - - - /schemas/apps/mate-power-manager/statistics/show_events - /apps/mate-power-manager/statistics/show_events - mate-power-manager - bool - true - - Whether we should show the events in the statistics window - Whether we should show the events in the statistics window. - - - - - /schemas/apps/mate-power-manager/statistics/smooth_data - /apps/mate-power-manager/statistics/smooth_data - mate-power-manager - bool - true - - Whether we should smooth the data in the graph - Whether we should smooth the data in the graph. - - - - - /schemas/apps/mate-power-manager/statistics/graph_type - /apps/mate-power-manager/statistics/graph_type - mate-power-manager - string - power - - The default graph type to show in the statistics window - The default graph type to show in the statistics window. - - - - - /schemas/apps/mate-power-manager/statistics/data_max_time - /apps/mate-power-manager/statistics/data_max_time - mate-power-manager - int - 21600 - - The maximum time displayed on the graph - The maximum duration of time displayed on the x-axis of the graph. - - - - - /schemas/apps/mate-power-manager/thresholds/percentage_low - /apps/mate-power-manager/thresholds/percentage_low - mate-power-manager - int - 10 - - Percentage considered low - The percentage of the battery when it is considered low. Only valid when use_time_for_policy is false. - - - - - /schemas/apps/mate-power-manager/thresholds/percentage_critical - /apps/mate-power-manager/thresholds/percentage_critical - mate-power-manager - int - 3 - - Percentage considered critical - The percentage of the battery when it is considered critical. Only valid when use_time_for_policy is false. - - - - - /schemas/apps/mate-power-manager/thresholds/percentage_action - /apps/mate-power-manager/thresholds/percentage_action - mate-power-manager - int - 2 - - Percentage action is taken - The percentage of the battery when the critical action is performed. Only valid when use_time_for_policy is false. - - - - - /schemas/apps/mate-power-manager/thresholds/time_low - /apps/mate-power-manager/thresholds/time_low - mate-power-manager - int - 1200 - - The time remaining when low - The time remaining in seconds of the battery when it is considered low. Only valid when use_time_for_policy is true. - - - - - /schemas/apps/mate-power-manager/thresholds/time_critical - /apps/mate-power-manager/thresholds/time_critical - mate-power-manager - int - 300 - - The time remaining when critical - The time remaining in seconds of the battery when it is considered critical. Only valid when use_time_for_policy is true. - - - - - /schemas/apps/mate-power-manager/thresholds/time_action - /apps/mate-power-manager/thresholds/time_action - mate-power-manager - int - 120 - - The time remaining when action is taken - The time remaining in seconds of the battery when critical action is taken. Only valid when use_time_for_policy is true. - - - - - /schemas/apps/mate-power-manager/timeout/sleep_computer_battery - /apps/mate-power-manager/timeout/sleep_computer_battery - int - 0 - - Sleep timeout computer when on battery - The amount of time in seconds the computer on battery power needs to be inactive before it goes to sleep. - - - - - /schemas/apps/mate-power-manager/timeout/sleep_computer_ac - /apps/mate-power-manager/timeout/sleep_computer_ac - int - 0 - - Sleep timeout computer when on AC - The amount of time in seconds the computer on AC power needs to be inactive before it goes to sleep. - - - - - /schemas/apps/mate-power-manager/timeout/sleep_computer_ups - /apps/mate-power-manager/timeout/sleep_computer_ups - int - 0 - - Sleep timeout computer when on UPS - The amount of time in seconds the computer on UPS power needs to be inactive before it goes to sleep. - - - - - /schemas/apps/mate-power-manager/timeout/sleep_display_ac - /apps/mate-power-manager/timeout/sleep_display_ac - int - 1800 - - Sleep timeout display when on AC - The amount of time in seconds before the display goes to sleep when the computer is on AC power. - - - - - /schemas/apps/mate-power-manager/timeout/sleep_display_battery - /apps/mate-power-manager/timeout/sleep_display_battery - int - 600 - - Sleep timeout display when on battery - The amount of time in seconds the computer on battery power needs to be inactive before the display goes to sleep. - - - - - /schemas/apps/mate-power-manager/timeout/sleep_display_ups - /apps/mate-power-manager/timeout/sleep_display_ups - int - 600 - - Sleep timeout display when on UPS - The amount of time in seconds the computer on UPS power needs to be inactive before the display goes to sleep. - - - - - /schemas/apps/mate-power-manager/ui/enable_sound - /apps/mate-power-manager/ui/enable_sound - mate-power-manager - bool - true - - If sounds should be used - If sounds should be used when the power is critically low, or inhibit requests have stopped the policy action. - - - - - /schemas/apps/mate-power-manager/ui/show_actions - /apps/mate-power-manager/ui/show_actions - mate-power-manager - bool - true - - If preferences and statistics items should be shown in the context menu - - - - - - /schemas/apps/mate-power-manager/ui/icon_policy - /apps/mate-power-manager/ui/icon_policy - mate-power-manager - string - present - - When to show the notification icon - Display options for the notification icon. Valid options are "never", "low", "critical", "charge", "present" and "always". - - - - - diff --git a/data/org.mate.power-manager.gschema.xml b/data/org.mate.power-manager.gschema.xml new file mode 100644 index 0000000..0d930e5 --- /dev/null +++ b/data/org.mate.power-manager.gschema.xml @@ -0,0 +1,338 @@ + + + + 'hibernate' + Whether to hibernate, suspend or do nothing when inactive + The type of sleeping that should be performed when the computer is inactive. Possible values are "hibernate", "suspend" and "nothing". + + + 'hibernate' + Battery critical low action + The action to take when the battery is critically low. Possible values are "hibernate", "suspend", "shutdown" and "nothing". + + + true + If the battery event should occur when the lid is shut and the power disconnected + If the battery lid close event should occur (for example 'Suspend when lid closed on battery') when the lid is previously shut and the AC power disconnected at a later time. + + + 'suspend' + Whether to hibernate, suspend or do nothing when inactive + The type of sleeping that should be performed when the computer is inactive. Possible values are "hibernate", "suspend" and "nothing". + + + 'shutdown' + UPS critical low action + The action to take when the UPS is critically low. Possible values are "hibernate", "suspend", "shutdown" and "nothing". + + + 'hibernate' + UPS low power action + The action to take when the UPS is low. Possible values are "hibernate", "suspend", "shutdown" and "nothing". + + + true + Allow backlight brightness adjustment + If the screen brightness should be changed when switching between AC and battery power. + + + true + Reduce the backlight brightness when on battery power + If the screen should be reduced in brightness when the computer is on battery power. + + + 30 + The brightness of the screen when idle + This is the laptop panel screen brightness used when the session is idle. Only valid when use-time-for-policy is true. + + + true + Dim the screen after a period of inactivity when on battery power + If the screen should be dimmed to save power when the computer is idle when on battery power. + + + 10 + The default amount of time to dim the screen after idle + The default amount of time to dim the screen after idle. + + + 50 + LCD dimming amount when on battery + The amount to dim the brightness of the display when on battery power. Possible values are between 0 and 100. + + + false + Dim the screen after a period of inactivity when on AC power + If the screen should be dimmed to save power when the computer is idle when on AC power. + + + 'off' + Method used to blank screen on AC + The DPMS method used to blank the screen when on AC power. Possible values are "standby", "suspend" and "off". + + + 'off' + Method used to blank screen on battery + The DPMS method used to blank the screen when on battery power. Possible values are "standby", "suspend" and "off". + + + 100.0 + LCD brightness when on AC + The brightness of the display when on AC power. Possible values are between 0.0 and 100.0. + + + 'suspend' + Suspend button action + The action to take when the system suspend button is pressed. Possible values are "suspend", "hibernate", "interactive", "shutdown" and "nothing". + + + 'hibernate' + Hibernate button action + The action to take when the system hibernate button is pressed. Possible values are "suspend", "hibernate", "interactive", "shutdown" and "nothing". + + + 'interactive' + Power button action + The action to take when the system power button is pressed. Possible values are "suspend", "hibernate", "interactive", "shutdown" and "nothing". + + + 'suspend' + Laptop lid close action on battery + The action to take when the laptop lid is closed and the laptop is on battery power. Possible values are "suspend", "hibernate", "blank", and "nothing". + + + 'suspend' + Laptop lid close action when on AC + The action to take when the laptop lid is closed and the laptop is on AC power. Possible values are "suspend", "hibernate", "blank" and "nothing". + + + 3 + The default configuration version. + The version of the installed version of the schema. Do not edit this value, it is used so that configure changes between versions can be detected. + + + true + If the learnt profile should be used to calculate the time remaining + If the learnt profile should be used to calculate the time remaining. Only turn this off for debugging. + + + true + Whether to use time-based notifications + If time based notifications should be used. If set to false, then the percentage change is used instead, which may fix a broken ACPI BIOS. + + + false + Check CPU load before sleeping + If the CPU load should be checked before doing the idle action. + + + false + Whether NetworkManager should be connected and disconnected on sleep. + Whether NetworkManager should disconnect before suspending or hibernating and connect on resume. + + + true + Use mate-screensaver lock setting + Whether to use the screen lock setting of mate-screensaver to decide if the screen is locked after a hibernate, suspend or blank screen. + + + true + Lock screen when blanked + Whether the screen is locked when the screen is turned off. Only used if lock-use-screensaver is false. + + + true + Lock screen on suspend + Whether the screen is locked when the computer wakes up from a suspend. Only used if lock-use-screensaver is false. + + + true + Lock screen on hibernate + Whether the screen is locked when the computer wakes up from a hibernate. Only used if lock-use-screensaver is false. + + + false + Lock MATE keyring on sleep + Whether the MATE keyring is locked before the computer enters suspend. This means the keyring will have to be unlocked on resume. + + + true + Lock MATE keyring on sleep + Whether the MATE keyring is locked before the computer enters hibernate. This means the keyring will have to be unlocked on resume. + + + false + If the low-power mode should be enabled when on AC + If the system low-power mode should be enabled when on AC power. + + + true + If the low-power mode should be enabled when on battery + If the system low-power mode should be enabled when on laptop battery power. + + + 600 + Seconds of inactivity to spin down when on AC + The number of seconds of inactivity to spin down the disks when on AC power. + + + 60 + Seconds of inactivity to spin down when on battery + The number of seconds of inactivity to spin down the disks when on battery power. + + + true + If we should show the recalled battery warning for a broken battery + If we should show the recalled battery warning for a broken battery. Set this to false only if you know your battery is okay. + + + true + If we should show the low capacity warning for a broken battery + If we should show the low capacity warning for a broken battery. + + + true + Notify when AC adapter is disconnected + If the user should be notified when the AC adapter is disconnected. + + + false + Notify when fully charged + If a notification message should be displayed when the battery is fully charged. + + + true + Notify on a sleep failure + If a notification message should be displayed after suspend or hibernate failed. + + + '' + The URI to show to the user on sleep failure + When sleep fails we can show the user a button to help fix the situation. Leave this blank if the button should not be shown. + + + true + Notify on a low power + If a notification message should be displayed when the battery is getting low. + + + true + Whether we should show the history data points + Whether we should show the history data points in the statistics window. + + + true + Whether we should smooth the history data + Whether we should smooth the history data in the graph. + + + 'power' + The default graph type to show for history + The default graph type to show in the history window. + + + 21600 + The maximum time displayed for history + The maximum duration of time displayed on the x-axis of the history graph. + + + true + Whether we should show the stats data points + Whether we should show the stats data points in the statistics window. + + + true + Whether we should smooth the stats data + Whether we should smooth the stats data in the graph. + + + 'power' + The default graph type to show for stats + The default graph type to show in the stats window. + + + 0 + The index of the page number to show by default + The index of the page number to show by default which is used to return focus to the correct page. + + + '' + The ID of the last device selected + The identifier of the last device which is used to return focus to the correct device. + + + 10 + Percentage considered low + The percentage of the battery when it is considered low. Only valid when use-time-for-policy is false. + + + 3 + Percentage considered critical + The percentage of the battery when it is considered critical. Only valid when use-time-for-policy is false. + + + 2 + Percentage action is taken + The percentage of the battery when the critical action is performed. Only valid when use-time-for-policy is false. + + + 1200 + The time remaining when low + The time remaining in seconds of the battery when it is considered low. Only valid when use-time-for-policy is true. + + + 300 + The time remaining when critical + The time remaining in seconds of the battery when it is considered critical. Only valid when use-time-for-policy is true. + + + 120 + The time remaining when action is taken + The time remaining in seconds of the battery when critical action is taken. Only valid when use-time-for-policy is true. + + + 0 + Sleep timeout computer when on battery + The amount of time in seconds the computer on battery power needs to be inactive before it goes to sleep. + + + 0 + Sleep timeout computer when on AC + The amount of time in seconds the computer on AC power needs to be inactive before it goes to sleep. + + + 0 + Sleep timeout computer when on UPS + The amount of time in seconds the computer on UPS power needs to be inactive before it goes to sleep. + + + 1800 + Sleep timeout display when on AC + The amount of time in seconds before the display goes to sleep when the computer is on AC power. + + + 600 + Sleep timeout display when on battery + The amount of time in seconds the computer on battery power needs to be inactive before the display goes to sleep. + + + 600 + Sleep timeout display when on UPS + The amount of time in seconds the computer on UPS power needs to be inactive before the display goes to sleep. + + + true + If sounds should be used + If sounds should be used when the power is critically low, or inhibit requests have stopped the policy action. + + + true + If preferences and statistics items should be shown in the context menu + + + 'present' + When to show the notification icon + Display options for the notification icon. Valid options are "never", "low", "critical", "charge", and "present". + + + -- cgit v1.2.1