GNU bug report logs - #643
23.0.60; battery.el needs deprecated ACPI_PROCFS_POWER interface

Previous Next

Package: emacs;

Reported by: Sven Joachim <svenjoac <at> gmx.de>

Date: Sun, 3 Aug 2008 07:45:03 UTC

Severity: normal

Merged with 660

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Sven Joachim <svenjoac <at> gmx.de>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: Emre Sahin <mail <at> emresahin.net>, 643 <at> debbugs.gnu.org,
        emacs-devel <at> gnu.org
Subject: bug#643: Battery update
Date: Fri, 08 Aug 2008 07:56:43 +0200
On 2008-08-08 02:10 +0200, Chong Yidong wrote:

>        (if (battery-search-for-one-match-in-files
> 	    (list "/sys/class/power_supply/AC/online") "1" 0)
> 	   "AC"

FWIW, I don't have a /sys/class/power_supply/AC directory, but there is
/sys/class/power_supply/ACAD.  Seems the directory has moved somewhere
between kernel 2.6.22 and 2.6.25, see
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=478937.

Sven 




This bug report was last modified 15 years and 241 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.