android 休眠与唤醒驱动流程分析 标准 linux 休眠过程: power management notifiers are executed with PM_SUSPEND_PREPARE tasks are frozen target system sleep state is announced to the platform-handling code devices are suspended platform-specific global suspend preparation methods are executed non-boot CPUs are taken off-line interrupts are disabled on the remaining (main) CPU late suspend of devices is carried out (一般有一些 BUS driver 的动作进行) platform-specific global methods are invoked to put the system to sleep 标准 linux 唤醒过程: the main CPU is switched to the appropriate mode, if necessary early resume of devices is carried out (一般有一些 BUS driver 的动作进行) interrupts are enabled on the main CPU non-boot CPUs are enabled platform-specific global resume preparation methods are invoked dev