Screen should not rotate automatically on a laptop
There are recently more machines shipped with an accelerometer to bring about the automatic rotation feature on pad-like or 2in1 products. However, manufacturers sometimes share designs between platforms; a laptop may mount an accelerometer on its panel. The user experience on laptops with a fixed keyboard/touchpad that rotates automatically is somehow annoying, and the touchpad motion is confusing.
The SMBIOS specification defines chassis type in section 7.4.1. Softwares can determine to rotate automatically or not by checking this value, or at least not to rotate on a laptop(0x09) and notebook(0x0A).