Python turns off the monitor instead of hibernating, and turns on the monitor with mouse movement

turn off the monitor via python

I have found the relevant code before

can be turned off, but after closing, a little movement of the mouse will turn on the monitor. I think a small movement of the mouse will not trigger the operation of turning on the monitor after closing. Turn on the monitor only if the mouse moves more than 200 pixels in four directions

Mar.10,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3a7d3-2c20d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3a7d3-2c20d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?