Demonstrates the use of the battery status properties and notifications provided via the iPhone OS SDK. Testing: The sample is only useful when run on a device. The simulator always returns unknown battery status.