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 #64 received at 643 <at> emacsbugs.donarmstrong.com (full text, mbox):
Chong Yidong <cyd <at> stupidchicken.com> writes:
> Sven Joachim <svenjoac <at> gmx.de> writes:
>
>>> What about (from the shell)
>>>
>>> cat /sys/class/power_supply/BAT0/uevent
>>
>> POWER_SUPPLY_VOLTAGE_NOW=12444000
>> POWER_SUPPLY_CURRENT_NOW=0
>> POWER_SUPPLY_CHARGE_FULL_DESIGN=4000000
>> POWER_SUPPLY_CHARGE_FULL=3985000
>> POWER_SUPPLY_CHARGE_NOW=3985000
>> POWER_SUPPLY_MODEL_NAME=GC86503SY90
>> POWER_SUPPLY_MANUFACTURER=SONY
>> POWER_SUPPLY_SERIAL_NUMBER=
>
> Maybe it's a Lisp integer overflow (I'm guessing you're on a 32-bit
> machine). Does the following patch give better results?
Maybe I did something wrong with diff & patch; this is my first
adventure with them in practice. (Yes, really!)
Message is something like:
Loading /home/iesahin/site-lisp/battery.el (source)...done
setq: Wrong type argument: listp, "/sys/class/power_supply/AC/online"
Emre
--
I. Emre Sahin @ Ankara, Turkey
Software Developer & Consultant @ http://ydyazilim.com
Ph.D. Candidate @ http://cs.bilkent.edu.tr
Blogger, Writer, Poet @ http://emresahin.net
Maybe hears the phone @ +90 532 261 8985
Maybe gtalk (or jabber) @ i.emre.sahin <at> gmail.com
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.