power_down(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

Okay bestie, welcome to power_down(9) from the Kernel API Manual β€” the page that's literally about telling the machine to go night-night for hibernation. πŸ’€βœ¨


🌸 NAME 🌸

power_down β€” shut the machine down for hibernation. πŸ’€πŸ‘‘

✨ SYNOPSIS ✨

void power_down (void );

πŸŽ€ ARGUMENTS πŸŽ€

  • void β€” no arguments, bestie. Not a single one. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the vibe: power_down uses the platform driver β€” if it's configured β€” to put the system into the sleep state that corresponds to hibernation. πŸ’€

It can also try to power the system off or reboot it, depending on the value of hibernation_mode. That's the whole plot, no cap. πŸ‘‘πŸ”₯

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./kernel/power/hibernate.c πŸ“

Signed off from ./kernel/power β€” October 2026 β€” for power_down(9). πŸ’…πŸ’–

πŸ“¦ where this page comes from