New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need Other People's Data! #6

Open
jradavenport opened this Issue Jul 26, 2014 · 29 comments

Comments

Projects
None yet
@jradavenport
Owner

jradavenport commented Jul 26, 2014

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!

@nphase

This comment has been minimized.

nphase commented Jul 26, 2014

@kmarekspartz

This comment has been minimized.

kmarekspartz commented Jul 26, 2014

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

This comment has been minimized.

kmarekspartz commented Jul 26, 2014

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

This comment has been minimized.

Owner

jradavenport commented Jul 26, 2014

Thanks for the early replies!

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

  • What model/year is your computer?
  • Is this a work or home computer primarily? Or both, like mine?
  • Where/when do you use it
@hugorodgerbrown

This comment has been minimized.

hugorodgerbrown commented Jul 27, 2014

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

This comment has been minimized.

Tafkas commented Jul 27, 2014

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

This comment has been minimized.

jehiah commented Jul 28, 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.

@jradavenport

This comment has been minimized.

Owner

jradavenport commented Jul 28, 2014

@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

This comment has been minimized.

aihardin commented Jul 30, 2014

@ajf1994

This comment has been minimized.

ajf1994 commented Jul 30, 2014

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

This comment has been minimized.

pietvandongen commented Aug 5, 2014

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

This comment has been minimized.

Owner

jradavenport commented Aug 6, 2014

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

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

@pietvandongen

This comment has been minimized.

pietvandongen commented Aug 6, 2014

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

@ajf1994

This comment has been minimized.

ajf1994 commented Aug 7, 2014

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

This comment has been minimized.

mariofts commented Aug 8, 2014

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

This comment has been minimized.

pietvandongen commented Aug 8, 2014

@ajf1994 Thanks for the bug report, I've reported it here: pietvandongen/batlog2csv#4

@pietvandongen

This comment has been minimized.

pietvandongen commented Aug 8, 2014

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

@jradavenport

This comment has been minimized.

Owner

jradavenport commented Jul 7, 2015

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

@jehiah

This comment has been minimized.

jehiah commented Jul 7, 2015

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

This comment has been minimized.

Owner

jradavenport commented Jul 7, 2015

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

@pietvandongen

This comment has been minimized.

pietvandongen commented Jul 8, 2015

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

@va3paw

This comment has been minimized.

va3paw commented Jul 9, 2015

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

This comment has been minimized.

aihardin commented Jul 9, 2015

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

This comment has been minimized.

@hawkrives

This comment has been minimized.

hawkrives commented Jul 13, 2015

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

This comment has been minimized.

Contributor

hugovk commented Dec 10, 2015

Here's my 12-month chart:

screenshot 2015-12-10 19 47 16

@hugovk

This comment has been minimized.

Contributor

hugovk commented Dec 11, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment