smb347_update_ps_status(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– smb347_update_ps_status(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual page for smb347_update_ps_status β€” yes, we folded the manual name right up here at the top instead of copying the boring header line, because we're iconic like that πŸ’….

✨ NAME ✨

smb347_update_ps_status β€” refreshes the power source status. Periodt.

πŸ¦‹ SYNOPSIS πŸ¦‹

int smb347_update_ps_status (struct smb347_charger *smb );

πŸŽ€ ARGUMENTS πŸŽ€

  • smb β€” pointer to smb347 charger instance. That's the whole argument, bestie 🫢.

πŸ’… DESCRIPTION πŸ’…

Okay so here's the tea: this function checks whether any power source is connected to the charger and updates internal state accordingly. No cap.

If there is a change to previous state, the function returns 1. Otherwise it returns 0, and on an error it returns a negative errno. Not me manifesting a negative errno, but okay 😭.

πŸ‘‘ SEE ALSO πŸ‘‘

go read these next, iykyk ✨


mwah πŸ’‹ this page is smb347_update_ps_status(9), source/version ./drivers/power/supply, dated October 2026 β€” bye bestie, go refresh that power source status 🌈.

πŸ“¦ where this page comes from