Whenever I shut down my laptop down, and quick closing the lid right after hitting "Shut down", Ubuntu registered the lid closing and arranged for suspend (standby)!
The next time opening the lid, Ubuntu continued the shutdown process.
I know this is a problem some Mac Users have, maybe Windows too. So it is not uncommon.
However is there a way I can prevent such a thing in software rather than waiting before closing the lid?