Opened 17 years ago

Closed 17 years ago

#31 closed defect (fixed)

Wrong "Time remaining" indication by APM.ADD

Reported by: anonymous Owned by: pasha
Priority: minor Milestone:
Component: APM Compatibility Driver Version: 3.01
Keywords: time Cc:

Description

This is a Toshiba Tecra A5 laptop. I installed latest beer battery widget to control battery status. Icons are right, percentage status is right, status (charging/discharging) is right, but time indication is always "6 minutes remaining", with battery full charged, with battery almost empty or on AC...

Attachments (4)

acpibattery.log (831 bytes ) - added by anonymous 17 years ago.
acpibattery_AC-off.log (825 bytes ) - added by anonymous 17 years ago.
Acpibattery log running on batteries
acpibattery_AC-on.log (822 bytes ) - added by anonymous 17 years ago.
Acpibattery log running on AC
dsl-zip.zip (18.8 KB ) - added by anonymous 17 years ago.
IASL -d running ACPI version 2007 September 12

Download all attachments as: .zip

Change History (8)

comment:1 by anonymous, 17 years ago

Forgot to add my name :-)

Bye Gabriele Gamba

by anonymous, 17 years ago

Attachment: acpibattery.log added

comment:2 by paul@…, 17 years ago

I see this too. Seems ACPI can't read correctly the battery discharge rate on some machines. Pasha and I tried to fix the dsdt table for my laptop, but I wonder if something could be done in acpi to fix this, ie:

  • if detected rate is 0
  • check battery life remaining at a given time
  • check battery life remaining a given time later
  • calculate remaining life by looking at how much battery life has been used in a given time to determine the rate?

in reply to:  1 comment:3 by pasha, 17 years ago

Replying to anonymous:

Forgot to add my name :-)

Bye Gabriele Gamba

what show widjet and AcpiBattery when AC is off ?

by anonymous, 17 years ago

Attachment: acpibattery_AC-off.log added

Acpibattery log running on batteries

by anonymous, 17 years ago

Attachment: acpibattery_AC-on.log added

Acpibattery log running on AC

by anonymous, 17 years ago

Attachment: dsl-zip.zip added

IASL -d running ACPI version 2007 September 12

comment:4 by pasha, 17 years ago

Resolution: fixed
Status: newclosed

Time can't be fixed, because in table:

Store (BST1, Index (PBST, 0x00)) Store (0x00, Index (PBST, 0x01)) <--- Battery rate Store (Local2, Index (PBST, 0x02)) Store (Local3, Index (PBST, 0x03))

And this table give error with compile

Note: See TracTickets for help on using tickets.