This question already has an answer here:
Recently my installation of Ubuntu 13.04 has decided to stop going to sleep. I shut the lid and in power settings it is told to sleep but the computer only locks. I have tried running "sudo pm-suspend" and nothing happens at all. I get the same effect when trying to hibernate. Any suggestions on where to start troubleshooting?