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 7559d11018..d3747ec8a0 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -5260,6 +5260,16 @@ struct ec_response_locate_chip { }; } __ec_align2; + +#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. */ |