I'm curious, so some dumb questions.
Why are you moving the mouse (to do nothing to keep the PC awake) if you want the PC to sleep automatically?
Would you want the PC to go to Sleep while you are moving the mouse?
If you are moving the mouse intentionally and want the PC to sleep, why not just click "Sleep"?
Are you accidentally moving the mouse while doing something else?