Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to keep screen on ? ( Not android )
Josh Jung last edited by Josh Jung
Now I am developing application based on QT.
When I execute my application with not any work, after 15 minute screen off. ( I think going to suspend mode )
( ** My application run on embedded linux not android. )
I found quit much information about keep screen on for android, but I'm not using android now.
I Want to keep screen on during limited time.
Do you have any about that?
koahnig last edited by
Hi and welcome to devnet forum
Most likely you are looking in the wrong place for a solution. All energy saving activities are typically handled by the OS. Sometimes even by the HW (e.g. external screens).
My recomendation is to check out the HW documentation and also the documentation of the OS.
there is an (unpublished) QtSystems module containing a QScreenSaver class you may want to give a try.
But this is only the screen saver part of course. As @koahnig said the power saving settings may only be used by native API. There is no Qt API yet - and probably never will be.
Josh Jung last edited by
Thanks, for giving answer about that!
I will try to check API and QScreenSaver class