developers have announced their intention to test a new feature that will essentially allow applications to keep systems awake even when there is no activity. They will achieve this with WakeLock.

To conserve battery life, most devices quickly go into sleep mode when they've been idle for a while. While this is best most of the time, some apps need to keep the screen or device on to complete their work.
With the WakeLock API you can prevent the device from dimming and locking the screen or shutting down. Applications that could benefit from such a service are navigation apps, ebooks or apps , and other tasks that require more runtime.
The WakeLock API is currently in an experimental stage, and developers should be aware that changes may lead to incompatibility issues. The intention to include this feature in Google Chrome has been in place since April 2018.

If the developers' testing of the feature proves successful, we can expect to see WakeLock on Windows, Mac, Linux, Chrome OS, and Android. Of course, if the feature is introduced in Chrome, some flaws should be anticipated.
For example, in the experimental stage it appears that there is no corresponding notification to inform the user that the device is activated.
Of course, it's possible that such features could become a target for hackers. Real-time monitoring is also a risk, as cybercriminals could use the feature to track traffic even when the target device's screen is off.
