[Top][All Lists]

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

Re: Darwin support for lisp/battery.el.

From: Lute Kamstra
Subject: Re: Darwin support for lisp/battery.el.
Date: Mon, 04 Jul 2005 09:39:41 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Ken Raeburn <address@hidden> writes:


> (And, BTW, the "-g ps" arguments given don't seem to do anything on my
> laptop running 10.3, kernel 7.9.0; I don't know if that means it's
> just not a supported option on my laptop for some reason, which would
> seem kind of strange, or if the "ps" option wasn't added until 10.4.)

My patch tries to test whether pmset supports "-g ps" by looking at
the exit code.  Does "pmset -g ps" return a non-zero exit code on your

Do you know of a way to get battery information on your system?


reply via email to

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