Skip to content

[Bug] Investigate Doze Mode Killing Background Service/Alarm #2

@oddpawsx

Description

@oddpawsx

Describe the bug
If the device screen is off for long enough, Doze Mode may kick in and kill the service, preventing new wallpapers from being set even if the user hasn't clicked "Stop" to stop the service.

To Reproduce
Steps to reproduce the behavior:

  1. Run app
  2. Turn off the display/lock the device
  3. Wait some amount of time (e.g. 10 minutes)
  4. Set a wallpaper using another device to the link the app is configured to use
  5. Wait a minute
  6. Wake the device - the wallpaper won't be changing anymore

Expected behavior
The service listens in the background for new wallpapers until the user explicitly stops the service.

Screenshots
If applicable, add screenshots to help explain your problem.

n/a

Android (please complete the following information):

  • Version 12

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions