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)

Changed 17 years ago by anonymous

Attachment: battery.log added

comment:1 Changed 17 years ago by David McKenna

ACPIManager can evaluate _BIF with no errors as well.

comment:2 Changed 17 years ago by Eugene Gorbunoff

Do you run ACPI Daemon?

comment:3 Changed 17 years ago by anonymous

Yes... ACPIDaemon is loaded.

Changed 17 years ago by pasha

Attachment: AcpiBattery.exe added

comment:4 Changed 17 years ago by pasha

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

Changed 17 years ago by David McKenna

Attachment: apm.log added

Changed 17 years ago by David McKenna

Attachment: acpibattery.log added

comment:5 Changed 17 years ago by David McKenna

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).

Changed 17 years ago by anonymous

Attachment: acpibatunplug.log added

comment:6 Changed 17 years ago by David McKenna

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

Changed 17 years ago by pasha

Attachment: apm.add added

apm for test buttery

comment:7 Changed 17 years ago by pasha

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

comment:8 Changed 17 years ago by pasha

Resolution: fixed
Status: assignedclosed

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

comment:9 Changed 17 years ago by David McKenna

Thanks! It works great.

Note: See TracTickets for help on using tickets.