Skip to content

request: please add an option to be able to select a more specific update interval. #20

Open

Description

@ketahuilahaku

Image

I would like to be able to select more specific update intervals, for example, 7:30 AM; 8:00 AM; etc.

So, not just every 15 minutes, 30 minutes, or per day.

*just curious, specifically the "daily" option is every 00.01 AM or 24 hours after setting the wallpaper?

Activity

  1. smashedr commented on Jan 9, 2026

    @smashedr
    Member

    So this uses Android's WorkManager to schedule a PeriodicWorkRequest.
    Reference: https://developer.android.com/develop/background-work/background-tasks/persistent

    The Work Manager is more of a "best effort" task queue that balances battery life and task processing. When the app is in what is called "Doze" (for various reasons like inactivity, screen off, etc) tasks process less frequently and may miss an entire window for small windows. There is quite a bit involved here.

    That being said, I can add a setting, that will allow you to disable battery optimization for the app, which will bypass this restriction and ensure the task gets executed very closely to when it is set to run.

    This is a sample of mine running every 8 hours.

    Image


    Now to actually answer your question. When you change the interval, it schedules a new task that starts with a delay of how long the task is for. So if you set every 1 Hour, when you save that setting, 1 hour after that time, it "should" run again.

    If you want, as a quick fix, I can add the option to disable the battery optimization, which should make it execute very closely to the set schedule (as noted above). I have this code in other apps.

    For a longer fix, I can look into what is require to schedule tasks at specific times. I do believe this requires an additional app permissions.

  2. ketahuilahaku commented on Jan 9, 2026

    @ketahuilahaku
    Author

    Image

    I use hyperOS, there are features like the picture above. Is that the same as what you mean?

    just to be clear, what i want is every 7 AM (for example) the app would reload the picture from given url (because from the evening until 6.30 AM my data connection is turned off and would be on again at 7 AM. so i want specific time just like 7 AM every day).

    However, for now, i will use the available options.

    Thanks.

  3. linked a pull request that will close this issueAdd Battery Optimization Option #21on Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions