acpi_subsys_runtime_suspend(9)
π€ acpi_subsys_runtime_suspend β from the Kernel API Manual, bestie β¨
Okay so real talk, this one's a tiny page but it's doing something cute in the background and I need you to appreciate it. It lives in the Kernel API Manual (acpi_subsys_runtime_suspend(9)) and it's basically the "okay babe, time to nap" button for ACPI devices πΈ
β¨ NAME β¨
acpi_subsys_runtime_suspend β suspend device using ACPI.
Like, that's it. That's the whole vibe. It suspends a device using ACPI π«Ά
π SYNOPSIS π
int acpi_subsys_runtime_suspend (struct device *dev );
Note the return type is int, she returns a value, she's not just out here doing vibes with no receipts π
π¦ ARGUMENTS π¦
devβ the device to suspend. That's your main character right there, the one getting the nap π
π DESCRIPTION π
So what actually happens: it carries out the generic runtime suspend procedure for dev, and then uses ACPI to put it into a runtime low-power state β¨
Two steps, no cap: generic runtime suspend procedure first, then ACPI does its thing and the device lands in a runtime low-power state. Lowkey iconic that it's one function for all that π
π SEE ALSO π
Kernel file ./drivers/acpi/device_pm.c β and honestly the whole friend group showed up, so let me introduce everyone π«Ά
acpi_power_state_string(9)acpi_device_get_power(9)acpi_device_set_power(9)acpi_device_fix_up_power(9)acpi_device_fix_up_power_extended(9)acpi_device_fix_up_power_children(9)acpi_dev_power_up_children_with_adr(9)acpi_dev_power_state_for_wake(9)acpi_add_pm_notifier(9)acpi_remove_pm_notifier(9)acpi_dev_pm_get_state(9)acpi_pm_device_sleep_state(9)acpi_pm_notify_work_func(9)acpi_device_wakeup_enable(9)acpi_device_wakeup_disable(9)acpi_pm_set_device_wakeup(9)acpi_dev_pm_low_power(9)acpi_dev_pm_full_power(9)acpi_dev_suspend(9)acpi_dev_resume(9)acpi_subsys_runtime_resume(9)β yes, the opposite twin, she's here too πacpi_subsys_prepare(9)acpi_subsys_complete(9)acpi_subsys_suspend(9)acpi_subsys_suspend_late(9)acpi_subsys_suspend_noirq(9)acpi_subsys_resume_noirq(9)acpi_subsys_resume_early(9)acpi_subsys_resume(9)acpi_subsys_freeze(9)acpi_subsys_restore_early(9)acpi_subsys_poweroff(9)acpi_subsys_poweroff_late(9)acpi_subsys_poweroff_noirq(9)acpi_dev_pm_detach(9)acpi_dev_pm_attach(9)acpi_storage_d3(9)acpi_dev_state_d0(9)
π And that's the page! Cute little sign-off for you: this whole thing ships from ./drivers/acpi, dated October 2026, and it's filed under acpi_subsys_runtime_suspend(9) in the Kernel API Manual. Go put your devices to sleep, bestie, they earned it π΄π
π¦ 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