Nokia 929 Battery size

manicottiK

Member
Nov 24, 2011
661
3
18
Visit site
I noted that our app does, on average, 16 pushes (technically 16 tiles plus 16 corresponding toasts) each year, but forgot to add info on our periodic task.

In our app, if the user enables it, the task runs every half hour to download fresh data used to update between zero and a lot of tiles. The sample below shows the main app tile, the tile for a specific class, the schedule tile (we're in week 11 of the term), and the all courses tile (this student has only one course with recent activity, which happens to be the one above it in the picture). Other tiles provide the balance on our "DragonCard", counts of upcoming job interviews, etc. There's lots to update, but not much never every half hour.

We had to restructure things twice and switch our data serialization library twice to get the task to run in 11MB. (I mentioned 20MB above, but that's for 1 GB phones. We stuck with the 11MB limit used for 512MB phones to support more of our students.) The restructuring reduced both memory usage and cellular data used. By only sending the app data when there's a change (i.e., if a student adds or drops a class, the new class list is sent to the phone, otherwise, the server sends back a null list to tell the app to keep using the one already on the phone) the background task generally has less updating work to do, which helps us stay within the memory limits.

We also built in logic so that it a task dies or is killed, the next time that it runs, it finishes updating any remaining tiles using the data retrieved the last time. In such cases, the tiles may be an hour out of date, but at least it keeps the task running. If the app does die twice in a row such that the OS drops the periodic task from the list of enabled apps, we let the user know that and provide why the task was unscheduled (memory, speed, blocked by user via Settings, etc).
 

Attachments

  • 480 8 Live Tiles.png
    480 8 Live Tiles.png
    47.8 KB · Views: 13
Last edited:

puttlikezach

New member
Dec 9, 2013
23
0
0
Visit site
Thanks to everyone who chimed in. Extremely insightful information. Not surprisingly, it sounds like there is a lot that effects battery usage and that WP may have some inherent advantages over Android in that regard...but as it was said, the proof will be in the pudding. Out with this phone already!!
 

undulose

New member
Dec 20, 2013
337
0
0
Visit site
If it's true, that would probably be a good news. The Lumia 1020 has 2000 mAh only but it can last a day of heavy use. Then consider the fact that it is also rumored to have Snapdragon 800 which is more energy-efficient that its predecessors.

On a second note, WP is more energy-conservative than Android, in general.
 

Members online

Forum statistics

Threads
327,065
Messages
2,249,324
Members
428,597
Latest member
robson88