You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mavericks MacBook Air 2013 Battery Draining

Hello,


I recently installed Mavericks onto my Macbook Air 2013, Haswell, 128GB i5 model

I find that the battery drains very quickly; in general it only shows an estimate of less than 6 hours with just Chrome open. Before it used to be 10-12 hours+. I used to not notice when the battery percentage would go down; now every few minutes I notice it slowly decreasing.

I read that the computer needs time to index the hard drive but I do not see the Spotlight indexing.

What is going on? Does the computer need to go through one cycle of almost draining the battery from full in order to accurately preserve energy?

The computer went from 100% to around 78% over the span of around 2 hours... not good.


Why is my computer showing a decrease in battery life when Mavericks is supposed to increase it dramatically? Typing this message in a span of 10 minutes already dropped my battery life around 1-2%. (No hardware problems; flawless on Mountain Lion)


Thanks,


Sam

MacBook Air, OS X Mountain Lion (10.8.5)

Posted on Oct 23, 2013 9:43 AM

Reply
361 replies

Dec 6, 2013 12:39 PM in response to scintoon

type this: sudo rm /private/var/vm/sleepimage this requires admin priviliges to do in terminal. This file has been known to become as large as 20gb, and it recreates itself (I performed a little more research and found out). The sleepimage is what keeps track of what you are doing before you sleep your computer, so you can get out of sleep with all your programs and info untouched. The file just expands and expands, recording the whole time you use the computer so it needs to be deleted so it can start fresh with no info inside the file.

Dec 6, 2013 1:22 PM in response to macmacma...

@macmacma...

"The file just expands and expands, recording the whole time you use the computer so it needs to be deleted so it can start fresh with no info inside the file."

NO. Until Mavericks, this file is as big as the Ram and just a copy of the complete Ram, 8GB of Ram means a sleepimage file of 8GB, and so on (it overwrites every time).

In Mavericks the handling of Ram is different completely, and much more efficient; and the sleepimage file is much smaller than the physical Ram, say about 1-2 GB.

@Redactor

If you do not need a hibernatemode that writes a sleepimage (for example when you have a SSD) to save shutdown and startup time, then you should not mess around with it; and in Mavericks there is not much to win, as I said above.

But note that in Mavericks it is more complex than just setting the hibernatemode to 0 and deleting the sleepimage file: this writing of the sleepimage comes back even after setting the hibernatemode to 0. You also have to create a zero size sleepimage and then lock it to make it impossible to overwrite, so that the effect is that there is always a zero size sleepimage.

Dec 13, 2013 11:11 PM in response to computeruser25

I have been complaining but kept quiet (still reading). I took a note on the sleep image - thinking that there could be some sort of background indexing. I did not remove it, let it rebuilt by the system, but I did disk repair thinking it could be some bad index pointer (again, this is a '09 MacBook pro, sort of old), each time I restarted with SMC and - gasp! - installed Onyx for 3rd party treat and even ran it.


Now, yet another 3rd party, Coconut is telling me this (saved the history).

datecapacityloadcycles
11/4/131147341
11/30/134512344
12/1/134504344
12/5/134458344
12/12/134502345
12/14/134516346

I have been using my laptop on battery for about an hour now, it says 83% and 4:03 hrs remaining (Mail is open).


this is not true but so long the 2-3 I had before Mav I think this key is patience. Still, I would like to pass this info to some Apple expert, perhaps they could clarify what may be wrong, that (1) fixed now or (2) does not appear.


I have not yet tested whether the % indicator is accurate, beforehand it simply stopped at 65% and shut down. I will let you know what happened.


And, let me add, as far as anyone citing the need for the discussion thread, may there be one, but the original premise of each of these was (and has always been) the battery.


Nothing else. Those were the derailed arguments, not these (this is a nod to tut, I feel your pain).

Mavericks MacBook Air 2013 Battery Draining

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.