STRUCT AB8500_BM_CHARGER_PARAMETERS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct ab8500_bm_charger_parameters β€” charger specific parameters ✨

Okay so real talk, this is a page from the Kernel API Manual, and it's giving "the little struct that holds all your charger ceilings" energy. It's the place where the max voltage and max current numbers for the USB charger and the AC charger live. That's it, that's the whole vibe 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

struct ab8500_bm_charger_parameters {
    int usb_volt_max_uv;
    int usb_curr_max_ua;
    int ac_volt_max_uv;
    int ac_curr_max_ua;
 };

Bestie look at it. Four ints. Four limits. No drama, no cap πŸ’…


πŸŽ€ Members πŸŽ€

  • usb_volt_max_uv β€” maximum allowed USB charger voltage, in uV. That's the ceiling for USB volts and we do not go above it, periodt.
  • usb_curr_max_ua β€” maximum allowed USB charger current, in uA. The USB current cap, literally.
  • ac_volt_max_uv β€” maximum allowed AC charger voltage, in uV. Same energy, but for the AC side ⚑
  • ac_curr_max_ua β€” maximum allowed AC charger current, in uA. The AC current limit, slay.
Heads up: these are maximums, not suggestions. Voltage in uV, current in uA β€” don't mix up your units or it's gonna be a whole thing 😭

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/power/supply/ab8500-bm.h πŸ—‚οΈ
  • struct ab8500_fg_parameters(9)
  • struct ab8500_bm_capacity_levels(9)
  • struct ab8500_bm_data(9)

Like, go read those too, they're all siblings in the same ./drivers/power/supply household and they lowkey complete the picture πŸ‘‘


Okay that's the whole page, mwah πŸ’‹ This came from ./drivers/power/supply, dated October 2026, and the header on top of it all was struct ab85...r_parameters(9) β€” yes the title itself got truncated by the manpage machine, iconic honestly πŸ˜­πŸ’œ Go forth and cap those voltages, bestie πŸ”₯

πŸ“¦ where this page comes from