pm_schedule_suspend(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– pm_schedule_suspend(9) πŸ’–

hiii bestie!! welcome to the Kernel API Manual β€” this page is literally all about pm_schedule_suspend, aka the β€œsuspend later, not rn” button. no cap, it's giving timer energy ✨


πŸ’… NAME πŸ’…

pm_schedule_suspend β€” Set up a timer to submit a suspend request in future. yep, that's the whole vibe: you're scheduling the suspension for later instead of doing it immediately πŸŽ€


✨ SYNOPSIS ✨

the literal signature, no edits, no vibes-based rewriting:

int pm_schedule_suspend (struct device *dev , unsigned int delay );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” Device to suspend. it's the main character getting put on snooze duty πŸ’…
  • delay β€” Time to wait before submitting a suspend request, in milliseconds. so this is the β€œhow long do we wait before the suspend request gets submitted” number ⏳

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/base/power/runtime.c

and the whole SEE ALSO squad, all present and accounted for: update_pm_runtime_accounting(9), pm_runtime_deactivate_timer(9), pm_runtime_cancel_pending(9), rpm_check_suspend_allowed(9), pm_runtime_release_supplier(9), __rpm_callback(9), rpm_callback(9), rpm_idle(9), rpm_suspend(9), rpm_resume(9), pm_runtime_work(9), pm_suspend_timer_fn(9), __pm_runtime_idle(9), __pm_runtime_suspend(9), __pm_runtime_resume(9), pm_runtime_get_conditional(9), pm_runtime_get_if_active(9), pm_runtime_get_if_in_use(9), __pm_runtime_set_status(9), __pm_runtime_barrier(9), pm_runtime_barrier(9), pm_runtime_enable(9), devm_pm_runtime_set_active_enabled(9), devm_pm_runtime_enable(9), devm_pm_runtime_get_noresume(9), pm_runtime_forbid(9), pm_runtime_allow(9), pm_runtime_no_callbacks(9), pm_runtime_irq_safe(9), update_autosuspend(9), pm_runtime_set_autosuspend_delay(9), __pm_runtime_use_autosuspend(9), pm_runtime_init(9), pm_runtime_reinit(9), pm_runtime_remove(9), pm_runtime_get_suppliers(9), pm_runtime_put_suppliers(9), pm_runtime_drop_link(9), pm_runtime_force_suspend(9), pm_runtime_force_resume(9) 🌈


okay that's the whole page, bestie!! source/version: ./drivers/base/power Β· date: October 2026 β€” love u, hydrate, and don't forget the timer πŸ’–πŸŒΈ

πŸ“¦ where this page comes from