A friend said, his laptop's battery is very weak after Ubuntu failed to suspend after lid closed. He then quickly put laptop to backpack and did not realized, that laptop is still working.
I'm wondering how to make Ubuntu beep when lid is closed for N minutes, but system is not suspended and temperature increased up to a danger zone?
UPDATE: Question here is how to make it warn me that it failed to switch off. If I'll be in a hurry I'm sure I will not want to wait 5s until I'll be sure it went off. I'll be closing the lid, throwing laptop into backpack and running. :)