KeepScreenOnState() seems not working

KeepScreenOnState() seems not working

BY 29 May 2013 Native Application Development

Hi,

I need the screen to stay on all the time an application is in foreground.

I use PowerManager to set screen on  but it gets dimming after time set in system settings.

    result = Tizen::System::PowerManager::KeepScreenOnState(true,false);

It dosen’t returns any error but not work.

Due to doc:

https://developer.tizen.org/documentation/dev-guide

I tried to use:

result = Tizen::System::PowerManager::TurnScreenOn();

 

but it gets no effect – screen is dimming after some time.

 

Of course I put correct privileage in my manifest:

<Privilege>http://tizen.org/privilege/power</Privilege>

 

Is there known any issue with PowerManager?

Sombody know how to prevent screen to go off in Tizen?

 

I test the application on real device.

 

Thanks for any help.

 

Regards

sland

Written by