diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-09-08 10:39:58 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-09-08 10:39:58 -0500 |
commit | 0ab79aced178b97e878432be4e716f23b4520d09 (patch) | |
tree | eda039e04d7b89bf2078ca37714725b7e77349a9 /tests | |
parent | 059246d136ed8c24c5e78e6a966bf2dfc945fe4e (diff) | |
download | ayatana-indicator-power-0ab79aced178b97e878432be4e716f23b4520d09.tar.gz ayatana-indicator-power-0ab79aced178b97e878432be4e716f23b4520d09.tar.bz2 ayatana-indicator-power-0ab79aced178b97e878432be4e716f23b4520d09.zip |
on phone, add nonexpiring snap-decision popup on low battery events.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/indicator-power-service-cmdline-battery.cc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/indicator-power-service-cmdline-battery.cc b/tests/indicator-power-service-cmdline-battery.cc index a7a86a1..29ec87d 100644 --- a/tests/indicator-power-service-cmdline-battery.cc +++ b/tests/indicator-power-service-cmdline-battery.cc @@ -83,10 +83,13 @@ static gboolean on_command_stream_available (GIOChannel *source, int main (int argc G_GNUC_UNUSED, char ** argv G_GNUC_UNUSED) { - g_message ("This app is basically the same as indicator-power-service but,\n" - "instead of the system's real devices, sees a single fake battery\n" - "which can be manipulated by typing commands:\n" - "'charging', 'discharging', a charge percentage, or ctrl-c."); + g_print("This test app has the same code as indicator-power-service\n" + "except instead of listening to UPower, it has a fake battery\n" + "which you can edit with keyboard inputs. Supported commands:\n" + "1. A number in [0..100] to set battery level\n" + "2. 'charging'\n" + "3. 'discharging'\n" + "4. ctrl-c to exit\n"); IndicatorPowerDeviceProvider * device_provider; IndicatorPowerService * service; |