My laptop restarts everytime I close the lid and open it up again.
In System Settings->Power there is no option for what the laptop should do when the lid is closed.
The laptop never did this before but I got this problem after a fresh Debian install.
Also when hibernate it seams to restart when it comes out of hibernation.
edit: My laptop is a Dell Latitude e6410 and I found out that I probably have this problem after a bios update to the newest firmware.
Debian version 7.8
lspci output: VGA compatible controller: NVIDIA Corporation GT218 [NVS 3100M] (rev a2) (prog-if 00 [VGA controller])
lspci -v
and edit the answer into your question). It could be that it is trying to suspend, and restarts instead.