From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sam Lauber" Newsgroups: gmane.emacs.bugs Subject: Emacs Battery mode cannot use iBook Date: Sun, 26 Jun 2005 03:35:26 +0100 Message-ID: <20050626023526.99DEF23EF6D@ws5-4.us4.outblaze.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1119754627 2501 80.91.229.2 (26 Jun 2005 02:57:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 26 Jun 2005 02:57:07 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 26 04:56:56 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DmNKH-0007pp-Oe for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Jun 2005 04:56:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DmNN5-0007Nu-BL for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Jun 2005 22:59:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DmNMS-0007F1-Pl for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2005 22:59:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DmNMM-0007Ad-Ss for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2005 22:59:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DmNMM-0007A8-DY for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2005 22:59:02 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DmNOq-0003C6-Id for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2005 23:01:36 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.34) id 1DmNJk-0005QK-Fx for bug-emacs@gnu.org; Sat, 25 Jun 2005 22:56:20 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1DmN3Q-0002WJ-DH for bug-emacs@gnu.org; Sat, 25 Jun 2005 22:39:28 -0400 Original-Received: from [205.158.62.67] (helo=webmail-outgoing.us4.outblaze.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DmN3Q-0002W8-3a for bug-emacs@gnu.org; Sat, 25 Jun 2005 22:39:28 -0400 Original-Received: from unknown (unknown [192.168.9.180]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id A893B180012F for ; Sun, 26 Jun 2005 02:35:26 +0000 (GMT) X-OB-Received: from unknown (205.158.62.86) by wfilter.us4.outblaze.com; 26 Jun 2005 02:35:26 -0000 Original-Received: by ws5-4.us4.outblaze.com (Postfix, from userid 1001) id 99DEF23EF6D; Sun, 26 Jun 2005 02:35:26 +0000 (GMT) Content-Disposition: inline Original-Received: from [66.91.209.201] by ws5-4.us4.outblaze.com with http for sam124@operamail.com; Sun, 26 Jun 2005 03:35:26 +0100 Original-To: bug-emacs@gnu.org X-Originating-Ip: 66.91.209.201 X-Originating-Server: ws5-4.us4.outblaze.com X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:12341 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:12341 I have a iBook G4 w/ Mac OS X. I installed the Carbon Emacs from June '05.= =20=20 But the Battery mode does not know about the Mac OS X programs for battery status, so it dosen't know the battery status for the laptop when the system provides this information already.=20=20 Samuel Lauber P.S. The battery information can be found by calling the program `pmset -g ps'; it outputs information in the following format: Currenty drawing from 'POWER_SRC Power' -InternalBattery-0 XX%; STATUS; ESTIMATE where `POWER_SRC' is either AC or Battery. XX is the percentage of charge.= =20=20 (N.B. It is never 100%; the highest value that my iBook will give is 99%).= =20=20 STATUS is either `AC attached' (power adapter plugged in and battery fully charged), `discharging' (running off battery power and taking power out of the battery), or `charging' (charging up). If the battery is out, the enti= re `XX%; STATUS...' line is replated with `(removed)'. Note that the first line has a typo. It might get fixed, so don't rely on it.=20=20 --=20 _______________________________________________ Surf the Web in a faster, safer and easier way: Download Opera 8 at http://www.opera.com