lwmi_om_psy_ext_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the lwmi_om_psy_ext_init(9) page from the Kernel API Manual β€” this is literally the hook that attaches a power supply extension to a device battery. πŸŽ€

✨ SYNOPSIS ✨

void lwmi_om_psy_ext_init (struct lwmi_om_priv *priv );

🌸 ARGUMENTS 🌸

  • priv β€” a pointer to the lwmi_om_priv drvdata. That's the data bundle this function gets handed, no cap. 🫢

πŸ’… DESCRIPTION πŸ’…

So here's the tea: lwmi_om_psy_ext_init first checks whether the ideapad_laptop driver is going to manage charge attributes. If it's not, then it hooks the battery up to our WMI methods β€” but only if those WMI methods are supported. That's the whole flow, and it ate. ✨

πŸ”₯ SEE ALSO πŸ”₯


Source/version: ./drivers/platform/x86/lenovo Β· date: October 2026 β€” mwah bestie, go hook those batteries responsibly πŸ’–πŸ§š

πŸ“¦ where this page comes from