Go to your Control Pannel > Power options > Advanced then under "When I close the lid of my portable computer" Select Hibernate.
i meant with linux.

actually tho, i havent been able to figure out how to change my screen brightness in windows without the fn+sun keys. the volume hotkeys just interact with windows to raise, lower, mute the volume, but i've been digging around the control panels to find out what's changing my brightness when i hit those fn keys. is the screen only configurable through the OS? most of my comps use real monitors that have menus to set up things like brightness independantly from the os.