When I'm connected to an external display, I would like to close the laptop without it going to sleep. When I'm not connected to an external display, I would like to have closing the lid put the laptop to sleep. I know I can achieve this by manually switching the power settings, but I'd like something automatic. I'm running Windows 7 (Home Premium 64bit) on an HP Pavilion dm3-1030us. Thanks.