When a silent notification is delivered to the user’s device, iOS wakes up your app in the background and gives it up to 30 seconds to run.