Bug 8487 - present voltage shown incorrectly
Summary: present voltage shown incorrectly
Status: REJECTED INVALID
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Battery (show other bugs)
Hardware: i386 Linux
: P2 low
Assignee: acpi_power-battery
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-16 18:19 UTC by Friedrich Oslage
Modified: 2007-05-19 05:15 UTC (History)
0 users

See Also:
Kernel Version: 2.6.21-rc2
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
acpidump.out (98.41 KB, text/plain)
2007-05-16 18:22 UTC, Friedrich Oslage
Details
lshw.out (14.17 KB, text/plain)
2007-05-16 18:24 UTC, Friedrich Oslage
Details
BAT1.tar (10.00 KB, application/x-tar)
2007-05-17 04:41 UTC, Friedrich Oslage
Details
dmesg.out (15.09 KB, text/plain)
2007-05-17 04:44 UTC, Friedrich Oslage
Details

Description Friedrich Oslage 2007-05-16 18:19:19 UTC
Most recent kernel where this bug did *NOT* occur: Unknown
Distribution: Gentoo

Problem Description:
/proc/acpi/battery/BAT1/state shows a value of 1 mV as present voltage. The
label on the battery says 14.8V.

Hardware used: Acer TravelMate 4062WLMI
Battery used: LITHIUM-ION-BATTERY, Model-No: LIP-4084QUPC SY6, Rating 14.8V ~=
2000mAh
Same problem occured when trying a different battery: LITHIUM-ION-BATTERY,
Model-No: ACER 4000, Rating:14.8V ~= 4400mAh
Comment 1 Friedrich Oslage 2007-05-16 18:22:08 UTC
Created attachment 11521 [details]
acpidump.out

Output of acpidump
Comment 2 Friedrich Oslage 2007-05-16 18:24:09 UTC
Created attachment 11522 [details]
lshw.out

Output of lshw
Comment 3 Zhang Rui 2007-05-16 19:50:31 UTC
Does this happend all the time?
Please try 2.6.21.
Do remember to set CONFIG_ACPI_DEBUG.
Please attach the content of /proc/acpi/battery/BAT1/* and the dmesg output.
Comment 4 Friedrich Oslage 2007-05-17 04:41:25 UTC
Created attachment 11523 [details]
BAT1.tar

Content of /proc/acpi/battery/BAT1/
Comment 5 Friedrich Oslage 2007-05-17 04:44:25 UTC
Created attachment 11524 [details]
dmesg.out

Output of dmesg(2.6.21 with CONFIG_ACPI_DEBUG)

It happens every time, also when using 2.6.21.
Comment 6 Vladimir Lebedev 2007-05-18 06:50:13 UTC
What is the value of 'present voltage' when battery 'charging state' is 
'charging'? 
I think that it should be 2 mV, is it? 
 
Comment 7 Friedrich Oslage 2007-05-18 13:27:59 UTC
You're right. It's 2 mV when charging and 0 mV when charged.
Comment 8 Vladimir Lebedev 2007-05-18 22:34:52 UTC
 
This is bios bug, please look at your DSDT - _BST method:    
 
------------------------------------ 
Method (_BST, 0, NotSerialized)   
...  
Store (Local7, Index (PBST, 0x00)) - this is 'capacity/charging state' setting  
... 
    Store (Local7, Index (PBST, 0x03)) - this is 'present voltage' setting 
------------------------------------   
   
Here the 'present voltage' is set to the same value as 'capacity/charging   
state', i.e: 
    discharging - 1  
    charging    - 2 
    charged     - 0 
 
You can try another bios version... 
I think the bug can be closed. 
 
Comment 9 Friedrich Oslage 2007-05-19 05:15:37 UTC
Thanks for all the info! Unfortanetly Acer doesn't provide any BIOS upgrades for
this system(any more). I'll inform them but I don't expect them to fix it...

But as it's not a kernel bug: INVALID

Note You need to log in before you can comment on or make changes to this bug.