I have a MacBook Air, 2009, with a recently replaced Apple battery in December 2012. Recently, when power cord comes off, the computer shuts down. Also, it usually will not restart unless power cord is attached.

  • 1
    Have a look at Applications > Utilities > System Profiler. There, look underneath Power Supply, more specifically the info about the battery. What does it says?
    – Édouard
    Mar 19, 2014 at 6:56
  • 3
    Please perform a SMC reset: Shut down the computer. Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected. On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time. Release all the keys and the power button at the same time. Press the power button to turn on the computer. Note: The LED on the MagSafe power adapter may change states or temporarily turn off when you reset the SMC.
    – Andrew U.
    Mar 19, 2014 at 8:20
  • For any such problem, include within the original question the output of:  > About This Mac > System Report… > Hardware > Power > Battery Information. This will help to get a fast analysis and answer.
    – dan
    Jun 10, 2020 at 6:37

2 Answers 2


The battery is dead.

The computer (in this case your MacBook Air) turns off because there is no more/not enough charge in the battery. If it's necessary to have the power adapter plugged in when trying to turn it on, it's a sure sign that the battery is discharged.

There are a number of utilities that you can get (paid and free) that will look at your battery status:

These are all good, but in my opinion, I would much rather use built in tools to get this info.

Using Terminal, just issue the command:

$ system_profiler SPPowerDataType

That will give you all the power settings related to your Mac. The output can be rather lengthy; the info you need will be at the top. You can limit it to just the battery info by tweaking the command as follows:

$ system_profiler SPPowerDataType | grep -i "charge information" -A 10


Charge Information:
          Charge Remaining (mAh): 3433
          Fully Charged: Yes
          Charging: No
          Full Charge Capacity (mAh): 3517
      Health Information:
          Cycle Count: 941
          Condition: Service Battery
      Battery Installed: Yes
      Amperage (mA): 0
      Voltage (mV): 12343

Here we can see that the battery is in need of service. (Coincidentally, I have a MBP with the exact same symptoms you have, so the output here works perfectly!) The key here is that under "Amperage" we get a "0" which means there is literally no current coming from the battery (Note: even though it may have voltage, if there are no amps, it won't have the "power" to supply).

If we unplug the power adapter, the battery has nothing to supply so the computer shuts off.

The Fix

You just need a new replacement battery battery (I suggest getting ones with at minimum a 12 month warranty; 18 month is better). From personal experience, the more "warranted" batteries lasted much longer. Definitely avoid the ones with less than a 12 month warranty no matter how inexpensive they are.

MBA Replacement Battery

To replace the battery; it's actually very simple. Just remove the screws holding the back cover in place.

Back cover of MacBook Air

Then, just remove the screws holding in the battery and swap. Just be careful when disconnecting the battery from the logic board. Don't yank it off, use a spudger or similar tool to disconnect the molex connector by "wedging" it off.

MacBook Air back removed

Reverse the procedure to reassemble. Make sure you note where each screw comes from as they are different.

That's it. Your MBA will now be able to hold a charge like it did when new.

  • Beautiful post! Sadly, amperage doesn't seem to be reported anymore? macOS Big Sur (11.3), MacBook Pro (15-in, 2019). Sep 23, 2021 at 2:39

Your battery gets not charged properly. This can mean different things. Start inspecting all the different components involved.

Try resetting SMC first and only after a SMC reset did not solve your problem you should think about replacing your battery.

The other two answers already explain everything you need to know about each of those steps very well.

But you should also check all the components and connections your current passes through: power adapter, MagSafe connection pins, MagSafe connection at your laptop. If, for example your MagSafe connection is not stable, your SMC could get into trouble: are all the pins ok or is one stuck? This happened to a MacBook Pro we have and as a result we had to buy new Batteries continuously until we found out, that the pins apparently did not have a stable connection. A screwed up SMC could be at the cause of all your troubles and in that case the question is: why did it screw up?

In our case the MBP stopped holding charge and did not charge. A SMC reset + MagSafe cleaning helped in our case, but we will probably have to buy a new power adapter.

When your MagSafe connection works you should get proper feedback from the LED.

  • check all the connections, what is the condition of your battery? Is it starting to increase its volume? Do you have a stable power connection at power outlet or at the MagSafe?
  • do a SMC reset.
  • try to charge after SMC reset
  • does it charge? What does the MagSafe LED say: green, orange, off?
  • in case SMC reset does not solve your problem you should consider a more thoroughly inspection of your battery.

From experience I can say that a screwed up SMC can put excessive stress on a battery and destroy it in a very short time.

  • This is a helpful answer. I'm not sure where to go next, though. Suppose you have a MacBook that gets better after a new battery, but the problem later recurs. How can you diagnose a faulty SMC?
    – jsm
    Jun 29, 2018 at 20:43
  • The SMC is the System Management Controller. It holds in its memory certain system settings, which are used to manage the computer. In case some settings or conditions are recorded, which are not normal, the system will start to behave and regulate itself according to those. I guess a faulty setting can be recorded through bad usage habits combined with hardware degradation plus “bad luck”... power outages, etc
    – SEJU
    Jun 30, 2018 at 1:14
  • 1
    An SMC reset fixed my mid-2010 MacBook charging problem. The selected answer is too hasty in recommending a replacement battery, when an SMC reset or PRAM reset should always be tried first. My battery, for example, was practically new (4 cycles) when this happened.
    – Haydentech
    Aug 23, 2018 at 16:00
  • @Haydentech : beware of the religion "reset the PRAM and the SMC" as a too fast answer to any kind of problem. Here is one of the uniq case where the SMC reset is relevant.
    – dan
    Jun 10, 2020 at 6:26
  • My fully charged 2015 macbook air is turning OFF as soon as I unplug the charger. I tried removing the charger one more time and now it is not turning ON. Also, this time, the charger feedback light is off.
    – Samir Kape
    May 24, 2021 at 5:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .