aboutsummaryrefslogtreecommitdiff
path: root/tests/manual
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-11-12 08:40:14 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-11-12 08:16:04 +0000
commit0f33bc4be7e9dffaa6b68cd758c3c531460c9a2f (patch)
tree4af026cbc883daf53fb57056fe5d14fbe3c618d2 /tests/manual
parent511915f11b83c0b0327b9ed393e5bc2ff3b828a0 (diff)
downloadayatana-indicator-power-0f33bc4be7e9dffaa6b68cd758c3c531460c9a2f.tar.gz
ayatana-indicator-power-0f33bc4be7e9dffaa6b68cd758c3c531460c9a2f.tar.bz2
ayatana-indicator-power-0f33bc4be7e9dffaa6b68cd758c3c531460c9a2f.zip
Fork from Ubuntu's indicator-power code project.
Diffstat (limited to 'tests/manual')
-rw-r--r--tests/manual20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/manual b/tests/manual
index 8a305ac..91d005d 100644
--- a/tests/manual
+++ b/tests/manual
@@ -3,32 +3,32 @@ Notes on Battery Testing
Mock battery propreties are available for testing purposes.
-The testing properties are DBus properties published on busname "com.canonical.indicator.power", object path "/com/canonical/indicator/power/Testing", and interface "com.canonical.indicator.power.Testing". The four properties are "MockBatteryEnabled" (boolean, default false), "MockBatteryLevel" (uint32 [0-100], default 50), "MockBatteryState" (string, default 'discharging'), "MockBatteryMinutesLeft" (minutes remaining to charge/discharge, uint32, default 30).
+The testing properties are DBus properties published on busname "org.ayatana.indicator.power", object path "/org/ayatana/indicator/power/Testing", and interface "org.ayatana.indicator.power.Testing". The four properties are "MockBatteryEnabled" (boolean, default false), "MockBatteryLevel" (uint32 [0-100], default 50), "MockBatteryState" (string, default 'discharging'), "MockBatteryMinutesLeft" (minutes remaining to charge/discharge, uint32, default 30).
Example use:
Show the testing properties:
-$ gdbus call --session --dest "com.canonical.indicator.power" \
- --object-path /com/canonical/indicator/power/Testing \
+$ gdbus call --session --dest "org.ayatana.indicator.power" \
+ --object-path /org/ayatana/indicator/power/Testing \
--method org.freedesktop.DBus.Properties.GetAll \
- com.canonical.indicator.power.Testing
+ org.ayatana.indicator.power.Testing
Enable the mock battery:
-$ gdbus call --session --dest "com.canonical.indicator.power" \
- --object-path /com/canonical/indicator/power/Testing \
+$ gdbus call --session --dest "org.ayatana.indicator.power" \
+ --object-path /org/ayatana/indicator/power/Testing \
--method org.freedesktop.DBus.Properties.Set \
- com.canonical.indicator.power.Testing \
+ org.ayatana.indicator.power.Testing \
MockBatteryEnabled \
"<true>"
Set the mock battery's charge to 10%
-$ gdbus call --session --dest "com.canonical.indicator.power" \
- --object-path /com/canonical/indicator/power/Testing \
+$ gdbus call --session --dest "org.ayatana.indicator.power" \
+ --object-path /org/ayatana/indicator/power/Testing \
--method org.freedesktop.DBus.Properties.Set \
- com.canonical.indicator.power.Testing \
+ org.ayatana.indicator.power.Testing \
MockBatteryLevel \
"<uint32 10>"