安卓:在Android设备上睡眠阶段/水平?睡眠、水平、阶段、设备

2023-09-12 11:12:41 作者:爱笑男孩

有没有在Android睡眠阶段/层次的概念?

从浏览邮件列表,我知道,存在一个名为深度睡眠的阶段。不要执行对时设备达到此状态的所有应用程序阻止?如果是这样,除了用户击中电源按钮,还有什么可以唤醒设备备份?

解决方案   

从浏览邮件列表,我知道,存在一个名为深度睡眠。

阶段

是不是真的有一个名为深度睡眠独立的阶段。只有醒,睡着,和关。

  

做执行的,当设备达到此状态的所有应用程序阻止?

所有程序的执行终止时,该设备进入睡眠状态或关机。

  

如果这样,除了用户击中电源按钮,还有什么可以唤醒设备备份?

AlarmManager 报警 在电话呼叫到来 在传入文本信息 如果你有一个插座上的无线数据(没有WIFI),在该插座传入数据包打开

这些都是大的。有可能是别人。

Is there a notion of sleep stages/levels on Android?

睡眠监测app下载 睡眠监测安卓版 1.0 极光下载站

From browsing the mailing lists, I'm aware that there exist a stage called "Deep Sleep". Do execution for all apps halt when device reaches this state? If so, besides user hitting the power button, what else could wake the device back up?

解决方案

From browsing the mailing lists, I'm aware that there exist a stage called "Deep Sleep".

There is not really a separate stage called "deep sleep". There is only "awake", "asleep", and "off".

Do execution for all apps halt when device reaches this state?

Execution of all processes ceases when the device goes to sleep or is powered off.

If so, besides user hitting the power button, what else could wake the device back up?

An alarm from AlarmManager An incoming phone call An incoming text message If you have a socket open on wireless data (not WiFi), an incoming packet on that socket

Those are the big ones. There might be others.