Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#32 closed defect (fixed)

Battery always shows 0%

Reported by: David McKenna Owned by: anonymous
Priority: minor Milestone: Release version 3.08
Component: APM Compatibility Driver Version: 3.01
Keywords: Cc:

Description

Using eCS 2.0rc1, w4 kernal, ACPI 3.01, APM 1.16. Battery widget always shows 0% whether plugged in or not, but time remaining seems to be correct. Battery.log (from ACPIBattery) shows an error evaluating _BIF, but ends by saying 'no error'(?). Using 'iasl' to check the DSDT does not show any error in _BIF.

Attachments (6)

battery.log (252 bytes ) - added by anonymous 17 years ago.
AcpiBattery.exe (21.0 KB ) - added by pasha 17 years ago.
apm.log (64.0 KB ) - added by David McKenna 17 years ago.
acpibattery.log (878 bytes ) - added by David McKenna 17 years ago.
acpibatunplug.log (942 bytes ) - added by anonymous 17 years ago.
apm.add (11.9 KB ) - added by pasha 17 years ago.
apm for test buttery

Download all attachments as: .zip

Change History (15)

by anonymous, 17 years ago

Attachment: battery.log added

comment:1 by David McKenna, 17 years ago

ACPIManager can evaluate _BIF with no errors as well.

comment:2 by Eugene Gorbunoff, 17 years ago

Do you run ACPI Daemon?

comment:3 by anonymous, 17 years ago

Yes... ACPIDaemon is loaded.

by pasha, 17 years ago

Attachment: AcpiBattery.exe added

comment:4 by pasha, 17 years ago

Owner: changed from pasha to anonymous
Status: newassigned

Can you try this AcpiBattery and install apm.add from debug directory and attach apm.log. Create as copy apm$ apm.log

by David McKenna, 17 years ago

Attachment: apm.log added

by David McKenna, 17 years ago

Attachment: acpibattery.log added

comment:5 by David McKenna, 17 years ago

I have added the logs you requested. ACPIBattery.log is the result of running the test ACPIBattery you provided. It looks like it works now! APM.log is the log after loading the debug APM.ADD. All of this is using the new versions of ACPI (3.02) and APM (1.17).

by anonymous, 17 years ago

Attachment: acpibatunplug.log added

comment:6 by David McKenna, 17 years ago

I added ACPIBatUnPlug.log... this is the result of the test ACPIBattery with notebook unplugged. It clearly works.... even if it is buttery 8-)

by pasha, 17 years ago

Attachment: apm.add added

apm for test buttery

comment:7 by pasha, 17 years ago

Try attached apm.add pls, acpi.psd V3.02 must be!

comment:8 by pasha, 17 years ago

Resolution: fixed
Status: assignedclosed

Increase struct size in AcpiBattery and change apm.add for use ACPI_ALLOCATE_BUFFER instead fixed struct.

comment:9 by David McKenna, 17 years ago

Thanks! It works great.

Note: See TracTickets for help on using tickets.