From c07c186a14b2d72f4f48b77058c9597e91328707 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 14 Oct 2014 14:06:58 -0500 Subject: move the testing settings to a DBus interface --- data/com.canonical.indicator.power.Testing.xml | 39 +++++++++++++++++++++++ data/com.canonical.indicator.power.gschema.xml.in | 24 -------------- 2 files changed, 39 insertions(+), 24 deletions(-) create mode 100644 data/com.canonical.indicator.power.Testing.xml (limited to 'data') diff --git a/data/com.canonical.indicator.power.Testing.xml b/data/com.canonical.indicator.power.Testing.xml new file mode 100644 index 0000000..25cd059 --- /dev/null +++ b/data/com.canonical.indicator.power.Testing.xml @@ -0,0 +1,39 @@ + + + + + + + + + Whether or not the mock battery is enabled. (Default: false) + + + + + + + + The charge level of the mock battery (0-100%, Default: 50%) + + + + + + + + The mock battery's state. Possible values: 'charging', 'discharging' (Defualt: 'discharging') + + + + + + + + Muntes left until the mock battery finishes charging/dischargin (Default: 30) + + + + + + diff --git a/data/com.canonical.indicator.power.gschema.xml.in b/data/com.canonical.indicator.power.gschema.xml.in index e9bfcf5..4fd2620 100644 --- a/data/com.canonical.indicator.power.gschema.xml.in +++ b/data/com.canonical.indicator.power.gschema.xml.in @@ -20,29 +20,5 @@ <_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