GNU bug report logs -
#643
23.0.60; battery.el needs deprecated ACPI_PROCFS_POWER interface
Previous Next
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
Message #19 received at 643 <at> emacsbugs.donarmstrong.com (full text, mbox):
On 2008-08-07 18:35 +0200, Chong Yidong wrote:
> The Linux kernel developers have deprecated the longstanding /proc/acpi
> interface, which breaks battery.el on recent kernels (bug#643 and
> bug#660). Now, the battery information is supposed to come through
> sysfs.
>
> Even though it's the feature freeze, I think it's necessary to ensure
> that battery.el works at least at a basic level. So, here's a patch
> that adds primitive sysfs support for battery.el. It doesn't do as much
> as before, because AFAICT the new sysfs interface provides less
> information than the old acpi interface (go figure).
>
> It's lightly tested. Could someone try this out and see if it does the
> right thing?
The results are funny on my laptop (battery full, online):
Power N/A, battery Full at (-34.7% load, remaining time)
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.