I have a fresh install of Ubuntu 12.04 and it seems to be fine except after 5 minutes a dialog box warning of shutdown in 60 seconds appears. If I don't dismiss this, the computer does indeed shut down. If I do dismiss it it reappears after 5 minutes.
There is nothing in the power manager settings or screensaver settings to account for this. Where else can I look to find what is triggering this?