Apple MacBook Pro 13" battery history

One year has passed since I bought my Apple MacBook Pro 13" (mid 2010) laptop, and at that time I blogged about it. One feature I demanded was good battery capacity - the MBP 13" seemed like a great choice and I did go for it.

By middle of August I discovered coconutBattery, an application that shows the current battery capacity, its designed capacity, and current and maximum charge, as well as age of the laptop, battery load-cycles, temperature and power usage. One additional feature that popped-out right away was the ability to save the maximum battery capacity and as so since August 12, 2010 to today I've recording these statistics with a fully charged battery to later analyze how my laptop's battery health changed over time. That time has just ran out so let's take a quick look over it!

First, data extraction. A config.xsl file was created with the following content:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Edited by XMLSpy® -->
<xsl:stylesheet version="1.0" xmlns:xsl="">

<xsl:template match="/">
<h2>My Apple MacBook Pro 13" (mid 2010) battery history</h2>
<table border="1">
<tr bgcolor="#9acd32">
<th>Current Capacity</th>
<xsl:for-each select="database/object[@type='SAVEDDATA']">
<td><xsl:value-of select="attribute[@name='date']" /></td>
<td><xsl:value-of select="attribute[@name='capacity']" /></td>
Then, I fired up my terminal and ran:
$ xsltproc --nonet config.xsl ~/Library/Application\ Support/coconutBattery/\
coconutBattery.xml | sed 's|\(.*\)% (\(.*\) mAh)|\2|' > battery.html

This generated a battery.html file with 146 records dumped to a HTML table:

(table dump sniped)

And here is a chart of it:

And finally a screenshot of my coconutBattery:

Battery load-cycles is at 58 after one year and one month and a half. Note that the age of my Mac that reads above is 15 months but the accurate age is 13 months (the former is time since manufactured).

Do you also log your battery health over time? Have these kind of data? Please share it with us!

4 comentários:

Tiago Pires said...

Boas Carlos,

Tenho um MBP 13'' (mid 2010) como tu, e também me preocupei com a bateria ao longo do tempo. Tenho registo no coconutBattery desde Fevereiro 2011, e tenho notado um decréscimo na "saúde" da mesma. Também notei que este decréscimo foi mais notório quando tiver que usar o M$ Windows 7 por uns 2 meses. Neste momento estou com 89 ciclos e a capacidade máxima em 5510mAh.

Cumprimentos, Tiago Pires

Carlos Gonçalves said...

Boa tarde Tiago,

Eu tenho Windows instalado assim como Linux mas é em máquinas virtuais. O motivo do subito decréscimo registado é-me desconhecido mas fiquei alarmado principalmente quando desceu para os 93-94%. No entanto, como se tem aguentado à uns tempos vou esperar e ver no que dá.

Obrigado pelo teu testemunho!

pheobe22 said...

Quickly this site will indisputably be famous among all blogging people, because of its fastidious articles or reviews. macbook pro

Nick said...

Thanks for sharing the article.