smb347_charging_status(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– smb347_charging_status(9) β€” Kernel API Manual πŸ’–

okay bestie, welcome to the Kernel API Manual entry for smb347_charging_status β€” it’s giving β€œtiny function, very important charging vibe check” ✨

🌸 NAME 🌸

smb347_charging_status β€” returns status of charging πŸ’…

✨ SYNOPSIS ✨

int smb347_charging_status (struct smb347_charger *smb );

πŸŽ€ ARGUMENTS πŸŽ€

  • smb β€” pointer to smb347 charger instance 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

bestie, this function literally returns the charging status. no cap.

  • 0 β€” means no charging is in progress
  • 1 β€” means pre-charging
  • 2 β€” means fast-charging
  • 3 β€” means taper-charging

so like… the number comes back, and you instantly know what phase the charger is in πŸ”₯

🌈 SEE ALSO 🌈


xoxo, signing off from ./drivers/power/supply, dated October 2026 πŸ’…βœ¨

πŸ“¦ where this page comes from