Macbook Air Mid 2013 screen flickering after using in clamshell mode I've been using my MBA in clamshell mode connected to a Samsung B2330 LCD monitor for about 2 days, using an Apple Mini Thunderbolt to DVI adapter. After taking it out of clamshell mode yesterday to use as a laptop, there was a heavy flicker on the screen. It seemed to affect mostly the startup screen and background image. Panicking, I started googling for solutions, people reportedly fixed it by resetting the SMC and PRAM. I tried that a few times and I don't think that it worked. But after a few minutes the flickering started to gradually go away, until it eventually became normal again. I'd say it took about 10 minutes to become normal again. 

My procedure for taking the MBA out of clamshell mode is:


Put MBA to sleep from the Apple menu.
Switch off external screen.
Unplug peripherals from MBA.
Open up MBA and use as laptop.


My question is, does anyone know why this is happening, and what the fix is?
Putting MBA in to Sleep mode will make it write a Sleep image, that is a file that contains your last settings ect.

Now when it wakes up it tries to load that file just to find out all is different now, no monitor ? 

Then it goes in to switching the display modes that creates the flickering.

My advice, skip the Sleep mode and just open the clamshell, then turn off the monitor and unplug it.