Question

I am trying to develop a simple calendar app with a live tile but in battery saver mode the background agent won't run and I can't have the live tile updated with the current day and day of week.

I noticed that the Calendar (1st party app) does not suffer from this problem even in Battery Saver mode.

Does it get special attention / capabilities being a first party app or there is some trick that I don't know (yet)?

Was it helpful?

Solution

The built-in (or system) apps are not restrained in the same way that 3rd party apps are. There are many examples of this on Windows Phone but two visible ones are...

  • The calendar app updating its Live Tile even when Battery Saver is turned on (which you noted).

  • The People Hub Live Tile which has many small tiles which rotate in sequence - as developers, we don't have access to that Live Tile Template.

  • The Photos Hub Live Tile displays photos using a panning animation - also not available to developers.

As there is no 'fix' if your PeriodicTask doesn't run as expected, you'll simply have to update the tile when your app runs as well as checking the status of the PeriodicTask each time.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top