Avoid entering energy saving mode
-
I have an application using Qt for TCP/IP communication. The application is receiving real-time data through the tcp/ip bascially until the application is stopped.
Unfortunately, is the Windows 7 energy saving option hibernating the system while the application is still running. After waking up the application sometimes even seem to continue the receiption the real-time data. However, always a gap in the data will occur.
Is there a possibility to suspend the energy saving through Qt? -
I think you have to use the native Win32 API for that.
-
You will need platform specific code to disable energy saving.