I had no such problem in previous ubuntus (13.10, 13.04, 12.10, 12.04 etc).
But after upgrading from 13.10 to 14.04 system just freezes if I close the lid or display turning off due to inactivity timeout. I also had the same problem after wake from suspend, but looks like the latest kernel update fixed this for me. I tried a clean install of 14.04 (using it right now) and it didn't help.
Same problem for Dell Inspiron 1525.
I had no such problem in previous ubuntus (13.10, 13.04, 12.10, 12.04 etc).
But after upgrading from 13.10 to 14.04 system just freezes if I close the lid or display turning off due to inactivity timeout. I also had the same problem after wake from suspend, but looks like the latest kernel update fixed this for me. I tried a clean install of 14.04 (using it right now) and it didn't help.