安卓:在Android设备上睡眠阶段/水平? [英] Android: Sleep stages/levels on an Android device?

查看:123
本文介绍了安卓:在Android设备上睡眠阶段/水平?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

解决方案
  

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

阶段

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

  

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

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

  

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

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

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

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

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.

这篇关于安卓:在Android设备上睡眠阶段/水平?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆