Battery API, background agend and internet connection
Battery API, background agend and internet connection
I'm using a background agent in my app.
It use battery API to get the percentage of charge and it update the main tile.
This is a very easy app, but... if I don't have internet connection or I'm using Airplane mode... the agent doesn't work.
This is a strange behavior for me... never seen in my applications.
Confirmation: PeriodicTask fails to trigger if there is no network connectivity in WP8 (enable Airplane mode, or disable both cellular and wifi).
This will likely affect apps that are designed to use PeriodicTask when there is no network connectivity (such as tracking location at a low interval rate, or monitoring battery level).
This issue will be considered for correction in a future version of the phone operating system