Turn screen off / fake sleep mode?

Hi there,

I have an app that plays relaxing audio. Users have requested that the audio continue to play after the device goes to sleep. I’m pretty sure that Corona doesn’t support that, but I was wondering about having my own ‘sleep mode’ whereas after a certain amount of inactivity, my app would continue to run but I would either turn the screen off or display nothing. 

Is it possible to basically ‘turn the screen off’? If not, and this is the real stupid question, would displaying just a black screen burn less battery than displaying graphics?

Thanks in advance for any thoughts or advice -

Nick

For a device with a backlight, the color of screen pixels doesn’t matter, as the backlight is always on. For AMOLED displays, black (or even just dark) pixels will actually save battery.

This guy tried to measure how much battery can actually be saved: http://blog.stevemould.com/phone-battery-save-black-wallpaper/

If your talking about iOS then i am fairly sure that you can play audio with the screen locked. At least you could last time i tried it.

I don’t have any links to hand for you right now unfortunately.

Edit: see this: http://forums.coronalabs.com/topic/34329-playing-audio-on-lock-screen/

For a device with a backlight, the color of screen pixels doesn’t matter, as the backlight is always on. For AMOLED displays, black (or even just dark) pixels will actually save battery.

This guy tried to measure how much battery can actually be saved: http://blog.stevemould.com/phone-battery-save-black-wallpaper/

If your talking about iOS then i am fairly sure that you can play audio with the screen locked. At least you could last time i tried it.

I don’t have any links to hand for you right now unfortunately.

Edit: see this: http://forums.coronalabs.com/topic/34329-playing-audio-on-lock-screen/