Background running time with PushKit VoIP notifications <p>I'm writing VoIP application that uses PushKit notification, and I can't found <strong>what amount of background execution time gives me one incoming push?</strong></p> <p>The first thing I've checked is <code>[UIApplication sharedApplication].backgroundTimeRemaining</code> but this counter doesn't reset by next pushes and apps still remain active even with <code>backgroundTimeRemaining == 0</code>.</p> <p>My question is how to get remain time until app become frozen by system? Or how to calculate this time in respect to number of incoming PushKit pushes. </p> <p>I need this to gracefully close sockets/connections before application becomes frozen. </p>