aboutsummaryrefslogtreecommitdiff
path: root/android-commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'android-commands.h')
-rw-r--r--android-commands.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/android-commands.h b/android-commands.h
index 67e3c4634d..e770fcfaec 100644
--- a/android-commands.h
+++ b/android-commands.h
@@ -33,6 +33,13 @@ static mon_cmd_t android_power_cmds[] = {
.help = "display battery and charger state",
.mhandler.cmd = android_console_power_display,
},
+ {
+ .name = "ac",
+ .args_type = "arg:s?",
+ .params = "",
+ .help = "set AC charging state",
+ .mhandler.cmd = android_console_power_ac,
+ },
{ NULL, NULL, },
};