bq25703_hw_shutdown(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 the struct 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 πŸ‘‘


Heads up bestie: the bq25792 twins show up in that list right next to the bq25703 ones β€” 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