New sample: BatteryStatus
(https://developer.apple.com/library/ios/samplecode/BatteryStatus/Introduction/Intro.html)
Fix samples to apply for latest framework changes