summaryrefslogtreecommitdiff
path: root/include/ec_commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ec_commands.h')
-rw-r--r--include/ec_commands.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h
index c94fed5c96..a3661bbd70 100644
--- a/include/ec_commands.h
+++ b/include/ec_commands.h
@@ -916,6 +916,14 @@ struct ec_params_force_idle {
uint8_t enabled;
} __packed;
+/*
+ * Cut off battery power output if the battery supports.
+ *
+ * For unsupported battery, just don't implement this command and lets EC
+ * return EC_RES_INVALID_COMMAND.
+ */
+#define EC_CMD_BATTERY_CUT_OFF 0x99
+
/*****************************************************************************/
/* System commands */