我有一个使用地理围栏的 android 应用程序,我很难克服打瞌睡模式。我的清单具有 WAKE_LOCK 权限,并且每个区域的七个 setNotificationResponsiveness 为 0。我什至将 PendingIntent 更改为 BroadcastReceiver,但应用程序在删除智能手机屏幕后确实会休眠或死机。我已经尝试过使用 LocationRequest
LocationRequest.setFastestInterval(1000);
LocationRequest.setInterval(2000);
即便如此,我也没有成功。有没有人设法让应用程序与 Doze 一起运行?