[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Battery update
From: |
Johannes Weiner |
Subject: |
Re: Battery update |
Date: |
Fri, 08 Aug 2008 12:52:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Hi,
Eli Zaretskii <address@hidden> writes:
>> 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.
>From Documentation/feature-removal.txt:
What: ACPI procfs interface
When: July 2008
Why: ACPI sysfs conversion should be finished by January 2008.
ACPI procfs interface will be removed in July 2008 so that
there is enough time for the user space to catch up.
But I doubt that it will happen soon, though.
Emacs from CVS should probably support the latest variant of this API.
Hannes
- Re: Battery update, (continued)
- Re: Battery update, Sven Joachim, 2008/08/07
- Re: Battery update, Chong Yidong, 2008/08/07
- Re: Battery update, Sven Joachim, 2008/08/07
- Re: Battery update, Chong Yidong, 2008/08/07
- Re: Battery update, Sven Joachim, 2008/08/07
- Re: Battery update, Chong Yidong, 2008/08/07
- Re: Battery update, Emre Sahin, 2008/08/08
- Re: Battery update, Chong Yidong, 2008/08/07
- Re: Battery update, Sven Joachim, 2008/08/08
- Re: Battery update, Eli Zaretskii, 2008/08/08
- Re: Battery update,
Johannes Weiner <=
- Re: Battery update, Emre Sahin, 2008/08/08
- Re: Battery update, Sven Joachim, 2008/08/08
Re: bug#643: Battery update, Lennart Borgman (gmail), 2008/08/07
Re: Battery update, Stefan Monnier, 2008/08/08