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 since an fcm message can only wake the device a maximum of 10s, the maintenance window seems like the only way for me to download the images from all the push notifications.
The images will be max 100kb each and a maximum of 50 images at a time. So basically all in all maximum 5mb data usage.
I was wondering if the window during doze mode will be wide enough to allow these downloads.
I have searched across Google and have come across a few loose data details claiming 5 - 10 minutes.
Can anyone please guide me to the correct information.
Thanks and regards.