aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-10-10 16:11:36 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-10-10 16:11:36 -0500
commit7eb00e86d2d9f25dbc62c5a4479e99ea5543d722 (patch)
treeede7fd97298675c81ec37fc6310149e992ea4952 /data
parent7251f3df13dc2503791fc7d1b485a48636a15884 (diff)
downloadayatana-indicator-power-7eb00e86d2d9f25dbc62c5a4479e99ea5543d722.tar.gz
ayatana-indicator-power-7eb00e86d2d9f25dbc62c5a4479e99ea5543d722.tar.bz2
ayatana-indicator-power-7eb00e86d2d9f25dbc62c5a4479e99ea5543d722.zip
add gsettings for a mock battery to make QA tester's lives easier
Diffstat (limited to 'data')
-rw-r--r--data/com.canonical.indicator.power.gschema.xml.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/data/com.canonical.indicator.power.gschema.xml.in b/data/com.canonical.indicator.power.gschema.xml.in
index 4fd2620..e9bfcf5 100644
--- a/data/com.canonical.indicator.power.gschema.xml.in
+++ b/data/com.canonical.indicator.power.gschema.xml.in
@@ -20,5 +20,29 @@
<_summary>When to show the battery status in the menu bar.</_summary>
<_description>Options for when to show battery status. Valid options are "present", "charge", and "never".</_description>
</key>
+
+ <key name="mock-battery-enabled" type="b">
+ <default>false</default>
+ <_summary>Whether to use a mock battery for testing.</_summary>
+ <_description>When enabled, a single mock battery will be used instead of monitoring upower.</_description>
+ </key>
+ <key name="mock-battery-level" type="i">
+ <range min="0" max="100"/>
+ <default>50</default>
+ <_summary>The charge level of the mock battery.</_summary>
+ <_description>The charge level of the mock battery.</_description>
+ </key>
+ <key name="mock-battery-charging" type="b">
+ <default>false</default>
+ <_summary>Charge state of the mock battery</_summary>
+ <_description>Whether the mock battery is charging or discharging</_description>
+ </key>
+ <key name="mock-battery-minutes-left" type="i">
+ <range min="0" max="420"/>
+ <default>30</default>
+ <_summary>Time remaining on the battery</_summary>
+ <_description>Minutes left until the battery finishes charging/discharging</_description>
+ </key>
+
</schema>
</schemalist>