Keep Alive

Keeps the device awake without changing any configuration

Keep Alive

Keeps the device awake (Stop from falling asleep) without changing any configuration

Configuration

Below configurations can be updated based on your needs.

Property Description
timeoutInSeconds utility automatically stops after these many seconds. Default time is 3600 seconds (1 hour)

Usage

Maven

<dependency>
    <groupId>in.testonics.omni</groupId>
    <artifactId>keepalive</artifactId>
    <version>1.0.0</version>
</dependency>

Gradle

compile 'in.testonics.omni:keepalive:1.0.0'

Keep your device awake (Strops from Sleeping) programmatically

        //Import the utility
        import static in.testonics.omni.models.KeepAlive.keepAliveByMouseMove;

        public class KeepAliveTest {
            //Optional Parameter: timeoutInSeconds
            //if not provided, utility will stop after 1 hour
            keepAliveByMouseMove(int timeoutInSeconds);
        }

License

This project is Apache License 2.0 - see the LICENSE file for details

Release Notes

Can be found in RELEASE_NOTES.

Code of Conduct

Please, follow Code of Conduct page.

Also if you’re interesting - see my other repositories