ab8500_char...rger_current(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

ab8500_charger_update_charger_current β€” bestie, this is the one that updates your charger current ✨


🌸 SYNOPSIS 🌸

int ab8500_charger_update_charger_current (struct ux500_charger *charger
, int ich_out_ua );

Manual: Kernel API Manual β€” yes, we're in the kernel docs now, look at us πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • charger β€” a pointer to the ab8500_charger structure, literally the charger's whole personality in one struct 🫢
  • ich_out_ua β€” the desired output current, measured in microampere (so many tiny amps, ngl)

✨ DESCRIPTION ✨

Okay so this function updates the charger output current for the charger you just pointed at, and it's giving "small but essential" πŸ’…

It returns an error code if something goes wrong β€” and if everything slays, it returns 0 (on success). No cap. πŸ”₯

Heads up bestie: error code = failure, 0 = success. Write that down. πŸ“

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/power/supply/ab8500_charger.c β€” that's the whole vibe right there, go read it iykyk πŸ“‚

The glamorous co-stars of this page, all friendship-bracelet-linked:

That's a lot of friends and honestly? Main character energy for every single one of them πŸ’€πŸ‘‘


And that's the whole page bestie, no crumbs left πŸ“ β€” this absolute icon lives under ./drivers/power/supply, dated October 2026, and it's part of the Kernel API Manual. Periodt. πŸ’–βœ¨

πŸ“¦ where this page comes from