ab8500_char...ate_chg_curr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ab8500_char...ate_chg_curr(9) β€” the glow-up πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ this one's about ab8500_chargalg_update_chg_curr, and ngl the name got truncated in the header (ab8500_char...ate_chg_curr(9)) β€” she's mysterious like that πŸŽ€ but we know exactly who she is, so let's go 🫢


✨ NAME ✨

ab8500_chargalg_update_chg_curr β€” Update charger current πŸ’–

like, she literally just updates the charger current. that's the whole vibe check.


πŸ¦‹ SYNOPSIS πŸ¦‹

int ab8500_chargalg_update_chg_curr (struct ab8500_chargalg *di , int
iset_ua );

returns an int, takes two things, that's it, periodt ✨


🌸 ARGUMENTS 🌸

  • di β€” pointer to the ab8500_chargalg structure πŸ’œ she's the main character here, the whole chargalg struct herself
  • iset_ua β€” requested charger output current in microampere πŸ”₯ that's the current you're asking for, measured in Β΅A, no cap

πŸŽ€ DESCRIPTION πŸŽ€

The charger output current will be updated for the charger that is currently in use πŸ’…

that's the tea β€” she doesn't touch every charger, just the one in play right now. iconic behaviour honestly πŸ‘‘


🌈 SEE ALSO 🌈

Kernel file ./drivers/power/supply/ab8500_chargalg.c β€” go read the source bestie, it's giving lore πŸ“–

like, that's the whole friend group right there 😭 all of them, we stan a connected cast 🫢


ok so that's literally everything, nothing skipped, all facts intact, we ate and left no crumbs πŸ“

and that's the wrap bestie πŸ’– this was the Kernel API Manual entry living over in ./drivers/power/supply, dated October 2026 ⭐ you're welcome, mwah πŸ’‹

πŸ“¦ where this page comes from