An Instant Messaging App for Firefox OS to show how to use the Battery Status API in a real-world use case