android - 什么是打瞌睡模式计时?

标签 android android-6.0-marshmallow android-doze

根据 Android documentation

If a user leaves a device unplugged and stationary for a period of time, with the screen off, the device enters Doze mode.

在打瞌睡模式启动之前,设备需要保持空闲和静止多长时间?

等等:

Periodically, the system exits Doze for a brief time to let apps complete their deferred activities. During thismaintenance window [...] Over time, the system schedules maintenance windows less and less frequently...

那么,什么是维护窗口间隔及其增长率?

最佳答案

这是来自 Base Lab Blog 的有关 Doze 窗口频率的引用资料

Maintenance windows in Doze won’t happen frequently. First window occurs an hour after last activity, the next after two, the next after four and so on.

有测试版应用程序可以自定义进入打瞌睡模式的行为(即 Greenify)

关于android - 什么是打瞌睡模式计时?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35855719/

相关文章:

java - 获取 libGDX And​​roid 游戏的目录文件和类加载器

android - 如何从 Android strings.xml 中的 anchor 链接中删除格式

android - 如何在 Fragment 中调用 getBaseContext()

android - 如何在 Android Marshmallow 中同时请求多个权限

android - 地理围栏有效,但一段时间后停止触发

android - 广播接收器在 Android 8 的前台服务中不起作用

android - 如何删除 Android 中的悬空光标?

android - SmsMessage.createFromPdu 在 android API 级别 23 中被弃用

android - 我的应用程序不会显示在 android.intent.action.VIEW 的选择器对话框中,mime 类型为 video/* only on Marshmallow

android - Doze Mode 和 Idle 是一回事吗?