stumpwm-devel
[Top][All Lists]
Advanced

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

Re: [STUMP] [PATCH] "last full capacity" gives more accurate battery cal


From: Julian Stecklina
Subject: Re: [STUMP] [PATCH] "last full capacity" gives more accurate battery calculations
Date: Mon, 14 Jul 2008 19:40:19 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

John Li <address@hidden> writes:

> 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

Merged in cpubattery branch.

Regards,
-- 
Julian Stecklina

Well, take it from an old hand: the only reason it would be easier to
program in C is that you can't easily express complex problems in C,
so you don't. - Erik Naggum (in comp.lang.lisp)

(Spam-Experiment: http://cthulhu.c3d2.de/~astro/badpit.html )

Attachment: pgpE82ku0TsMb.pgp
Description: PGP signature


reply via email to

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