diff options
author | Greg Bellows <greg.bellows@linaro.org> | 2014-11-19 14:52:56 -0600 |
---|---|---|
committer | Greg Bellows <greg.bellows@linaro.org> | 2014-11-19 15:27:26 -0600 |
commit | e3f71038fd59febd25b345e689fd8139766cfdd7 (patch) | |
tree | 7a5a6d59f3d91726d35c859f6b9fdb0697d1c258 /android-commands.h | |
parent | 376194a7a48acfb030d1bbb72988569613fdfb40 (diff) |
android-console: Add power display command
Add the Android emulator console "power display" along with the associated help
messages. The "display" command allows the current device power and battery state
to be displayed.
Signed-off-by: Greg Bellows <greg.bellows@linaro.org>
Diffstat (limited to 'android-commands.h')
-rw-r--r-- | android-commands.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/android-commands.h b/android-commands.h index 29c8769b8..8bf856d99 100644 --- a/android-commands.h +++ b/android-commands.h @@ -26,6 +26,13 @@ static mon_cmd_t android_redir_cmds[] = { }; static mon_cmd_t android_power_cmds[] = { + { + .name = "display", + .args_type = "", + .params = "", + .help = "display battery and charger state", + .mhandler.cmd = android_console_power_display, + }, { NULL, NULL, }, }; |