bq25703_get_ichg_cur(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– bq25703_get_ichg_cur β€” the Kernel API Manual, bestie edition πŸ’–

okay so this is a page from the Kernel API Manual (bq25703_get_ichg_cur(9)), and it's honestly so simple it's giving main character energy for a one-liner. Let me walk you through it 🫢


✨ NAME ✨

bq25703_get_ichg_cur β€” get the maximum reported charge current 🌸


πŸŽ€ SYNOPSIS πŸŽ€

int bq25703_get_ichg_cur (struct bq257xx_chg *pdata , int *intval );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • pdata β€” the driver platform data, literally the whole vibe of the charger driver's state πŸ’…
  • intval β€” value of maximum reported charge current. she's a pointer to an int, so the answer gets handed back through her ✨

πŸ’œ DESCRIPTION πŸ’œ

Get the maximum reported charge current from the battery. that's it, that's the whole plot. lowkey iconic for a description to be this short ngl πŸ“


πŸ”₯ RETURN πŸ”₯

Returns 0 on success, or error if unable to read value. so like, zero means slay, anything else means the read did not go off 😭


🌈 SEE ALSO 🌈

not me about to list the entire friend group, fr fr πŸ‘‘


πŸ’€ reminder bestie: this lives in ./drivers/power/supply, so don't go looking for it in some random folder, iykyk.

and that's the whole page, periodt 🧚 this one's from ./drivers/power/supply, dated October 2026, and it's the bq25703_get_ichg_cur(9) page from the Kernel API Manual β€” mwah, go read the kernel now πŸ’–

πŸ“¦ where this page comes from