power_down(9)
π 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 π
pm_hibernation_mode_is_suspend(9)hibernation_set_ops(9)platform_begin(9)platform_end(9)platform_pre_snapshot(9)platform_leave(9)platform_finish(9)platform_pre_restore(9)platform_restore_cleanup(9)platform_recover(9)swsusp_show_speed(9)create_image(9)hibernation_snapshot(9)resume_target_kernel(9)hibernation_restore(9)hibernation_platform_enter(9)hibernate(9)hibernate_quiet_exec(9)software_resume_initcall(9)
Signed off from ./kernel/power β October 2026 β for power_down(9). π
π
π¦ 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