转自:http://blog.csdn.net/hanmengaidudu/article/details/11777501 标准linux休眠过程: l power management notifiers are executed with PM_SUSPEND_PREPARE l tasks are frozen l target system sleep state is announced to the platform-handling co
# -*- coding:utf-8 -*- import time import os import common.common from common.getconfigs import GetConfigs from uiautomator import device as d cfg = GetConfigs('11_unlockscreen') dict_times = cfg.get_test_times() def CheckPhoneStatus(): """
Android休眠与唤醒驱动流程分析 标准Linux休眠过程: powermanagement notifiers are executed with PM_SUSPEND_PREPARE tasksare frozen targetsystem sleep state is announced to the platform-handling code devicesare suspended platform-specificglobal suspend preparation method