Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A chemist told me that a battery should be charged to and used between 30-70%, and its very bad for battery life to completely load or unload it.

He uses a utility program that always keeps the charge of his Lenovo laptop between 30% and 70%.

How can I achieve the same effect using Mac OS X?

share|improve this question
Why care about battery life degrading (let's say to 80% of original levels, which is a significant discharge) when that's still more energy than keeping it deliberately only at 70%? – Daniel Beck Aug 18 '12 at 10:09
If you care about your battery life, the most important thing to take into account is temperature. High temperatures (>35C) will permanently damage a batteries capacity. Low temperatures have a similar temporary effect. Also, modern batteries need to be used for maximum performance. If you don’t use your device often or have it hooked up to a power source all the time, be sure to complete a charge cycle at least once a month. See here for more info. I wouldn't worry too much about the whole 30-70% thing - couldn't find any evidence to support that claim – Thomas Ploeger Aug 18 '12 at 10:32
@ThomasPloeger The claim you couldn't find any evidence for is mentioned in the Wikipedia article about lithium ion batteries. – Daniel Beck Aug 18 '12 at 11:50
@ThomasPloeger Good question. I still see this as a problem of long-term storage though, especially since the computer's heat will advance battery deterioration independent of load level. We seem to have several good questions about the general topic in the battery-life tag. – Daniel Beck Aug 18 '12 at 12:57
@DanielBeck The reasoning is essentially that we would prefer, on extended desk-bound sessions, to keep the charge constantly at, say, 60%, which is in the long run less detrimental than keeping it constantly at 100%, all else being equal (a power adapter ready and willing to supply juice). Just before a trip or any normal portable usage session, the battery is to be topped off to 100%. I do believe that for most of us, myself included, the benefit of always being at the ready with battery fully charged outweighs that benefit. I think it's legit to want a way to keep a specified charge level. – Steven Lu May 30 '14 at 17:50

Based on this article:

  • Use partial-discharge cycles
  • Avoid charging to 100% capacity: why don't you unplug the charger now and then? Or try that software : (Note: I haven't tried it myself...)
  • Limit the battery temperature: make sure your laptop is well vented, and do not forget your laptop in your car during the summer.
  • Do not charge your battery in a cold environment (<0deg Celcius). The charger circuitry is supposed to monitor the temperature but just in case...
share|improve this answer
A little addition regarding useful softwares (OK they do not prevent from charging above a certain level, but they may help): coconutBattery, very lightweight, and MiniBatteryLogger, that logs your battery history. This one is a little bit old but works on my 2012 Macbook air. – sdive Jan 16 '13 at 8:21

I didn't find a pure Software solution, so I've set up a quick hack based on the Belkin WeMo Switch and a Node.js app. The WeMo is a power outlet that can be switched on and off via Wifi. So you can plug your laptop charger on the WeMo, and a script or an app running on your laptop monitor the battery and switch the outlet on and off accordingly. You can find an example of source code on my blog

share|improve this answer
That's awesome! I wish I could get all my li-ion powered devices to do that... – Protector one Aug 21 '14 at 18:22
This causes only permanent load-unload cycles. A stopped loading at, e.g. 70% - well - simply stops just loading the battery while the machine is still powered from the power cord. – Thomas S. Jun 6 at 6:53

Unlike a Thinkpad, there is no way to control the firmware on a Mac. The only way I have found to stop the charge while running off the line power is to insert a thin piece of paper between the plug and the laptop. If you block the middle conductor, the laptop will be unable to identify the power supply, and will therefore refuse to charge the battery, which is the desired result.

share|improve this answer
even on Thinkpads , the custom charging software (that also read cycles from battery) works on older version of Windows, it worked on the win7 that came with it, but on Win 8.1 pro x64 does not exist. Even now Windows 10 is released i think they will not support it anymore. Tested on an Lenovo x240 – George Dima Jul 29 '15 at 17:08

I really don't think this is an issue.

A full charge by itself does not significantly reduce the lifespan of the battery, unless it is stored at full charge for more than about two weeks. Your primary concern should be heat and unnecessarily deep discharges (to 20% or lower state of charge). Heat is the predominant concern with laptop batteries, because lithium-ion batteries degrade significantly faster at high temperatures that at low temperatures.

If your laptop allows it, detach the battery when it is fully charged while running on the AC adapter, so that it is not subject to the heat generated by the computer. Optimal battery life can be obtained by limiting the depth of discharge to about 50-60%, or discharging the battery to not less than 40-50% state of charge after a full charge. Detailed technical information on how to extend the life of lithium-ion batteries can be found in this Battery University lesson.

This is how I've maintained as much as 80% of the original charge capacity of my laptop's battery after 2-1/2 years of use.

share|improve this answer
Why was this downvoted? – bwDraco Sep 27 '15 at 17:37

This is the correct answer. I came from an ultrabook and I only found one solution. This: How do I keep a MacBook battery charged to only 70%?

You need to put a thin tape in the middle connector of your magsafe to avoid the connector to be identified, but still uses A/C so your battery stays at the same level (actually it loses ~2%/day, but still much healthier for the mac)

share|improve this answer
You have linked to question which you are answering. Are you sure that your solution is 100% safe?!? – g2mk Dec 30 '15 at 12:06

You must log in to answer this question.

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