I can find "Power Profiles - System Settings" which allow me to choose action for "When laptop lid closed", but this is not in effect. gnome_power_manager is another place to set action for "When laptop lid closed".