anyone know how to do something similar on a windows laptop?
- 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.
Task Scheduling: http://stackoverflow.com/a/2725908
RRD interface: https://pypi.python.org/pypi/PyRRD
Battery reading: http://stackoverflow.com/a/6156606
This one will also output in XML. The APIs should be there in Windows 7, too.