Any way to force hibernation?

I can do it all EXCEPT changing the settings of "on lid close". This is needed.

Help is most welcome.

Legacy Forum Name: Force Hibernation,
Legacy Posted By Username: msurtees