Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 156544

Summary: acpi misreports battery capacity
Product: Gentoo Linux Reporter: Hans Halvorson <hhalvors>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: kernel config file

Description Hans Halvorson 2006-11-28 13:24:54 UTC
/proc/acpi/battery/BAT0/info contains "last full capacity: 4601 mAh".  But /proc/acpi/battery/BAT0/state contains "remaining capacity: 4800 mAh".  Obviously, these two contradict each other.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-28 14:24:24 UTC
We are lacking paranormal skills, sorry. At minimum post info about your hardware, kernel version and attach kernel .config.
Comment 2 Hans Halvorson 2006-11-28 16:20:23 UTC
Created attachment 102958 [details]
kernel config file
Comment 3 Hans Halvorson 2006-11-28 16:22:25 UTC
Gentoo bug wranglers are always so kind and gentle.  Here is some more information.

# uname -a

Linux localhost 2.6.16-suspend2-r8 #2 PREEMPT Sun Sep 3 20:07:43 EDT 2006 i686 Intel(R) Pentium(R) M processor 1.86GHz GenuineIntel GNU/Linux
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-11-28 16:25:14 UTC
We don't support suspend2-sources - http://www.gentoo.org/doc/en/gentoo-kernel.xml#doc_chap3

If you can reproduce the issue w/ latest version of some supported kernel, then reopen this bug. And, by hardware info I meant relevant information about your hardware, not uname -a.
Comment 5 Hans Halvorson 2006-11-28 16:26:40 UTC
Previous comment should be marked as "reopen bug"
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-11-28 16:28:17 UTC
See Comment #4 
Comment 7 Hans Halvorson 2006-11-28 16:29:50 UTC
... I thought that suspend2 was a patchset for suspending, and did not alter basic acpi functionality.  Are you saying that the suspend2 patches have messed up acpi??  Should I report this to the suspend2 maintainers?