emacs-devel
[Top][All Lists]
Advanced

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

Re: Battery update


From: Eli Zaretskii
Subject: Re: Battery update
Date: Fri, 08 Aug 2008 11:19:26 +0300

> From: Sven Joachim <address@hidden>
> Date: Fri, 08 Aug 2008 07:56:43 +0200
> Cc: address@hidden, Emre Sahin <address@hidden>,
>       address@hidden
> 
> 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.

So what, we are now going to chase this elusive directory till Kingdom
Come?  I say let's stop supporting this feature until the Linux kernel
developers make up their minds about the place and shape of this
information.  Geez! that's even worse than Microsoft's zigzagging of
some APIs.




reply via email to

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