Why does my HTC Android phone's screen switch on and then off again?
Some badly developed apps can cause device wakes.

Try uninstalling or freezing suspicious apps.

Check the logs to see what is causing this.