Hi Simo, Thanks a lot for your suggestion, QTimer with 50 seconds timeout calling req_display_blanking_pause on timeout works fine.
Best regards, Andrew Penkrat 2015-09-24 23:05 GMT+03:00 Simo Piiroinen <simo.piiroi...@jollamobile.com>: > On Thursday, September 24, 2015 05:44:48 PM Andrew Penkrat wrote: > > But screen keeps going blank after I call > > cpptools.setBlankingMode(false) from QML (tested on Sailfish OS > > 1.1.9.28). What can be the problem? > > Hi, > > The most obvious one is: You need to periodically repeat > the req_display_blanking_pause call - as a kind of proof > that the app is still alive. > > The maximum repeat delay is 60 seconds, but to be on the > safe side a bit shorter value should be used - something > like 45-55 seconds. > > Other thing to watch out is: blanking pause period ends > if display turns off and/or lockscreen gets activated. > And while in this state also new requests are ignored. > > Simo >
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org