You can print the remaining time for this session using backgroundTimeRemaining(docs here ). Apple makes no guarantees what will happen this time, it depends on the battery level, hardware, resources, etc. Therefore, this is probably not suitable for a long-term constant background task. You might want to consider the background fetch API , although it is similarly throttled by iOS and you do not have full control over when it starts.
source
share