If you use Linux for home or work you know that how important it is to make your system suspend when you close the lid of your laptop.
I had same issue in default installation of Linux Fedora 23. Initially i thought it might be to do with Linux Kernel which might not be supporting the scenario. There were other people who had similar issue.
While playing around i found that the solution, and nothing fancy needed to be done apart from changing default settings.
Just change following:
When the lid is closed: Suspend
When the power button is pressed: Suspend
Perform lid-closed action even with external monitors are attached: ON (Important).
All done it should work.