Patent ID: 8595345
Filing Date: 2013-11-26
Classification: H04L

Abstract:
1. A method comprising: a push notification server, operating on a client device, receiving a connection termination message, wherein the connection termination message seeks to terminate an application that is registered with a push notification service, wherein the push notification server receives the connection termination message from a push notification gateway that facilitates the push notification service, and wherein the push notification server polls the push notification gateway at a polling interval in order to receive messages from the push notification gateway; the push notification server determining that a remaining battery life of the client device is below a battery life threshold and that the client device is not being charged; in response to determining that the remaining battery life of the client device is below the battery life threshold and that the client device is not being charged, the push notification server increasing the length of the polling interval; in response to receiving the connection termination message, the push notification server determining whether the application is operating on the client device; if the application is operating on the client device, the push notification server notifying the application that the connection termination message was received; and if the application is not operating on the client device, the push notification server deregistering the application from the push notification service, after deregistering the application from the push notification service, the push notification server determining that no applications operating on the client device are registered with the push notification service, in response to determining that no applications operating on the client device are registered with the push notification service, the push notification server stopping the polling of the push notification gateway.