smb347_update_ps_status(9)
π 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 π
- Kernel file
./drivers/power/supply/smb347-charger.c struct smb347_charger(9)smb347_charging_status(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms