Linux的RPM ( Runtime power management)框架,是一套运行时电源管理框架,为系统中所有的device提供了一种运行时电源管理的机制。其目的很明确—减少系统运行时的功耗;
内核文档链接
文件目录:apps_proc\kernel\include\linux \pm.h
RPM状态
/*** Device run-time power management status.** These status labels are used internally by the PM core to indicate the* current status of a device with respect to the PM core operations. They do* not reflect the actual power state of the device or its status as seen by the* driver.** RPM_ACTIVE Device is fully operational. Indicates that the device* bus type's ->runtime_resume() callback has completed* successfully.** RPM_SUSPENDED Device bus type's ->runtime_suspend() callback has* completed successfully. The device is regarded as* suspended.** RPM_RESUMING Device bus type's ->runtime_resume() callback is being* executed.** RPM_SUSPENDING Device bus type's