pm_suspend_no_platform(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’€ pm_suspend_no_platform(9) β€” kernel API manual, bestie edition ✨

okay so real talk, this page is from the Kernel API Manual and it's about one tiny lil function that answers one giant question: is the kernel actually the boss of your devices' power states rn, or is the platform out here doing its own thing? πŸ‘‘


🌸 NAME 🌸

pm_suspend_no_platform β€” check if the platform may change device power states. that's it. that's the whole job. πŸ’…


✨ SYNOPSIS ✨

bool pm_suspend_no_platform (void );

it returns a bool, it takes void, it's giving very demure, very minimal. πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • void β€” no arguments. none. zero. it wants nothing from you, bestie, and honestly? iconic. 🫢

πŸ’– DESCRIPTION πŸ’–

so here's when you call it: during system-wide power management transitions to sleep states, or during the subsequent system-wide transitions back to the working state. like, it's a during-the-transition kinda function, iykyk. 😴➑️πŸ–₯️

it returns 'true' if the power states of devices remain under full control of the kernel throughout the system-wide suspend and resume cycle that's in progress. no cap, that's the whole vibe check.

and to spell it out (the original does, so I will too 🫑): "that is, if a device is put into a certain power state during suspend, it can be expected to remain in that state during resume."

so basically: did the kernel lock it in, and will it stay locked in? true = yes bestie, we're in control the whole ride. 🎒✨


πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, fr fr β€” check out the kernel file ./include/linux/suspend.h, plus:


πŸ’€ heads up: this page lives in ./include/linux, dated October 2026, and it's the pm_suspend_no_platform(9) page from the Kernel API Manual. now go forth and vibe-check those power states, bestie πŸŒˆπŸ§šπŸ’œ
πŸ“¦ where this page comes from