ab8500_btem...ctrl_voltage(9)
β¨ ab8500_btemp_read_batctrl_voltage β the page formally known as ab8500_btem...ctrl_voltage(9)
Hiii bestie π«Ά so this whole thing lives in the Kernel API Manual, and the title up top is that long squished little nickname ab8500_btem...ctrl_voltage(9) β but the actual function name is the full one in a sec. Don't let the abbreviation jump you, it's the same page, iykyk π
πΈ NAME πΈ
ab8500_btemp_read_batctrl_voltage β literally just: measure the batctrl voltage πβ¨
π¦ SYNOPSIS π¦
int ab8500_btemp_read_batctrl_voltage (struct ab8500_btemp *di );
That's it. That's the whole entire function signature. Short king π.
π ARGUMENTS π
diβ pointer to theab8500_btempstructure π. Yeah. That's the entire description. She's a pointer to theab8500_btempstruct, no further notes, no secret lore ngl.
β DESCRIPTION β
Okay so the vibe here is so simple it's giving main-character-with-nothing-to-prove: this function returns the voltage on BATCTRL π.
And the return value? That's in mV β millivolts, bestie, write it down π. mv would be a whole different thing, this is millivolts.
no cap, that's genuinely the whole description. one job. ate and left absolutely no crumbs π
π SEE ALSO π
The friend group π«Ά β go say hi:
- Kernel file
./drivers/power/supply/ab8500_btemp.cπ struct ab8500_btemp_interrupts(9)struct ab8500_btemp(9)ab8500_btemp_batctrl_volt_to_res(9)ab8500_btemp_get_batctrl_res(9)ab8500_btemp_id(9)ab8500_btemp_periodic_work(9)ab8500_btemp_batctrlindb_handler(9)ab8500_btemp_templow_handler(9)ab8500_btemp_temphigh_handler(9)ab8500_btemp_lowmed_handler(9)ab8500_btemp_medhigh_handler(9)ab8500_btemp_periodic(9)ab8500_btemp_get_temp(9)ab8500_btemp_get_property(9)ab8500_btemp_external_power_changed(9)
π§ sign-off π§
This little slice of documentation comes to you courtesy of ./drivers/power/supply and is dated October 2026 πΈ β screenshot it, frame it, tell your friends, periodt π
β¨
π¦ 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