ab8500_char...top_charging(9)
π ab8500_chargalg_stop_charging β from the Kernel API Manual, bestie
okay so this page is ab8500_char...top_charging(9) (yes the title got chopped, that's just how the man page abbreviates it, don't come for her π) and it lives in the Kernel API Manual. she's a tiny function but she is so important. let's get into it β¨
π NAME
ab8500_chargalg_stop_charging β literally the "stop charging" function. that's it, that's the whole vibe. when the battery needs a break, this is the girl they call π
β¨ SYNOPSIS
void ab8500_chargalg_stop_charging (struct ab8500_chargalg *di );
returns void, so no little return value to babysit, she just does the thing and leaves π
π«Ά ARGUMENTS
diβ pointer to theab8500_chargalgstructure. that's your chargal struct bestie, hand her over and she'll take it from there π¦
π DESCRIPTION
so here's the tea: this function gets called from any state where charging should be stopped. like, wherever the chargal algorithm decides "ok we're done here", it rings up ab8500_chargalg_stop_charging and she handles it π₯
once she's in, all charging is disabled β no cap, everything charging-related goes quiet π β and all status parameters and timers are changed accordingly so the rest of the system actually knows what just happened. she doesn't just flip a switch and dip, she updates the whole situation β¨ periodt.
π SEE ALSO
sources: the kernel file ./drivers/power/supply/ab8500_chargalg.c
and the whole friend group, all from section 9:
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_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)
ok and for the credits moment π¬ this page comes from ./drivers/power/supply and it's dated October 2026. slay, love that for her. 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