After upgrading the past month from 14.04 to 16.04, I was also affected by this bug, where with 14.04 I closed the lid and my laptop suspended as it should.
I tried to set HandleLidSwitch=suspend in logind.conf but it made no change, the laptop wouldn't suspend.
Today I upgraded from 16.04 to 16.10 and it was all the same, closing the lid of my laptop does not suspend it.
Reading the comments on this thread, I added HandleLidSwitchDocked=suspend to my logind.conf and now it works perfectly.
HP Pavilion g6 here.
After upgrading the past month from 14.04 to 16.04, I was also affected by this bug, where with 14.04 I closed the lid and my laptop suspended as it should.
I tried to set HandleLidSwitch =suspend in logind.conf but it made no change, the laptop wouldn't suspend.
Today I upgraded from 16.04 to 16.10 and it was all the same, closing the lid of my laptop does not suspend it.
Reading the comments on this thread, I added HandleLidSwitch Docked= suspend to my logind.conf and now it works perfectly.