Strong wake up IOS device from trouble-free sleep
If I enable the proximity sensor on the device using:
[[UIDevice currentDevice] setProximityMonitoringEnabled:true];
Works as expected. However, I have a timer running on a background thread and when I would like the device to wake up. If i call
[[UIDevice currentDevice] setProximityMonitoringEnabled:false];
Until the screen is turned off due to the proximity sensor, the device will not wake up. Instead, I need to move the device again and it will wake up with the sensor disabled.
Is there a way to make the device / screen wake up? Is there an alternative way to save battery power? I believe that just setting the screen brightness to 0.0f does not turn off the backlight.
+3
source to share