Opened 11 years ago

Closed 11 years ago

Last modified 11 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 11 years ago.
AcpiBattery.exe (21.0 KB) - added by pasha 11 years ago.
apm.log (64.0 KB) - added by David McKenna 11 years ago.
acpibattery.log (878 bytes) - added by David McKenna 11 years ago.
acpibatunplug.log (942 bytes) - added by anonymous 11 years ago.
apm.add (11.9 KB) - added by pasha 11 years ago.
apm for test buttery

Download all attachments as: .zip

Change History (15)

Changed 11 years ago by anonymous

comment:1 Changed 11 years ago by David McKenna

ACPIManager can evaluate _BIF with no errors as well.

comment:2 Changed 11 years ago by Eugene Gorbunoff

Do you run ACPI Daemon?

comment:3 Changed 11 years ago by anonymous

Yes... ACPIDaemon is loaded.

Changed 11 years ago by pasha

comment:4 Changed 11 years ago by pasha

  • Owner changed from pasha to anonymous
  • Status changed from new to assigned

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

Changed 11 years ago by David McKenna

Changed 11 years ago by David McKenna

comment:5 Changed 11 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 11 years ago by anonymous

comment:6 Changed 11 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 11 years ago by pasha

apm for test buttery

comment:7 Changed 11 years ago by pasha

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

comment:8 Changed 11 years ago by pasha

  • Resolution set to fixed
  • Status changed from assigned to closed

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

comment:9 Changed 11 years ago by David McKenna

Thanks! It works great.

Note: See TracTickets for help on using tickets.