summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/Makefile.am8
-rw-r--r--data/org.mate.power-manager.gschema.xml359
-rw-r--r--data/org.mate.power-manager.gschema.xml.in359
-rw-r--r--po/POTFILES.in2
4 files changed, 366 insertions, 362 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 0f0d775..06aab6e 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -20,7 +20,9 @@ $(service_DATA): $(service_in_files) Makefile
@sed -e "s|\@servicedir\@|$(bindir)|" $< > $@
@GSETTINGS_RULES@
-gsettings_SCHEMAS = org.mate.power-manager.gschema.xml
+@INTLTOOL_XML_NOMERGE_RULE@
+gsettings_schemas_in_files = org.mate.power-manager.gschema.xml.in
+gsettings_SCHEMAS = $(gsettings_schemas_in_files:.gschema.xml.in=.gschema.xml)
pkgdata_DATA = \
gpm-statistics.ui \
@@ -35,6 +37,7 @@ EXTRA_DIST = \
$(service_in_files) \
$(autostart_in_files) \
$(desktop_in_files) \
+ $(gsettings_schemas_in_files) \
$(pkgdata_DATA)
clean-local :
@@ -44,4 +47,5 @@ DISTCLEANFILES = \
mate-power-manager.desktop \
mate-power-preferences.desktop \
mate-power-statistics.desktop \
- mate-power-manager.service
+ mate-power-manager.service \
+ org.mate.power-manager.gschema.xml
diff --git a/data/org.mate.power-manager.gschema.xml b/data/org.mate.power-manager.gschema.xml
deleted file mode 100644
index daa78f3..0000000
--- a/data/org.mate.power-manager.gschema.xml
+++ /dev/null
@@ -1,359 +0,0 @@
-<schemalist>
- <enum id="org.mate.power-manager.ActionType">
- <value nick="blank" value="0"/>
- <value nick="suspend" value="1"/>
- <value nick="shutdown" value="2"/>
- <value nick="hibernate" value="3"/>
- <value nick="interactive" value="4"/>
- <value nick="nothing" value="5"/>
- </enum>
- <enum id="org.mate.power-manager.IconPolicy">
- <value nick="always" value="0"/>
- <value nick="present" value="1"/>
- <value nick="charge" value="2"/>
- <value nick="low" value="3"/>
- <value nick="critical" value="4"/>
- <value nick="never" value="5"/>
- </enum>
- <enum id="org.mate.power-manager.DpmsMethod">
- <value nick="standby" value="1"/>
- <value nick="suspend" value="2"/>
- <value nick="off" value="3"/>
- </enum>
- <schema id="org.mate.power-manager" path="/org/mate/power-manager/">
- <key name="action-sleep-type-battery" enum="org.mate.power-manager.ActionType">
- <default>'hibernate'</default>
- <summary>Whether to hibernate, suspend or do nothing when inactive</summary>
- <description>The type of sleeping that should be performed when the computer is inactive.</description>
- </key>
- <key name="action-critical-battery" enum="org.mate.power-manager.ActionType">
- <default>'hibernate'</default>
- <summary>Battery critical low action</summary>
- <description>The action to take when the battery is critically low.</description>
- </key>
- <key name="event-when-closed-battery" type="b">
- <default>true</default>
- <summary>If the battery event should occur when the lid is shut and the power disconnected</summary>
- <description>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.</description>
- </key>
- <key name="action-sleep-type-ac" enum="org.mate.power-manager.ActionType">
- <default>'suspend'</default>
- <summary>Whether to hibernate, suspend or do nothing when inactive</summary>
- <description>The type of sleeping that should be performed when the computer is inactive.</description>
- </key>
- <key name="action-critical-ups" enum="org.mate.power-manager.ActionType">
- <default>'shutdown'</default>
- <summary>UPS critical low action</summary>
- <description>The action to take when the UPS is critically low.</description>
- </key>
- <key name="action-low-ups" enum="org.mate.power-manager.ActionType">
- <default>'hibernate'</default>
- <summary>UPS low power action</summary>
- <description>The action to take when the UPS is low.</description>
- </key>
- <key name="backlight-enable" type="b">
- <default>true</default>
- <summary>Allow backlight brightness adjustment</summary>
- <description>If the screen brightness should be changed when switching between AC and battery power.</description>
- </key>
- <key name="backlight-battery-reduce" type="b">
- <default>true</default>
- <summary>Reduce the backlight brightness when on battery power</summary>
- <description>If the screen should be reduced in brightness when the computer is on battery power.</description>
- </key>
- <key name="idle-brightness" type="i">
- <default>30</default>
- <summary>The brightness of the screen when idle</summary>
- <description>This is the laptop panel screen brightness used when the session is idle. Only valid when use-time-for-policy is true.</description>
- </key>
- <key name="idle-dim-battery" type="b">
- <default>true</default>
- <summary>Dim the screen after a period of inactivity when on battery power</summary>
- <description>If the screen should be dimmed to save power when the computer is idle when on battery power.</description>
- </key>
- <key name="idle-dim-time" type="i">
- <default>10</default>
- <summary>The default amount of time to dim the screen after idle</summary>
- <description>The default amount of time to dim the screen after idle.</description>
- </key>
- <key name="brightness-dim-battery" type="i">
- <default>50</default>
- <summary>LCD dimming amount when on battery</summary>
- <description>The amount to dim the brightness of the display when on battery power. Possible values are between 0 and 100.</description>
- </key>
- <key name="idle-dim-ac" type="b">
- <default>false</default>
- <summary>Dim the screen after a period of inactivity when on AC power</summary>
- <description>If the screen should be dimmed to save power when the computer is idle when on AC power.</description>
- </key>
- <key name="dpms-method-ac" enum="org.mate.power-manager.DpmsMethod">
- <default>'off'</default>
- <summary>Method used to blank screen on AC</summary>
- <description>The DPMS method used to blank the screen when on AC power.</description>
- </key>
- <key name="dpms-method-battery" enum="org.mate.power-manager.DpmsMethod">
- <default>'off'</default>
- <summary>Method used to blank screen on battery</summary>
- <description>The DPMS method used to blank the screen when on battery power.</description>
- </key>
- <key name="brightness-ac" type="d">
- <default>100.0</default>
- <summary>LCD brightness when on AC</summary>
- <description>The brightness of the display when on AC power. Possible values are between 0.0 and 100.0.</description>
- </key>
- <key name="button-suspend" enum="org.mate.power-manager.ActionType">
- <default>'suspend'</default>
- <summary>Suspend button action</summary>
- <description>The action to take when the system suspend button is pressed.</description>
- </key>
- <key name="button-hibernate" enum="org.mate.power-manager.ActionType">
- <default>'hibernate'</default>
- <summary>Hibernate button action</summary>
- <description>The action to take when the system hibernate button is pressed.</description>
- </key>
- <key name="button-power" enum="org.mate.power-manager.ActionType">
- <default>'interactive'</default>
- <summary>Power button action</summary>
- <description>The action to take when the system power button is pressed.</description>
- </key>
- <key name="button-lid-battery" enum="org.mate.power-manager.ActionType">
- <default>'suspend'</default>
- <summary>Laptop lid close action on battery</summary>
- <description>The action to take when the laptop lid is closed and the laptop is on battery power.</description>
- </key>
- <key name="button-lid-ac" enum="org.mate.power-manager.ActionType">
- <default>'suspend'</default>
- <summary>Laptop lid close action when on AC</summary>
- <description>The action to take when the laptop lid is closed and the laptop is on AC power.</description>
- </key>
- <key name="schema-version" type="i">
- <default>3</default>
- <summary>The default configuration version.</summary>
- <description>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.</description>
- </key>
- <key name="use-profile-time" type="b">
- <default>true</default>
- <summary>If the learnt profile should be used to calculate the time remaining</summary>
- <description>If the learnt profile should be used to calculate the time remaining. Only turn this off for debugging.</description>
- </key>
- <key name="use-time-for-policy" type="b">
- <default>true</default>
- <summary>Whether to use time-based notifications</summary>
- <description>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.</description>
- </key>
- <key name="check-type-cpu" type="b">
- <default>false</default>
- <summary>Check CPU load before sleeping</summary>
- <description>If the CPU load should be checked before doing the idle action.</description>
- </key>
- <key name="network-sleep" type="b">
- <default>false</default>
- <summary>Whether NetworkManager should be connected and disconnected on sleep.</summary>
- <description>Whether NetworkManager should disconnect before suspending or hibernating and connect on resume.</description>
- </key>
- <key name="lock-use-screensaver" type="b">
- <default>true</default>
- <summary>Use mate-screensaver lock setting</summary>
- <description>Whether to use the screen lock setting of mate-screensaver to decide if the screen is locked after a hibernate, suspend or blank screen.</description>
- </key>
- <key name="lock-blank-screen" type="b">
- <default>true</default>
- <summary>Lock screen when blanked</summary>
- <description>Whether the screen is locked when the screen is turned off. Only used if lock-use-screensaver is false.</description>
- </key>
- <key name="lock-suspend" type="b">
- <default>true</default>
- <summary>Lock screen on suspend</summary>
- <description>Whether the screen is locked when the computer wakes up from a suspend. Only used if lock-use-screensaver is false.</description>
- </key>
- <key name="lock-hibernate" type="b">
- <default>true</default>
- <summary>Lock screen on hibernate</summary>
- <description>Whether the screen is locked when the computer wakes up from a hibernate. Only used if lock-use-screensaver is false.</description>
- </key>
- <key name="lock-keyring-suspend" type="b">
- <default>false</default>
- <summary>Lock MATE keyring on sleep</summary>
- <description>Whether the MATE keyring is locked before the computer enters suspend. This means the keyring will have to be unlocked on resume.</description>
- </key>
- <key name="lock-keyring-hibernate" type="b">
- <default>true</default>
- <summary>Lock MATE keyring on sleep</summary>
- <description>Whether the MATE keyring is locked before the computer enters hibernate. This means the keyring will have to be unlocked on resume.</description>
- </key>
- <key name="spindown-enable-ac" type="b">
- <default>false</default>
- <summary>If the low-power mode should be enabled when on AC</summary>
- <description>If the system low-power mode should be enabled when on AC power.</description>
- </key>
- <key name="spindown-enable-battery" type="b">
- <default>true</default>
- <summary>If the low-power mode should be enabled when on battery</summary>
- <description>If the system low-power mode should be enabled when on laptop battery power.</description>
- </key>
- <key name="spindown-timeout-ac" type="i">
- <default>600</default>
- <summary>Seconds of inactivity to spin down when on AC</summary>
- <description>The number of seconds of inactivity to spin down the disks when on AC power.</description>
- </key>
- <key name="spindown-timeout-battery" type="i">
- <default>60</default>
- <summary>Seconds of inactivity to spin down when on battery</summary>
- <description>The number of seconds of inactivity to spin down the disks when on battery power.</description>
- </key>
- <key name="notify-perhaps-recall" type="b">
- <default>true</default>
- <summary>If we should show the recalled battery warning for a broken battery</summary>
- <description>If we should show the recalled battery warning for a broken battery. Set this to false only if you know your battery is okay.</description>
- </key>
- <key name="notify-low-capacity" type="b">
- <default>true</default>
- <summary>If we should show the low capacity warning for a broken battery</summary>
- <description>If we should show the low capacity warning for a broken battery.</description>
- </key>
- <key name="notify-discharging" type="b">
- <default>true</default>
- <summary>Notify when AC adapter is disconnected</summary>
- <description>If the user should be notified when the AC adapter is disconnected.</description>
- </key>
- <key name="notify-fully-charged" type="b">
- <default>false</default>
- <summary>Notify when fully charged</summary>
- <description>If a notification message should be displayed when the battery is fully charged.</description>
- </key>
- <key name="notify-sleep-failed" type="b">
- <default>true</default>
- <summary>Notify on a sleep failure</summary>
- <description>If a notification message should be displayed after suspend or hibernate failed.</description>
- </key>
- <key name="notify-sleep-failed-uri" type="s">
- <default>''</default>
- <summary>The URI to show to the user on sleep failure</summary>
- <description>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.</description>
- </key>
- <key name="notify-low-power" type="b">
- <default>true</default>
- <summary>Notify on a low power</summary>
- <description>If a notification message should be displayed when the battery is getting low.</description>
- </key>
- <key name="info-history-graph-points" type="b">
- <default>true</default>
- <summary>Whether we should show the history data points</summary>
- <description>Whether we should show the history data points in the statistics window.</description>
- </key>
- <key name="info-history-graph-smooth" type="b">
- <default>true</default>
- <summary>Whether we should smooth the history data</summary>
- <description>Whether we should smooth the history data in the graph.</description>
- </key>
- <key name="info-history-type" type="s">
- <default>'power'</default>
- <summary>The default graph type to show for history</summary>
- <description>The default graph type to show in the history window.</description>
- </key>
- <key name="info-history-time" type="i">
- <default>21600</default>
- <summary>The maximum time displayed for history</summary>
- <description>The maximum duration of time displayed on the x-axis of the history graph.</description>
- </key>
- <key name="info-stats-graph-points" type="b">
- <default>true</default>
- <summary>Whether we should show the stats data points</summary>
- <description>Whether we should show the stats data points in the statistics window.</description>
- </key>
- <key name="info-stats-graph-smooth" type="b">
- <default>true</default>
- <summary>Whether we should smooth the stats data</summary>
- <description>Whether we should smooth the stats data in the graph.</description>
- </key>
- <key name="info-stats-type" type="s">
- <default>'power'</default>
- <summary>The default graph type to show for stats</summary>
- <description>The default graph type to show in the stats window.</description>
- </key>
- <key name="info-page-number" type="i">
- <default>0</default>
- <summary>The index of the page number to show by default</summary>
- <description>The index of the page number to show by default which is used to return focus to the correct page.</description>
- </key>
- <key name="info-last-device" type="s">
- <default>''</default>
- <summary>The ID of the last device selected</summary>
- <description>The identifier of the last device which is used to return focus to the correct device.</description>
- </key>
- <key name="percentage-low" type="i">
- <default>10</default>
- <summary>Percentage considered low</summary>
- <description>The percentage of the battery when it is considered low. Only valid when use-time-for-policy is false.</description>
- </key>
- <key name="percentage-critical" type="i">
- <default>3</default>
- <summary>Percentage considered critical</summary>
- <description>The percentage of the battery when it is considered critical. Only valid when use-time-for-policy is false.</description>
- </key>
- <key name="percentage-action" type="i">
- <default>2</default>
- <summary>Percentage action is taken</summary>
- <description>The percentage of the battery when the critical action is performed. Only valid when use-time-for-policy is false.</description>
- </key>
- <key name="time-low" type="i">
- <default>1200</default>
- <summary>The time remaining when low</summary>
- <description>The time remaining in seconds of the battery when it is considered low. Only valid when use-time-for-policy is true.</description>
- </key>
- <key name="time-critical" type="i">
- <default>300</default>
- <summary>The time remaining when critical</summary>
- <description>The time remaining in seconds of the battery when it is considered critical. Only valid when use-time-for-policy is true.</description>
- </key>
- <key name="time-action" type="i">
- <default>120</default>
- <summary>The time remaining when action is taken</summary>
- <description>The time remaining in seconds of the battery when critical action is taken. Only valid when use-time-for-policy is true.</description>
- </key>
- <key name="sleep-computer-battery" type="i">
- <default>0</default>
- <summary>Sleep timeout computer when on battery</summary>
- <description>The amount of time in seconds the computer on battery power needs to be inactive before it goes to sleep.</description>
- </key>
- <key name="sleep-computer-ac" type="i">
- <default>0</default>
- <summary>Sleep timeout computer when on AC</summary>
- <description>The amount of time in seconds the computer on AC power needs to be inactive before it goes to sleep.</description>
- </key>
- <key name="sleep-computer-ups" type="i">
- <default>0</default>
- <summary>Sleep timeout computer when on UPS</summary>
- <description>The amount of time in seconds the computer on UPS power needs to be inactive before it goes to sleep.</description>
- </key>
- <key name="sleep-display-ac" type="i">
- <default>1800</default>
- <summary>Sleep timeout display when on AC</summary>
- <description>The amount of time in seconds before the display goes to sleep when the computer is on AC power.</description>
- </key>
- <key name="sleep-display-battery" type="i">
- <default>600</default>
- <summary>Sleep timeout display when on battery</summary>
- <description>The amount of time in seconds the computer on battery power needs to be inactive before the display goes to sleep.</description>
- </key>
- <key name="sleep-display-ups" type="i">
- <default>600</default>
- <summary>Sleep timeout display when on UPS</summary>
- <description>The amount of time in seconds the computer on UPS power needs to be inactive before the display goes to sleep.</description>
- </key>
- <key name="enable-sound" type="b">
- <default>true</default>
- <summary>If sounds should be used</summary>
- <description>If sounds should be used when the power is critically low, or inhibit requests have stopped the policy action.</description>
- </key>
- <key name="show-actions" type="b">
- <default>true</default>
- <summary>If preferences and statistics items should be shown in the context menu</summary>
- </key>
- <key name="icon-policy" enum="org.mate.power-manager.IconPolicy">
- <default>'present'</default>
- <summary>When to show the notification icon</summary>
- <description>Display options for the notification icon.</description>
- </key>
- </schema>
-</schemalist>
diff --git a/data/org.mate.power-manager.gschema.xml.in b/data/org.mate.power-manager.gschema.xml.in
new file mode 100644
index 0000000..a760c37
--- /dev/null
+++ b/data/org.mate.power-manager.gschema.xml.in
@@ -0,0 +1,359 @@
+<schemalist>
+ <enum id="org.mate.power-manager.ActionType">
+ <value nick="blank" value="0"/>
+ <value nick="suspend" value="1"/>
+ <value nick="shutdown" value="2"/>
+ <value nick="hibernate" value="3"/>
+ <value nick="interactive" value="4"/>
+ <value nick="nothing" value="5"/>
+ </enum>
+ <enum id="org.mate.power-manager.IconPolicy">
+ <value nick="always" value="0"/>
+ <value nick="present" value="1"/>
+ <value nick="charge" value="2"/>
+ <value nick="low" value="3"/>
+ <value nick="critical" value="4"/>
+ <value nick="never" value="5"/>
+ </enum>
+ <enum id="org.mate.power-manager.DpmsMethod">
+ <value nick="standby" value="1"/>
+ <value nick="suspend" value="2"/>
+ <value nick="off" value="3"/>
+ </enum>
+ <schema id="org.mate.power-manager" path="/org/mate/power-manager/">
+ <key name="action-sleep-type-battery" enum="org.mate.power-manager.ActionType">
+ <default>'hibernate'</default>
+ <_summary>Whether to hibernate, suspend or do nothing when inactive</_summary>
+ <_description>The type of sleeping that should be performed when the computer is inactive.</_description>
+ </key>
+ <key name="action-critical-battery" enum="org.mate.power-manager.ActionType">
+ <default>'hibernate'</default>
+ <_summary>Battery critical low action</_summary>
+ <_description>The action to take when the battery is critically low.</_description>
+ </key>
+ <key name="event-when-closed-battery" type="b">
+ <default>true</default>
+ <_summary>If the battery event should occur when the lid is shut and the power disconnected</_summary>
+ <_description>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.</_description>
+ </key>
+ <key name="action-sleep-type-ac" enum="org.mate.power-manager.ActionType">
+ <default>'suspend'</default>
+ <_summary>Whether to hibernate, suspend or do nothing when inactive</_summary>
+ <_description>The type of sleeping that should be performed when the computer is inactive.</_description>
+ </key>
+ <key name="action-critical-ups" enum="org.mate.power-manager.ActionType">
+ <default>'shutdown'</default>
+ <_summary>UPS critical low action</_summary>
+ <_description>The action to take when the UPS is critically low.</_description>
+ </key>
+ <key name="action-low-ups" enum="org.mate.power-manager.ActionType">
+ <default>'hibernate'</default>
+ <_summary>UPS low power action</_summary>
+ <_description>The action to take when the UPS is low.</_description>
+ </key>
+ <key name="backlight-enable" type="b">
+ <default>true</default>
+ <_summary>Allow backlight brightness adjustment</_summary>
+ <_description>If the screen brightness should be changed when switching between AC and battery power.</_description>
+ </key>
+ <key name="backlight-battery-reduce" type="b">
+ <default>true</default>
+ <_summary>Reduce the backlight brightness when on battery power</_summary>
+ <_description>If the screen should be reduced in brightness when the computer is on battery power.</_description>
+ </key>
+ <key name="idle-brightness" type="i">
+ <default>30</default>
+ <_summary>The brightness of the screen when idle</_summary>
+ <_description>This is the laptop panel screen brightness used when the session is idle. Only valid when use-time-for-policy is true.</_description>
+ </key>
+ <key name="idle-dim-battery" type="b">
+ <default>true</default>
+ <_summary>Dim the screen after a period of inactivity when on battery power</_summary>
+ <_description>If the screen should be dimmed to save power when the computer is idle when on battery power.</_description>
+ </key>
+ <key name="idle-dim-time" type="i">
+ <default>10</default>
+ <_summary>The default amount of time to dim the screen after idle</_summary>
+ <_description>The default amount of time to dim the screen after idle.</_description>
+ </key>
+ <key name="brightness-dim-battery" type="i">
+ <default>50</default>
+ <_summary>LCD dimming amount when on battery</_summary>
+ <_description>The amount to dim the brightness of the display when on battery power. Possible values are between 0 and 100.</_description>
+ </key>
+ <key name="idle-dim-ac" type="b">
+ <default>false</default>
+ <_summary>Dim the screen after a period of inactivity when on AC power</_summary>
+ <_description>If the screen should be dimmed to save power when the computer is idle when on AC power.</_description>
+ </key>
+ <key name="dpms-method-ac" enum="org.mate.power-manager.DpmsMethod">
+ <default>'off'</default>
+ <_summary>Method used to blank screen on AC</_summary>
+ <_description>The DPMS method used to blank the screen when on AC power.</_description>
+ </key>
+ <key name="dpms-method-battery" enum="org.mate.power-manager.DpmsMethod">
+ <default>'off'</default>
+ <_summary>Method used to blank screen on battery</_summary>
+ <_description>The DPMS method used to blank the screen when on battery power.</_description>
+ </key>
+ <key name="brightness-ac" type="d">
+ <default>100.0</default>
+ <_summary>LCD brightness when on AC</_summary>
+ <_description>The brightness of the display when on AC power. Possible values are between 0.0 and 100.0.</_description>
+ </key>
+ <key name="button-suspend" enum="org.mate.power-manager.ActionType">
+ <default>'suspend'</default>
+ <_summary>Suspend button action</_summary>
+ <_description>The action to take when the system suspend button is pressed.</_description>
+ </key>
+ <key name="button-hibernate" enum="org.mate.power-manager.ActionType">
+ <default>'hibernate'</default>
+ <_summary>Hibernate button action</_summary>
+ <_description>The action to take when the system hibernate button is pressed.</_description>
+ </key>
+ <key name="button-power" enum="org.mate.power-manager.ActionType">
+ <default>'interactive'</default>
+ <_summary>Power button action</_summary>
+ <_description>The action to take when the system power button is pressed.</_description>
+ </key>
+ <key name="button-lid-battery" enum="org.mate.power-manager.ActionType">
+ <default>'suspend'</default>
+ <_summary>Laptop lid close action on battery</_summary>
+ <_description>The action to take when the laptop lid is closed and the laptop is on battery power.</_description>
+ </key>
+ <key name="button-lid-ac" enum="org.mate.power-manager.ActionType">
+ <default>'suspend'</default>
+ <_summary>Laptop lid close action when on AC</_summary>
+ <_description>The action to take when the laptop lid is closed and the laptop is on AC power.</_description>
+ </key>
+ <key name="schema-version" type="i">
+ <default>3</default>
+ <_summary>The default configuration version.</_summary>
+ <_description>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.</_description>
+ </key>
+ <key name="use-profile-time" type="b">
+ <default>true</default>
+ <_summary>If the learnt profile should be used to calculate the time remaining</_summary>
+ <_description>If the learnt profile should be used to calculate the time remaining. Only turn this off for debugging.</_description>
+ </key>
+ <key name="use-time-for-policy" type="b">
+ <default>true</default>
+ <_summary>Whether to use time-based notifications</_summary>
+ <_description>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.</_description>
+ </key>
+ <key name="check-type-cpu" type="b">
+ <default>false</default>
+ <_summary>Check CPU load before sleeping</_summary>
+ <_description>If the CPU load should be checked before doing the idle action.</_description>
+ </key>
+ <key name="network-sleep" type="b">
+ <default>false</default>
+ <_summary>Whether NetworkManager should be connected and disconnected on sleep.</_summary>
+ <_description>Whether NetworkManager should disconnect before suspending or hibernating and connect on resume.</_description>
+ </key>
+ <key name="lock-use-screensaver" type="b">
+ <default>true</default>
+ <_summary>Use mate-screensaver lock setting</_summary>
+ <_description>Whether to use the screen lock setting of mate-screensaver to decide if the screen is locked after a hibernate, suspend or blank screen.</_description>
+ </key>
+ <key name="lock-blank-screen" type="b">
+ <default>true</default>
+ <_summary>Lock screen when blanked</_summary>
+ <_description>Whether the screen is locked when the screen is turned off. Only used if lock-use-screensaver is false.</_description>
+ </key>
+ <key name="lock-suspend" type="b">
+ <default>true</default>
+ <_summary>Lock screen on suspend</_summary>
+ <_description>Whether the screen is locked when the computer wakes up from a suspend. Only used if lock-use-screensaver is false.</_description>
+ </key>
+ <key name="lock-hibernate" type="b">
+ <default>true</default>
+ <_summary>Lock screen on hibernate</_summary>
+ <_description>Whether the screen is locked when the computer wakes up from a hibernate. Only used if lock-use-screensaver is false.</_description>
+ </key>
+ <key name="lock-keyring-suspend" type="b">
+ <default>false</default>
+ <_summary>Lock MATE keyring on sleep</_summary>
+ <_description>Whether the MATE keyring is locked before the computer enters suspend. This means the keyring will have to be unlocked on resume.</_description>
+ </key>
+ <key name="lock-keyring-hibernate" type="b">
+ <default>true</default>
+ <_summary>Lock MATE keyring on sleep</_summary>
+ <_description>Whether the MATE keyring is locked before the computer enters hibernate. This means the keyring will have to be unlocked on resume.</_description>
+ </key>
+ <key name="spindown-enable-ac" type="b">
+ <default>false</default>
+ <_summary>If the low-power mode should be enabled when on AC</_summary>
+ <_description>If the system low-power mode should be enabled when on AC power.</_description>
+ </key>
+ <key name="spindown-enable-battery" type="b">
+ <default>true</default>
+ <_summary>If the low-power mode should be enabled when on battery</_summary>
+ <_description>If the system low-power mode should be enabled when on laptop battery power.</_description>
+ </key>
+ <key name="spindown-timeout-ac" type="i">
+ <default>600</default>
+ <_summary>Seconds of inactivity to spin down when on AC</_summary>
+ <_description>The number of seconds of inactivity to spin down the disks when on AC power.</_description>
+ </key>
+ <key name="spindown-timeout-battery" type="i">
+ <default>60</default>
+ <_summary>Seconds of inactivity to spin down when on battery</_summary>
+ <_description>The number of seconds of inactivity to spin down the disks when on battery power.</_description>
+ </key>
+ <key name="notify-perhaps-recall" type="b">
+ <default>true</default>
+ <_summary>If we should show the recalled battery warning for a broken battery</_summary>
+ <_description>If we should show the recalled battery warning for a broken battery. Set this to false only if you know your battery is okay.</_description>
+ </key>
+ <key name="notify-low-capacity" type="b">
+ <default>true</default>
+ <_summary>If we should show the low capacity warning for a broken battery</_summary>
+ <_description>If we should show the low capacity warning for a broken battery.</_description>
+ </key>
+ <key name="notify-discharging" type="b">
+ <default>true</default>
+ <_summary>Notify when AC adapter is disconnected</_summary>
+ <_description>If the user should be notified when the AC adapter is disconnected.</_description>
+ </key>
+ <key name="notify-fully-charged" type="b">
+ <default>false</default>
+ <_summary>Notify when fully charged</_summary>
+ <_description>If a notification message should be displayed when the battery is fully charged.</_description>
+ </key>
+ <key name="notify-sleep-failed" type="b">
+ <default>true</default>
+ <_summary>Notify on a sleep failure</_summary>
+ <_description>If a notification message should be displayed after suspend or hibernate failed.</_description>
+ </key>
+ <key name="notify-sleep-failed-uri" type="s">
+ <default>''</default>
+ <_summary>The URI to show to the user on sleep failure</_summary>
+ <_description>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.</_description>
+ </key>
+ <key name="notify-low-power" type="b">
+ <default>true</default>
+ <_summary>Notify on a low power</_summary>
+ <_description>If a notification message should be displayed when the battery is getting low.</_description>
+ </key>
+ <key name="info-history-graph-points" type="b">
+ <default>true</default>
+ <_summary>Whether we should show the history data points</_summary>
+ <_description>Whether we should show the history data points in the statistics window.</_description>
+ </key>
+ <key name="info-history-graph-smooth" type="b">
+ <default>true</default>
+ <_summary>Whether we should smooth the history data</_summary>
+ <_description>Whether we should smooth the history data in the graph.</_description>
+ </key>
+ <key name="info-history-type" type="s">
+ <default>'power'</default>
+ <_summary>The default graph type to show for history</_summary>
+ <_description>The default graph type to show in the history window.</_description>
+ </key>
+ <key name="info-history-time" type="i">
+ <default>21600</default>
+ <_summary>The maximum time displayed for history</_summary>
+ <_description>The maximum duration of time displayed on the x-axis of the history graph.</_description>
+ </key>
+ <key name="info-stats-graph-points" type="b">
+ <default>true</default>
+ <_summary>Whether we should show the stats data points</_summary>
+ <_description>Whether we should show the stats data points in the statistics window.</_description>
+ </key>
+ <key name="info-stats-graph-smooth" type="b">
+ <default>true</default>
+ <_summary>Whether we should smooth the stats data</_summary>
+ <_description>Whether we should smooth the stats data in the graph.</_description>
+ </key>
+ <key name="info-stats-type" type="s">
+ <default>'power'</default>
+ <_summary>The default graph type to show for stats</_summary>
+ <_description>The default graph type to show in the stats window.</_description>
+ </key>
+ <key name="info-page-number" type="i">
+ <default>0</default>
+ <_summary>The index of the page number to show by default</_summary>
+ <_description>The index of the page number to show by default which is used to return focus to the correct page.</_description>
+ </key>
+ <key name="info-last-device" type="s">
+ <default>''</default>
+ <_summary>The ID of the last device selected</_summary>
+ <_description>The identifier of the last device which is used to return focus to the correct device.</_description>
+ </key>
+ <key name="percentage-low" type="i">
+ <default>10</default>
+ <_summary>Percentage considered low</_summary>
+ <_description>The percentage of the battery when it is considered low. Only valid when use-time-for-policy is false.</_description>
+ </key>
+ <key name="percentage-critical" type="i">
+ <default>3</default>
+ <_summary>Percentage considered critical</_summary>
+ <_description>The percentage of the battery when it is considered critical. Only valid when use-time-for-policy is false.</_description>
+ </key>
+ <key name="percentage-action" type="i">
+ <default>2</default>
+ <_summary>Percentage action is taken</_summary>
+ <_description>The percentage of the battery when the critical action is performed. Only valid when use-time-for-policy is false.</_description>
+ </key>
+ <key name="time-low" type="i">
+ <default>1200</default>
+ <_summary>The time remaining when low</_summary>
+ <_description>The time remaining in seconds of the battery when it is considered low. Only valid when use-time-for-policy is true.</_description>
+ </key>
+ <key name="time-critical" type="i">
+ <default>300</default>
+ <_summary>The time remaining when critical</_summary>
+ <_description>The time remaining in seconds of the battery when it is considered critical. Only valid when use-time-for-policy is true.</_description>
+ </key>
+ <key name="time-action" type="i">
+ <default>120</default>
+ <_summary>The time remaining when action is taken</_summary>
+ <_description>The time remaining in seconds of the battery when critical action is taken. Only valid when use-time-for-policy is true.</_description>
+ </key>
+ <key name="sleep-computer-battery" type="i">
+ <default>0</default>
+ <_summary>Sleep timeout computer when on battery</_summary>
+ <_description>The amount of time in seconds the computer on battery power needs to be inactive before it goes to sleep.</_description>
+ </key>
+ <key name="sleep-computer-ac" type="i">
+ <default>0</default>
+ <_summary>Sleep timeout computer when on AC</_summary>
+ <_description>The amount of time in seconds the computer on AC power needs to be inactive before it goes to sleep.</_description>
+ </key>
+ <key name="sleep-computer-ups" type="i">
+ <default>0</default>
+ <_summary>Sleep timeout computer when on UPS</_summary>
+ <_description>The amount of time in seconds the computer on UPS power needs to be inactive before it goes to sleep.</_description>
+ </key>
+ <key name="sleep-display-ac" type="i">
+ <default>1800</default>
+ <_summary>Sleep timeout display when on AC</_summary>
+ <_description>The amount of time in seconds before the display goes to sleep when the computer is on AC power.</_description>
+ </key>
+ <key name="sleep-display-battery" type="i">
+ <default>600</default>
+ <_summary>Sleep timeout display when on battery</_summary>
+ <_description>The amount of time in seconds the computer on battery power needs to be inactive before the display goes to sleep.</_description>
+ </key>
+ <key name="sleep-display-ups" type="i">
+ <default>600</default>
+ <_summary>Sleep timeout display when on UPS</_summary>
+ <_description>The amount of time in seconds the computer on UPS power needs to be inactive before the display goes to sleep.</_description>
+ </key>
+ <key name="enable-sound" type="b">
+ <default>true</default>
+ <_summary>If sounds should be used</_summary>
+ <_description>If sounds should be used when the power is critically low, or inhibit requests have stopped the policy action.</_description>
+ </key>
+ <key name="show-actions" type="b">
+ <default>true</default>
+ <_summary>If preferences and statistics items should be shown in the context menu</_summary>
+ </key>
+ <key name="icon-policy" enum="org.mate.power-manager.IconPolicy">
+ <default>'present'</default>
+ <_summary>When to show the notification icon</_summary>
+ <_description>Display options for the notification icon.</_description>
+ </key>
+ </schema>
+</schemalist>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 8596c96..deef684 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -6,7 +6,7 @@ applets/brightness/brightness-applet.c
applets/inhibit/inhibit-applet.c
[type: gettext/ini]applets/inhibit/org.mate.InhibitApplet.mate-panel-applet.in.in
data/mate-power-manager.desktop.in.in
-data/org.mate.power-manager.gschema.xml
+data/org.mate.power-manager.gschema.xml.in
data/mate-power-preferences.desktop.in.in
data/mate-power-statistics.desktop.in.in
[type: gettext/glade]data/gpm-feedback-widget.ui