Open jradavenport opened 10 years ago
Stargazers, what ya say? Got some data for me?
@bgriffen @stuartgallacher @Tafkas @awadsayeed @va3paw @galambalazs @nlazarevic @romeoro @rvidal @nphase @jaboutboul @mikehotel @jmackenz @ssloss @kangman @arjuntemurnikar @JohannMG @0xf2 @ashleydev @sh @h13ronim @urbansheep @PaulCapestany @rohn @anekinone @garethl @robertely @dapurv5 @ghv @rakhmad @hawkrives @Jackneill @sahilgupta @mariofts @alanho @mikehhodgson @elofgren @csenkbeil @cpg @pcx @dmanchon @scott-42 @ndbroadbent @georgiee @racx
And some other Stargazers, any data you can share?
@nicksuch @mbrodo @Tanner @tsironis @TrevorS @maximz @mrexroad @roblight @cinquemb @hugorodgerbrown @clsnyder @zlapper @Furchin @derekeder @zeckalpha @davidbarton @solidline @jcla1 @vincentstorme @bleuarg @marynagle @jrk @RSully @jehiah @wbrenna @chicks-net
Here's mine, since Sept 3, 2013: https://www.dropbox.com/s/9ax7dpkol01ed8b/.batlog.dat.gz
I've added in a check for ExternalConnected as well... see pull request #3. I also changed my collection rate a few times (1-5 minute intervals), but the timestamps are there so you should be able to figure it out. November 5, 2013 until now. Here you go: http://kyle.marek-spartz.org/files/batlog.dat.tar.gz
You probably want to know system information, too. I have a 2009 MacBook Pro 13" 2.53 GHz. I switched from a hard disk and optical drive to SSD and hard disk, with symlinks between them so I have a makeshift "fusion drive". I suspect you may be able to tell when I switched (I don't recall actually) from the data.
Edit: I use mine for both home and work stuff. I'm a software developer. Occasionally, some of my work stuff puts it through its paces.
Thanks for the early replies!
Yeah, any meta data you can provide would be awesome too. Examples:
Sadly the cron job that was running my test died / disappeared at some point, so I only have four months' worth of data - adding that just in case it's useful. It's a 13" MBA, bought Jan-2013, details attached, used at work & home. https://dl.dropboxusercontent.com/u/3850912/batlog.dat.zip
Here is mine: https://dl.dropboxusercontent.com/u/155737/Archives/batlog_work.dat.zip It is from my work laptop: MacBook Pro Retina (MacBookPro10,1) tracking since beginning of March 2014
happy to share https://www.dropbox.com/s/z4ufoj9en78mjrd/batlog_jehiah.20140727.dat.gz
@jradavenport Can you share any of the scripts you use to parse and plot the data via this repo? I have used similar data for my annual report in the past few years, but i'm hopeful to include this battery data this year. My dataset is for a Mid-2012 Air starting in Aug 2013 at cycle 59.
@jehiah Thanks for sharing!! I don't have a python data parser at the moment, but will work on one this week since several people have asked for it
Here is mine! https://www.dropbox.com/s/zverf5aw5kqkahw/2011_MacbookPro.batlog.dat.gz Used for both work/home.
My data:
https://www.dropbox.com/s/5vmjk6oy8kd6u8t/batlog.dat This is where my actual log file is, so it will update every minute.
I can also share my coconutBattery logs, although they are much less informative (cycles and capacity only, with about 1 data point per day).
This is my primary computer (Engineering Student) late-2013 15" MBPr
I've written a batlog graph generator in JavaScript, using the d3.js library. You can find it here:
http://pietvandongen.github.io/batlog-d3-chart/
Its generated graphs look like this:
To use it, you'll have to convert a batlog dat
file to csv
first. You can do that using a Python script I've written:
https://github.com/pietvandongen/batlog2csv
Alternatively, you can generate CSV directly by replacing your shell script with another Python script I've written:
@pietvandongen This is really neat!!! thanks for sharing!
To those looking for a python parsing example, here you go!
@jradavenport You're welcome, thanks for the inspiration! :)
It doesn't seem to work as well for my dataset- Here's my data and the screenshot of the output.
I don't have any data. When I update to 10.9 I lost everything, even the cron settings :'( But it's running again, this time pointing to dropbox. Call me again in a while. :) bye
@ajf1994 Thanks for the bug report, I've reported it here: https://github.com/pietvandongen/batlog2csv/issues/4
@ajf1994 I've fixed the bug, could you please try again?
It's been almost a year! Anyone else have more data to share for a follow-up article comparing users?
I shared a raw dataset previously on this thread, but i did use this dataset at the end of last year. https://jehiah.cz/one-four/ (it's the 5th report section on that page) and more details here https://jehiah.cz/a/macbook-air-battery
Great plots, @jehiah. Thanks for sharing! Glad this script is being used
My data up until just now is here (in CSV format): https://www.dropbox.com/s/9hq7s2okt4qbeh2/batlog.csv?dl=0
Here is my 10 cents. Data since Dec 2013 from a 1.3GHz i5 Mac Air. https://drive.google.com/file/d/0Bwff1Zd8ZxmmWjVoTmw5dlRkTFE/view?usp=sharing
Here are two log files for a 2011 Macbook Pro all the way to battery death and the replacement 2014 Macbook Pro. https://dl.dropboxusercontent.com/u/1031953/batlog.MBP2014.dat.gz https://dl.dropboxusercontent.com/u/1031953/batlog.MBP2011.dat.gz
Specification file for computer : https://raw.githubusercontent.com/blakedietz/battery-log/master/system-specifications.md
Data : https://raw.githubusercontent.com/blakedietz/battery-log/master/batlog.dat
Have fun with the data! :+1:
https://dl.dropboxusercontent.com/u/386773/batlog-2015.dat
Data for my rMBP (mid-2012) from the beginning of 2015 to July 13, 2015.
(I did replace the battery in… either April or May, I forget.)
Here's my 12-month chart:
Here's my 24-month chart:
Here's my 48-month (+1) chart:
I hope you all have enjoyed seeing my battery data and using this simple script to learn about your own computer and behavior. Many people star'd or fork'd this repo last year. Now I would love if some of you would be willing to share your data in return! My intention is to study the differences in people's computer behavior, as well as characterize how many laptop batteries age.
Let me know!