STRUCT BQ2515X_INIT_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ struct bq2515x_init_data(9) πŸŽ€

okay so bestie, welcome to the Kernel API Manual β€” this is the page for struct bq2515x_init_data, and yes the NAME line is literally just the struct name with nothing after it, she's mysterious like that πŸ’…


✨ SYNOPSIS ✨

here's the whole struct, copied exactly so don't @ me:

struct bq2515x_init_data {
    int ilim;
    int ichg;
    int vbatreg;
    int iprechg;
};

four int fields, no cap, all business 😌


🫢 Members 🫢

  • ilim β€” input current limit πŸ”Œ like, how much juice we're letting in from the source, that's her whole job
  • ichg β€” fast charge current ⚑ the speedy-charge amount, main character energy fr
  • vbatreg β€” battery regulation voltage πŸ”‹ the voltage the battery gets regulated to, iconic
  • iprechg β€” precharge current πŸ“ the gentle little precharge current, she's the warm-up act before the real charge

πŸ‘‘ SEE ALSO πŸ‘‘

  • the kernel file ./drivers/power/supply/bq2515x_charger.c
  • struct bq2515x_info(9)
  • struct bq2515x_device(9)
ngl these three are the ones you actually want to go read, iykyk 🌸

and that's the whole vibe check bestie ✨ this beauty lives over in ./drivers/power/supply, dated October 2026 β€” go off, read the charger source, slay πŸ’–πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from