MacBook Air 2013 screen issues after sleep I'm having some issues with my MacBook Air (2013). Whenever the system enters hibernation, as it does after a couple of hours of sleep, the screen gets distorted when it comes back from sleep.
When resuming from sleep the screen gets distorted like this:



A reboot fixes that but the menu bar icons as well as some toolbar icons disappear, like in the following screen shots:
Menu bar:

Finder:

Mail:

These issues go away with a reboot into safe mode and then reboot (a tip which I found in a different thread here), however it all comes back after the next hibernation.
It seems to be power related, as it only happens if the power cord is plugged in when the computer first goes into deep sleep and then gets plugged out while in sleep. I've tested this thoroughly using the DeepSleep widget and found how to reproduce it.
I've tried resetting the PRAM but no luck there. Also, the return from pmset -g | grep hibernatemode is 0 - is that normal on the Air? It used to be 7 on my previous MacBook.
Another thing that might be worth noting is that this started happening after I ran out of battery while the computer was on, however it happens every time it sleeps without power cord since then, even though it doesn't run out of power.
Update:
I thought that changing the hibernatemode to 7 worked, since my test to reproduce the issue didn't cause it anymore. However after having had the computer sleep over night it wouldn't wake up, it just showed a blank screen. This is the console output I got: http://pastebin.com/EB4SAtfe
The logs at 01:52 is when I put the computer to sleep and went to bed. It then wakes up 3 hours later and is then supposed to sleep again I guess. Not quite sure why it does this, it also says:
2013-09-16 04:52:53,008 com.apple.time[13]: Next maintenance wake [Backup Interval]: &lt;date: 0x7fb250608870&gt; Mon Sep 16 02:03:30 2013 CEST (approx)

Although that time has already past (It's 04:52 CEST when it schedules that). Also, there is no console output from when I wake the computer, even though I waited a good couple of minutes at the black screen before forcing a reboot as well as closed and reopened the lid.
So here's what happened:

I took the computer to the AppleStore, seeing it was only about three weeks old, and got them to take a look at it. Since it's a company computer I had some company benefits granting me a temporary replacement while they were fixing mine. I took my TimeMachine copy and restored it on to the borrowed Mac. I was surprised to find that the issue still appeared, which was quite annoying. So I restored the Mac again, messed around with the pmsetsettings and tried to reproduce the issue but it was impossible.

I then remembered that the issue started appearing a few days ago when I did a battery calibration (Drained the Mac completely) so I restored to a TimeMachine backup from before that and Boom, the issue was gone. At about the same time they called from the store and said that they couldn't reproduce the issue, so I told them what I had found, came in and got my computer back.

All in all, a really weird story but apparently something related to draining the battery while the computer was still on got corrupted and was then included in the TimeMachine backup.