android-doze-and-standby Questions
1
I am looking to use the Jobscheduler api to schedule a job when there's connectivity to download a bunch of images from push messages. Since wake locks are disregarded by the os in doze mode and si...
Mixie asked 16/2, 2017 at 17:16
2
I have a mileage logbook app which does GPS tracking and is able to establish a OBDII connection to a car in background.
Now I want to show a Popup which informs the users if my app is not whiteli...
Amblyopia asked 8/5, 2018 at 10:55
1
I have an application that uses a ForegroundService to send location updates to a server. Basically a tracker.
This ForegroundService has a Handler that periodically (using postDelayed) executes a ...
Expedient asked 12/3, 2021 at 2:48
2
I'm using WorkManager that schedule my notifications, it works when my smartphone is active, but it doesn't work when my smartphone is in standby. Why? There is some constraint that let me that? Or...
Dichy asked 31/8, 2018 at 17:38
0
I am using WorkManager library to schedule a background task, and to prevent the app from sleeping the battery optimization section is opened from the app for the users to manually disable optimiza...
Guerdon asked 18/6, 2019 at 4:37
0
Iam trying to simulate the Doze mode while my app is running in the background.
What happens is that the thread will continue to run, even though the device has entered Doze mode. The docs specifi...
Vinegary asked 3/12, 2018 at 13:6
2
I am making an app that will run when the device is locked, via Activity#setShowWhenLocked(true). I do not want to prevent the device from entering a low-power state. I know that the system does th...
Kasten asked 25/10, 2018 at 13:5
3
I have a WakefulBroadcastReceiver with IntentService, every half hour alarm called and doing some stuff.
I have already handle doze mode with setExactAndAllowWhileIdle() method.
Some new smart pho...
Nutriment asked 23/1, 2017 at 10:27
1
I have an app that listens for notifications via NotificationListenerService. My app survives both the Doze mode and app stand by on almost any phone (if properly set-up e.g. exception or a foregro...
Wordsworth asked 6/11, 2017 at 21:2
4
I think this question is asked many time in stackoverflow but still so many people struggling to resolved it.
In my android app I have to wake up device for every half hour to getting current loca...
Folberth asked 2/12, 2016 at 12:12
1
Google introduced Doze and App Standby mode with Android 6.0 OS.
Device will enter in Doze mode if device is unplugged and unused for some amount of time and if application stays inactive for some ...
Annice asked 5/3, 2016 at 6:44
1
I am working on an application which spawns some services in the background using AlarmManager. Timing is very crucial to our application and the functionality can't wait for the next maintenance w...
Entozoic asked 5/1, 2017 at 12:36
3
Does anyone know if a whitelisted app that is holding a partial wake-lock can receive location updates while the device is in Doze or the app is in Standby?
The Android docs (http://developer.andr...
Creighton asked 24/10, 2015 at 16:45
1
I need to set a repeating alarm every X hours that would even fire in doze mode. However, the only Apis available in AlarmManager for Android 23 are setExactAndAllowWhileIdle and setAndAllowWhileId...
Radiate asked 31/8, 2016 at 8:54
0
If the device is in DOZE IDLE or IDLE_MAINTENANCE mode, these events can be received if we register a broadcast receiver for "android.os.action.DEVICE_IDLE_MODE_CHANGED". But this receiver is not w...
Orvalorvan asked 13/7, 2016 at 1:31
2
Everything seems to point to these two commands:
adb shell dumpsys battery unplug
adb shell dumpsys deviceidle step
I followed the instructions on my Nexus 6 running the Marshmallow official rel...
Aerometer asked 30/10, 2015 at 15:21
1
Solved
This is a simple question, seeing that there is a huge post about this on G+ (here), and lack of information on official docs (here ):
What happens to the app's services when the device goes to "d...
Arawakan asked 16/6, 2016 at 20:56
1
I have noticed an issue with my audio streaming app on Android 6.0 devices. Audio streaming is done via HLS over a network connection. Audio playback occurs in a foreground service with an active n...
Kianakiang asked 16/2, 2016 at 17:10
1
Solved
What is difference between AlarmManager.setAndAllowWhileIdle() and AlarmManager.setExactAndAllowWhileIdle()? How does these both affect Doze mode introduced in Android 6.0 (Marshmallow) API?
Thomas asked 27/2, 2016 at 5:33
2
Solved
I've made an app that always worked until Android 6.0. I think it's the Doze feature that it's not allowing my Alarm to fire.
I use sharedpreferences to handle the options:
//ENABLE NIGHT MODE TI...
Swerve asked 25/2, 2016 at 13:54
1
© 2022 - 2024 — McMap. All rights reserved.