ab8500_fg_ba...y_resistance(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ab8500_fg_ba...y_resistance(9) ✨

okay bestie, welcome to the Kernel API Manual β€” this is the page for ab8500_fg_battery_resistance, and it's giving β€œtiny function, very important battery math” energy πŸ”‹πŸ’…

🌸 NAME 🌸

ab8500_fg_battery_resistance β€” returns the battery inner resistance.

πŸ¦‹ SYNOPSIS πŸ¦‹

       int ab8500_fg_battery_resistance (struct ab8500_fg *di , int
       vbat_uncomp_uv );

πŸŽ€ ARGUMENTS πŸŽ€

  • di β€” pointer to the ab8500_fg structure, bestie. It's the handle for all the fuel-gauge goodness 🫢
  • vbat_uncomp_uv β€” the Uncompensated VBAT voltage. Literally what it says on the tin, no cap.

πŸ’– DESCRIPTION πŸ’–

So this function returns the battery inner resistance, added with the fuel gauge resistor value, so you get the total resistance in the whole link from gnd to the bat+ node in milliohm. That's the whole vibe β€” resistance math for the entire path, and the result is in milliohm, fr fr ⚑

🫢 SEE ALSO 🫢

The kernel file is ./drivers/power/supply/ab8500_fg.c, and here's the whole SEE ALSO squad, every single one, because we don't leave friends behind πŸ’…


That's the whole page, bestie β€” sourced from ./drivers/power/supply, dated October 2026, and it's the ab8500_fg_ba...y_resistance(9) manual page. Slay, bye! πŸ’…βœ¨

πŸ“¦ where this page comes from