STRUCT AB8500_CHARGE_CURR_MAXIMIZATION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the Kernel API Manual (section 9, we love a numbered girlie ✨) β€” this page is all about struct ab8500_charge_curr_maximization, which is literally just the charger maximization parameters. that's it. that's the vibe. she holds the numbers that let the charger figure out how hard it's allowed to go 🫢


🌸 SYNOPSIS 🌸

struct ab8500_charge_curr_maximization {
    int original_iset_ua;
    int current_iset_ua;
    int condition_cnt;
    int max_current_ua;
    int wait_cnt;
    u8 level;
 };

no cap, that's the whole struct. six little fields of main character energy πŸ‘‘


πŸŽ€ Members πŸŽ€

  • original_iset_ua β€” the charger current before anybody optimized/maximised it, i.e. the non optimized/maximised charger current. the "before" pic, if u will πŸ“Έ
  • current_iset_ua β€” the charging current being used at this exact moment. right now. live. not a drill πŸ’…
  • condition_cnt β€” the number of iterations it takes before a new charger current gets set. she's counting down, okay, let her cook πŸ“
  • max_current_ua β€” the maximum charger current. the ceiling. the limit. the "don't test me" number πŸ”₯
  • wait_cnt β€” lowkey the most thoughtful field tbh 😭 this one exists to avoid too fast current step down in case the charger voltage collapses, so we insert this delay between step down. safety queen behavior, we stan 🧚
  • level β€” tells you in how many steps the charging current has been increased. little ladder of progress, iykyk 🌈

πŸ¦‹ SEE ALSO πŸ¦‹

okay this list is LONG but every single one of these is iconic and you're gonna read all of them, no skipping πŸ™ˆ start with the kernel file ./drivers/power/supply/ab8500_chargalg.c and then:

ngl bestie, that's 27 entries and i counted them for you so you don't have to 😭 you're welcome πŸ’œ

and that's the page!! πŸŽ‰ this lil slice of the manual lives over in ./drivers/power/supply and it's dated October 2026 β€” yes, future girlie behavior fr fr ⭐ so go forth, read your charger structs, and remember: the page title is literally struct ab850...maximization(9) because even manpage headers gotta abbreviate sometimes πŸ’€ bye bestie, slay ur kernel dev era πŸ‘‘πŸ’–

πŸ“¦ where this page comes from