aboutsummaryrefslogtreecommitdiff
path: root/src/testing.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2017-05-15 15:01:23 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-05-15 15:01:50 +0200
commitbd1a508aeb9e498dd782678da420d5baf639b4c0 (patch)
tree1b76d4f9435d12a34ab7241535bd673b082cc03f /src/testing.c
parentdbfed3a9b70091667233b884d5a7fa3098f4d104 (diff)
downloadayatana-indicator-power-bd1a508aeb9e498dd782678da420d5baf639b4c0.tar.gz
ayatana-indicator-power-bd1a508aeb9e498dd782678da420d5baf639b4c0.tar.bz2
ayatana-indicator-power-bd1a508aeb9e498dd782678da420d5baf639b4c0.zip
Make device with power supply has higher sorting priority. (LP: #1100546)
Diffstat (limited to 'src/testing.c')
-rw-r--r--src/testing.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testing.c b/src/testing.c
index 2822b7e..abcd239 100644
--- a/src/testing.c
+++ b/src/testing.c
@@ -301,7 +301,8 @@ indicator_power_testing_init (IndicatorPowerTesting * self)
UP_DEVICE_KIND_BATTERY,
50.0,
UP_DEVICE_STATE_DISCHARGING,
- 60*30);
+ 60*30,
+ TRUE);
/* Mock Provider */