bq25703_hw_shutdown(9)
β¨ bq25703_hw_shutdown β the shutdown glow-up β¨
So bestie, this one lives in the Kernel API Manual, section 9 (iykyk, that's the kernel interface section π
). It's a tiny little function with one job: putting the charger chip into low power mode when it's shutting down. Short page, but we're gonna treat it with the respect it deserves π«Ά
πΈ NAME πΈ
bq25703_hw_shutdown β the one that sets the registers for shutdown, no cap
π SYNOPSIS π
void bq25703_hw_shutdown(struct bq257xx_chg *pdata);
It returns void, so likeβ¦ it doesn't come back with receipts. It just does the thing π
π¦ ARGUMENTS π¦
pdataβ the driver platform data. That's thestruct bq257xx_chg *bestie you're handing over. Yes, it's very main character β¨
π DESCRIPTION π
Okay so here's the vibe: this function enables low power mode for the device while it's in shutdown. That's it. That's the whole plot π
No extra drama, no secret behaviour, just turning the power draw all the way down so the chip can chill in low power mode during shutdown. Iconic, honestly π
π SEE ALSO π
Everything in here is literally from the kernel file ./drivers/power/supply/bq257xx_charger.c β here's the whole friend group π
struct bq257xx_chip_info(9)struct bq257xx_chg(9)bq25792_read16(9)bq25792_write16(9)bq25703_get_state(9)bq25792_get_state(9)bq25703_get_min_vsys(9)bq25792_get_min_vsys(9)bq25703_set_min_vsys(9)bq25792_set_min_vsys(9)bq25703_get_cur(9)bq25792_get_cur(9)bq25703_get_ichg_cur(9)bq25792_get_ichg_cur(9)bq25703_set_ichg_cur(9)bq25792_set_ichg_cur(9)bq25703_get_chrg_volt(9)bq25792_get_chrg_volt(9)bq25703_set_chrg_volt(9)bq25792_set_chrg_volt(9)bq25703_get_iindpm(9)bq25792_get_iindpm(9)bq25703_set_iindpm(9)bq25792_set_iindpm(9)bq25703_get_vbat(9)bq25792_get_vbat(9)bq25703_hw_init(9)bq25792_hw_init(9)bq25792_hw_shutdown(9)bq257xx_set_charger_property(9)bq257xx_get_charger_property(9)bq257xx_property_is_writeable(9)bq257xx_external_power_changed(9)bq257xx_irq_handler_thread(9)bq257xx_parse_dt(9)bq257xx_charger_probe(9)bq257xx_charger_shutdown(9)
Heads up bestie: thebq25792twins show up in that list right next to thebq25703ones β don't mix them up, they are not the same function fr fr π
Okay and finally, the credits moment π¬ β this page belongs to the ./drivers/power/supply corner of the kernel, dated October 2026, and it's page bq25703_hw_shutdown(9) of the Kernel API Manual. That's a wrap, slay πβ¨
π¦ 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