Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

README + MIT License

  • Loading branch information...
commit b616c6966502f3d848c2c0a38cf8da7365954dca 1 parent 2226454
@joneskoo authored
Showing with 46 additions and 0 deletions.
  1. +21 −0 LICENSE
  2. +23 −0 README.mdown
  3. +2 −0  batteryinfo.py
View
21 LICENSE
@@ -0,0 +1,21 @@
+MIT License:
+
+Copyright (C) 2011 by Joonas Kuorilehto
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
View
23 README.mdown
@@ -0,0 +1,23 @@
+# Introduction #
+
+BatterylogX is a set of tools for logging and later analyzing laptop battery
+power data such as voltage and charge/discharge current. The goal is to have
+an easy-to-use (and maintain) toolkit for analyzing battery performance.
+
+Currently implemented is battery data logger only. The data is stored in a
+sqlite3 database. The data logger supports daemonizing (run in background).
+
+
+# System requirements #
+
+These programs are written for Python 3.2, but should also work with version
+2.7. The battery information is read using system\_profiler, an Apple
+proprietary utility. It should be trivial to port this to other platforms,
+but since I don't have non-Apple laptops, I'm not going to implement it.
+I am willing to integrate changes made by others as long as they do not break
+functionality for me.
+
+# License #
+
+All this code is open source under the MIT license. The full text is
+duplicated in the file LICENSE.
View
2  batteryinfo.py
@@ -1,4 +1,6 @@
#!/usr/bin/env python3
+# Copyright (C) 2011 by Joonas Kuorilehto
+# License: MIT License
import os
import plistlib
Please sign in to comment.
Something went wrong with that request. Please try again.