ab8500_charg...art_charging(9)
π NAME π
ab8500_chargalg_start_charging β bestie, it literally starts the charger β¨
So real quick, we're in the Kernel API Manual today, flipping through ab8500_charg...art_charging(9) β yes the title got truncated by the terminal, no that's not a typo, that's just how the page header is living its life π. Anyway. Charger. Starting. Let's go π«Ά
πΈ SYNOPSIS πΈ
void ab8500_chargalg_start_charging (struct ab8500_chargalg *di , int
vset_uv , int iset_ua );
Returns void, meaning it gives you nothing back β not a single crumb β it just does the thing and dips π
. Iconic behavior honestly.
π ARGUMENTS π
diβ pointer to thestruct ab8500_chargalgstructure. Like, the whole charger-algorithm vibe container. You gotta hand it over π«΄vset_uvβ the requested charger output voltage, measured in microvolt β‘iset_uaβ the requested charger output current, measured in microampere π
Note the units bestie!! microvolt and microampere, not volt and ampere. Do not come in here with your regular-people units, the kernel will simply not know what to do with you π
β¨ DESCRIPTION β¨
okay so the whole situation here is: a charger is gonna get enabled β depending on the requested charger type that was detected previously π. That's the tea. It's not out here guessing, it's not freestyling, it is looking at what was already detected and then enabling accordingly. Detection first, enabling second, that's the order of operations fr fr π¦
π SEE ALSO π
Strap in because this list is LONG and honestly kinda iconic π
- Kernel file
./drivers/power/supply/ab8500_chargalg.c 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_update_chg_curr(9)ab8500_chargalg_stop_charging(9)ab8500_chargalg_hold_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 I said. A whole friend group π§π Go read them all, iykyk.
okay that's the whole page bestie, you ate that π
π This little gem lives over in ./drivers/power/supply, and the page is dated October 2026 β so yeah, future vibes only βπ mwah, bye! π
π¦ 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