STRUCT EC_PARAMS_BATTERY_STATIC_INFO(9)
π NAME π
struct ec_params_battery_static_info β the battery static info parameters, bestie. That's the whole vibe β¨
Okay so real talk, this is the man page for struct ec_pa..._static_info(9) and she's a tiny one but she's iconic π
π¦ SYNOPSIS π¦
struct ec_params_battery_static_info {
uint8_t index;
};
Look at her. One field. Zero notes. Main character energy π
πΈ MEMBERS πΈ
indexβ the battery index, that's it, that's the field π (it's auint8_t, so keep it cute and small)
π SEE ALSO π
No cap, this struct rolls with a huge friend group. Here's the whole squad, all in ./include/linux/platform_data/cros_ec_commands.h π
struct ec_lpc_host_args(9)struct ec_host_request(9)struct ec_host_response(9)struct ec_response_proto_version(9)struct ec_params_hello(9)struct ec_response_hello(9)struct ec_response_get_version(9)struct ec_params_read_test(9)struct ec_response_read_test(9)struct ec_response_get_chip_info(9)struct ec_response_board_version(9)struct ec_params_read_memmap(9)struct ec_params_get_cmd_versions(9)struct ec_params_get_cmd_versions_v1(9)struct ec_response_get_cmd_versions(9)struct ec_response_get_comms_status(9)struct ec_response_get_protocol_info(9)struct ec_response_flash_info(9)struct ec_response_flash_info_1(9)struct ec_params_flash_read(9)struct ec_params_flash_write(9)struct ec_params_flash_erase(9)struct ec_params_flash_erase_v1(9)struct ec_params_flash_protect(9)struct ec_response_flash_protect(9)struct ec_params_flash_region_info(9)struct ec_params_flash_select(9)struct ec_params_cec_write(9)struct ec_params_cec_write_v1(9)struct ec_params_cec_read(9)struct ec_response_cec_read(9)struct ec_params_cec_set(9)struct ec_params_cec_get(9)struct ec_response_cec_get(9)struct ec_response_cec_port_count(9)struct ec_response_battery_static_info(9)struct ec_params_battery_dynamic_info(9)struct ec_response_battery_dynamic_info(9)struct ec_params_charger_control(9)
Like I said. Huge squad. Go read them, iykyk π
π reminder: the kernel file lives at ./include/linux/platform_data/cros_ec_commands.h β that's the source of truth, don't come for me if you're looking in the wrong header π
Anyways bestie that's the page π«Ά this came out of ./include/linux/platform_data and it's dated October 2026, so like, future girl summer β go forth and index your batteries responsibly π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms