First, do not switch to serverfault. This is really a programming issue :-)
We develop periodically connected applications. These applications are located on laptop and handheld computers. In my case, the application runs on a small servlet container (for example, a pier).
The requirement is that if the system is inactive, the application must suspend itself. If the laptop cover is closed, the application and the servlet container are in standby mode.
Are such things a feature of the OS itself or can such an understanding of power be built into the application? If it can be embedded in the application, how?
source
share