ab8500_char...ate_chg_curr(9)
π 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 theab8500_chargalgstructure π she's the main character here, the whole chargalg struct herselfiset_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 π
struct ab8500_charge_curr_maximization(9)struct ab8500_chargalg(9)ab8500_chargalg_safety_timer_expired(9)ab8500_chargalg_maintenance_timer_expired(9)ab8500_chargalg_state_to(9)ab8500_chargalg_check_charger_connection(9)ab8500_chargalg_start_safety_timer(9)ab8500_chargalg_stop_safety_timer(9)ab8500_chargalg_start_maintenance_timer(9)ab8500_chargalg_stop_maintenance_timer(9)ab8500_chargalg_kick_watchdog(9)ab8500_chargalg_ac_en(9)ab8500_chargalg_usb_en(9)ab8500_chargalg_stop_charging(9)ab8500_chargalg_hold_charging(9)ab8500_chargalg_start_charging(9)ab8500_chargalg_check_temp(9)ab8500_chargalg_check_charger_voltage(9)ab8500_chargalg_end_of_charge(9)ab8500_chargalg_chg_curr_maxim(9)ab8500_chargalg_external_power_changed(9)ab8500_chargalg_time_to_restart(9)ab8500_chargalg_algorithm(9)ab8500_chargalg_periodic_work(9)ab8500_chargalg_wd_work(9)ab8500_chargalg_work(9)ab8500_chargalg_get_property(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms