compat: backport run-time power management (5e928f77)