I have tried to get correctly battery level. But that value is not like value in status bar of iphone.
by code use UIDevice:
[[UIDevice currentDevice] setBatteryMonitoringEnabled:YES];
[[UIDevice currentDevice] batteryLevel];
please someone help me! I need get correctly battery level that like in status bar imdimatery.