stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[STUMP] [PATCH] "last full capacity" gives more accurate battery calcula


From: John Li
Subject: [STUMP] [PATCH] "last full capacity" gives more accurate battery calculations
Date: Mon, 7 Jul 2008 10:31:46 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

diff --git a/contrib/battery.lisp b/contrib/battery.lisp
index 3e7ca13..324b5fb 100644
--- a/contrib/battery.lisp
+++ b/contrib/battery.lisp
@@ -71,3 +71,3 @@
                                               :junk-allowed t) 0) 60))
-                  (full (parse-integer (gethash "design capacity" battery-info)
+                  (full (parse-integer (gethash "last full capacity" 
battery-info)
                                        :junk-allowed t)))
-- 
1.5.6





reply via email to

[Prev in Thread] Current Thread [Next in Thread]