我使用的是后台运行的华为P9精简版。
WifiManager已锁定,唤醒已锁定(PARTIAL_WAKE_LOCK)...什么都没有--只在华为上。在许多其他手机上测试过-工作正常。
还使用了:"Protected Apps" setting on Huawei phones, and how to handle it -不做任何更改。
应用程序在锁定后工作+/- 3-5分钟-然后休眠一段时间(5-20分钟),然后醒来几秒钟...有什么解决方案吗?
发布于 2018-02-15 21:33:16
如果doze模式为on,则这是预期行为:https://developer.android.com/training/monitoring-device-state/doze-standby.html
https://stackoverflow.com/questions/48479769
复制相似问题