Local or Push Notification consumes less energy?

491 Views Asked by At

I want to use notification and i have read that Local and Push Notification is basely same, only difference is that push notification is

remote notification

The info comes from outside, and local Notification is local.I have also read that Push consumes 20% of battery usage.My question is that the Local notification is better in battery save or not?

thanks

2

There are 2 best solutions below

0
On BEST ANSWER

Well, in both the cases it depends on the implementation and number of notifications user receives.

Push Notifications seems to consume lesser than the local notifications. But if the user has huge friends list (for example), then he/she would probably be getting lots of notifications and probably (as per your implementation) lots of notification alerts as well, then in this case even the Push Notifications consume good amount of power.

0
On

There is no difference, or if there is it's miniscule. In order to have notifications of any sort the device must "wake up" from time to time.

Since, in the general scheme of things, it's got to monitor for phone calls, messages, and push notifications for other apps, it's regularly "listening" for messages.

Likewise, many operations inside the device are based on timers, so the device is always running a timer and always ready for a time interval to expire.

Once the push notification has been received or the local notification timer has gone off, the logic inside your app is virtually identical, so there's no difference there.

The biggest difference would likely be on the setting side, but that could go one way or the other depending on how your app sets up notifications.