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:
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.
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: Next maintenance wake [Backup Interval]: <date: 0x7fb250608870> 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.