ab8500_char...main_in_curr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

ab8500_charger_set_main_in_curr β€” set main charger input current πŸ’–

okay bestie, this page is ab8500_char...main_in_curr(9), straight outta the Kernel API Manual ✨ manual name folded in right here so you don't gotta hunt for it. this is the lowkey iconic charger-current setter, and we're gonna get you comfy with it 🫢

✨ SYNOPSIS ✨

int ab8500_charger_set_main_in_curr (struct ab8500_charger *di , int
       ich_in_ua );

that's the signature, bestie β€” don't let the line break scare you πŸŽ€

🧚 ARGUMENTS 🧚

  • di β€” pointer to the ab8500_charger structure β€” basically the charger's main-character struct πŸ’…
  • ich_in_ua β€” input charger current, in uA β€” yes, microamps, keep that unit in mind πŸ“

πŸ’– DESCRIPTION πŸ’–

okay so this function sets the main charger input current. that's the whole assignment, no cap πŸ”₯

if something goes sideways, it returns error code in case of failure 😭. otherwise? it returns 0 β€” on success β€” slay, we love a clean success value πŸ’šβœ¨

πŸ”₯ SEE ALSO πŸ”₯

first up, the kernel file itself is ./drivers/power/supply/ab8500_charger.c β€” and then there's a whole group chat of related symbols. every single one is below, because we don't skip the squad πŸ‘‘:


okay that's the page, bestie πŸ’… source path: ./drivers/power/supply; date/version: October 2026; page id: ab8500_char...main_in_curr(9). now go set that current and stay charged πŸ«ΆπŸ”‹βœ¨

πŸ“¦ where this page comes from