jradavenport / batlog

1 Year of MacBook Air Battery Logs
BSD 2-Clause "Simplified" License
189 stars 35 forks source link

Need Other People's Data! #6

Open jradavenport opened 10 years ago

jradavenport commented 10 years ago

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!

jradavenport commented 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

jradavenport commented 10 years ago

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

nphase commented 10 years ago

Here's mine, since Sept 3, 2013: https://www.dropbox.com/s/9ax7dpkol01ed8b/.batlog.dat.gz

kmarekspartz commented 10 years ago

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

kmarekspartz commented 10 years ago

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.

jradavenport commented 10 years ago

Thanks for the early replies!

Yeah, any meta data you can provide would be awesome too. Examples:

hugorodgerbrown commented 10 years ago

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 screen shot 2014-07-27 at 12 46 20

Tafkas commented 10 years ago

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

jehiah commented 10 years ago

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.

jradavenport commented 10 years ago

@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

aihardin commented 10 years ago

Here is mine! https://www.dropbox.com/s/zverf5aw5kqkahw/2011_MacbookPro.batlog.dat.gz Used for both work/home.

ajf1994 commented 10 years ago

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 30_jul_14__12_19_pm

pietvandongen commented 10 years ago

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:

example graph

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:

https://github.com/pietvandongen/batlog-python

jradavenport commented 10 years ago

@pietvandongen This is really neat!!! thanks for sharing!

To those looking for a python parsing example, here you go!

pietvandongen commented 10 years ago

@jradavenport You're welcome, thanks for the inspiration! :)

ajf1994 commented 10 years ago

It doesn't seem to work as well for my dataset- Here's my data and the screenshot of the output.

https://www.dropbox.com/s/7s8lgum6ulbt4gu/Archive.zip

7_aug_14__6_18_pm

mariofts commented 10 years ago

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

pietvandongen commented 10 years ago

@ajf1994 Thanks for the bug report, I've reported it here: https://github.com/pietvandongen/batlog2csv/issues/4

pietvandongen commented 10 years ago

@ajf1994 I've fixed the bug, could you please try again?

jradavenport commented 9 years ago

It's been almost a year! Anyone else have more data to share for a follow-up article comparing users?

jehiah commented 9 years ago

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

jradavenport commented 9 years ago

Great plots, @jehiah. Thanks for sharing! Glad this script is being used

pietvandongen commented 9 years ago

My data up until just now is here (in CSV format): https://www.dropbox.com/s/9hq7s2okt4qbeh2/batlog.csv?dl=0

va3paw commented 9 years ago

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

aihardin commented 9 years ago

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

blakedietz commented 9 years ago

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:

hawkrives commented 9 years ago

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.)

hugovk commented 8 years ago

Here's my 12-month chart:

screenshot 2015-12-10 19 47 16

hugovk commented 7 years ago

Here's my 24-month chart: screenshot 2016-12-11 23 05 25

hugovk commented 5 years ago

Here's my 48-month (+1) chart: image