ab8500_fg_ca...arge_voltage(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay bestie, welcome to the Kernel API Manual πŸ’– β€” today’s main character is ab8500_fg_calc_cap_discharge_voltage, and the official one-liner is Capacity in discharge with voltage. no cap, it’s literally the capacity-in-discharge-with-voltage moment.

✨ SYNOPSIS ✨

int ab8500_fg_calc_cap_discharge_voltage (struct ab8500_fg *di );

πŸ’… ARGUMENTS πŸ’…

  • di β€” pointer to the ab8500_fg structure. that’s the whole argument, bestie 🫢

πŸ”₯ DESCRIPTION πŸ”₯

It returns the capacity in mAh based on the load compensated battery voltage. that value is added to the filter, and then a new mean value is calculated and returned. periodt. πŸ’–

🌈 SEE ALSO 🌈

these besties are all linked in the friend group, iykyk:


mwah πŸ’‹ β€” footer tea: source/version ./drivers/power/supply, date October 2026, from the Kernel API Manual. stay charged, bestie πŸ¦‹βœ¨

πŸ“¦ where this page comes from