From 7eb00e86d2d9f25dbc62c5a4479e99ea5543d722 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 10 Oct 2014 16:11:36 -0500 Subject: add gsettings for a mock battery to make QA tester's lives easier --- data/com.canonical.indicator.power.gschema.xml.in | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'data') 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. <_description>Options for when to show battery status. Valid options are "present", "charge", and "never". + + + false + <_summary>Whether to use a mock battery for testing. + <_description>When enabled, a single mock battery will be used instead of monitoring upower. + + + + 50 + <_summary>The charge level of the mock battery. + <_description>The charge level of the mock battery. + + + false + <_summary>Charge state of the mock battery + <_description>Whether the mock battery is charging or discharging + + + + 30 + <_summary>Time remaining on the battery + <_description>Minutes left until the battery finishes charging/discharging + + -- cgit v1.2.3