diff options
Diffstat (limited to 'include/ec_commands.h')
-rw-r--r-- | include/ec_commands.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h index df690e65ac..8b30342b87 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -6903,6 +6903,16 @@ struct ec_response_pchg_update { uint32_t block_size; } __ec_align4; + +#define EC_CMD_DISPLAY_SOC 0x0137 + +struct ec_response_display_soc { + int16_t display_soc; /* Display charge in 10ths of a % (1000=100.0%) */ + int16_t full_factor; /* Full factor in 10ths of a % (1000=100.0%) */ + int16_t shutdown_soc; /* Shutdown SoC in 10ths of a % (1000=100.0%) */ +} __ec_align2; + + /*****************************************************************************/ /* The command range 0x200-0x2FF is reserved for Rotor. */ |