Opened 7 years ago

Closed 7 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 7 years ago.
acpibattery_AC-off.log (825 bytes) - added by anonymous 7 years ago.
Acpibattery log running on batteries
acpibattery_AC-on.log (822 bytes) - added by anonymous 7 years ago.
Acpibattery log running on AC
dsl-zip.zip (18.8 KB) - added by anonymous 7 years ago.
IASL -d running ACPI version 2007 September 12

Download all attachments as: .zip

Change History (8)

comment:1 follow-up: Changed 7 years ago by anonymous

Forgot to add my name :-)

Bye
Gabriele Gamba

Changed 7 years ago by anonymous

comment:2 Changed 7 years ago by paul@…

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?

comment:3 in reply to: ↑ 1 Changed 7 years ago by pasha

Replying to anonymous:

Forgot to add my name :-)

Bye
Gabriele Gamba

what show widjet and AcpiBattery? when AC is off ?

Changed 7 years ago by anonymous

Acpibattery log running on batteries

Changed 7 years ago by anonymous

Acpibattery log running on AC

Changed 7 years ago by anonymous

IASL -d running ACPI version 2007 September 12

comment:4 Changed 7 years ago by pasha

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

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.