Question fo developers about notifications....

meyerweb#CB

Banned
Sep 4, 2009
6,669
8
38
Not sure if this is the right place to ask this question, but I figure developers might have an understanding of how this works in Android:

If you go into the Application manager and look at the app details, every app has a checkbox for "Show notifications." Even apps that don't DO notifications have this checkbox, and by default it's checked.

What I'm wondering if there is any impact in terms of system resources, cpu utilization, or anything else, from having the checked? Does the system spend time looking for notifications if this is checked? Or does the system only respond if the app sends a notification?

The background for this is that I read elsewhere a suggestion that disabling notifications for apps that don't really need it will save on battery. I can see this is probably true if it's an app that actually makes notifications (for example, turning off notifications for Gmail would probably save some cpu). But I'm not sure if turning off notifications for Contacts, or Camera, would make any difference.

Does anyone know? Thanks.
 
Hello meyerweb,

In fact, regardless of whether the application uses the push or polling. Nothing will change.
Except as you say for applications that can be greatly sought as gmail, SMS application, etc ...

If the checkbox is unchecked, notifications are received by the application, but are just not displayed.
So to summarize, the background work is done anyway, the system just prevent the notification message. Which is almost nothing in terms of load.

Regards
 

Members online

Forum statistics

Threads
956,023
Messages
6,966,418
Members
3,163,462
Latest member
glastek13