STRUCT AB8500_BM_CHARGER_PARAMETERS(9)
π 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
- 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