At Building Windows 8 blog today, Microsoft detailed the power efficiency of Windows 8 applications. Certain apps may become power hungry and drain our precious battery life soon. To avoid such scenarios, Microsoft allows the apps to be only in the following 3 states,this means that an app in Windows 8 can be in one of three possible states:
- Actively running in the foreground
- Suspended in the background
- Performing some defined background activity
- Here is what we enable in the background for Metro style apps in WinRT:
- Playing music
- Downloading a file from or uploading it to a website
- Keeping live tiles alive with fresh content
- Receiving a VoIP call
- Receiving an instant message
- Receiving an email
- Sharing content (like uploading photos to Facebook)
- Synchronizing content with a tethered device (like syncing photos)
The above new application model will deliver consistent long battery life while enabling connected experiences. One important thing to note is that applications that were designed for Windows 7 will continue to work as they have before with no change in behavior.
Read more at B8 blog.