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...

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 ...

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...

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...

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...

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...

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...

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 ...

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...

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...

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...

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...

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...

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...

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...

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?

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...
1

© 2022 - 2024 — McMap. All rights reserved.