News for hackers. Stuff that matters.
Re:The De-evolution of My Laptop Battery by netcraft on Friday August 16, 2013 @02:18PM (#6225778)
anyone know how to do something similar on a windows laptop?
Re:The De-evolution of My Laptop Battery by jbert on Friday August 16, 2013 @02:25PM (#6225823)
I'd guess:

- write a little code to drive this API: http://stackoverflow.com/questions/7785096/read-laptop-batte...

- and either use a task scheduler to run your code every minute, or startup a long-lived process which just does this and sleeps

- output in whatever format you like. CSV is obviously good, but given richer APIs on windows you could dump it straight into an excel sheet I guess.

Re:The De-evolution of My Laptop Battery by Scaevolus on Friday August 16, 2013 @04:51PM (#6226676)
RRDTool is great for storing these sorts of time-series archives, and it will generate pretty graphs as well. You could cobble together an app starting from these StackOverflow postings:

Task Scheduling: http://stackoverflow.com/a/2725908

RRD interface: https://pypi.python.org/pypi/PyRRD

Battery reading: http://stackoverflow.com/a/6156606

Re:The De-evolution of My Laptop Battery by voltagex_ on Saturday August 17, 2013 @10:52AM (#6229226)
http://www.techrepublic.com/blog/windows-and-office/check-ou...

This one will also output in XML. The APIs should be there in Windows 7, too.

Re:The De-evolution of My Laptop Battery by jradavenport on Friday August 16, 2013 @02:40PM (#6225915)
I have no experience with this kind of stuff for Windows, but I really hope somebody wiser than I can do it easily. I assume there must be an equivalent to cron in win8?