batteryMonitoringEnabled to be YES

It is to be needed
[UIDevice currentDevice].batteryMonitoringEnabled = YES;
Did not know until test on real device.