diff options
author | Greg Bellows <greg.bellows@linaro.org> | 2014-11-11 15:11:47 -0600 |
---|---|---|
committer | Greg Bellows <greg.bellows@linaro.org> | 2014-11-19 15:27:27 -0600 |
commit | 8c118ec6039db806d6f7dc38c879a482dd988ac8 (patch) | |
tree | 8e4be4be426ad2769c7586ac8db0a82978f801a3 /android-commands.h | |
parent | f0ae1cb2596e7b779ec12f6d2cae5e041a574370 (diff) |
android-console: Add power health command
Add the Android emulator console "power health" command and associated help
messages. The "health" command allows the battery health of the device to be
manipulated.
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 3adef550c..bb3f783e4 100644 --- a/android-commands.h +++ b/android-commands.h @@ -54,6 +54,13 @@ static mon_cmd_t android_power_cmds[] = { .help = "set battery present state", .mhandler.cmd = android_console_power_present, }, + { + .name = "health", + .args_type = "arg:s?", + .params = "", + .help = "set battery health state", + .mhandler.cmd = android_console_power_health, + }, { NULL, NULL, }, }; |