STRUCT EC_PARAMS_BATTERY_STATIC_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 a uint8_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