power.displayoff()function


This function turns off the monitor.

Return value

This function returns no value

Example

--! luart-extensions import power print("Monitor will turned off in 5sec !") sleep(5000) power.displayoff()