1# eTS Running Lock 2 3### Introduction 4 5This sample shows how to test the running lock that prevents the system from entering sleep mode. It uses the black and white wallpapers to simulate the screen-off and screen-on states. 6 7### Usage 8 91. Touch **Query support** to check whether the system supports the running lock. 10 112. Touch **Timing out screen 5s after**. The screen is turned off 5s later (simulated with a black wallpaper). 12 132. Enable the running lock. The system will be blocked from entering sleep mode. Five seconds after the setting, the screen will always on (simulated with a white wallpaper). 14 153. Disable the running lock. After 5 seconds, the screen turns off (simulated with a black wallpaper). 16 174. After the screen is turned off, touch any area on the screen to turn it on (simulated with a white wallpaper). 18 19### Constraints 20 21This sample can only be run on standard-system devices. 22