Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#21917 - [acpi] discharging at zero rate

Attached to Project: Arch Linux
Opened by Felix Kaiser (fxkr) - Monday, 29 November 2010, 09:29 GMT
Last edited by Thomas Bächler (brain0) - Wednesday, 26 January 2011, 15:36 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No



I have a Thinkpad R500, and acpi and ibam broke after a recent upgrade:

When unplugged:

$ acpi
Battery 0: Discharging, 72%, discharging at zero rate - will never fully discharge.
$ ibam
No apm data available.

When plugged back in (much later, the percentage seems about right):

$ acpi
Battery 0: Charging, 51%, charging at zero rate - will never fully charge.
$ ibam
No apm data available.

Additional info:
* package version(s)
- kernel26:
* config and/or log files etc.

$ cat /proc/acpi/battery/BAT0/info # in unplugged state
present: yes
design capacity: 51840 mWh
last full capacity: 51840 mWh
battery technology: rechargeable
design voltage: 10800 mV
design capacity warning: 2592 mWh
design capacity low: 200 mWh
cycle count: 0
capacity granularity 1: 1 mWh
capacity granularity 2: 1 mWh
model number: 42T4778
serial number: 1127
battery type: LION
OEM info: SONY

If you need any additional information, please let me know.
This task depends upon

Closed by  Thomas Bächler (brain0)
Wednesday, 26 January 2011, 15:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  Updated to 1.5, sorry for the delay.
Comment by János Illés (ijanos) - Wednesday, 01 December 2010, 11:09 GMT
Same symptoms with my Dell Studio 1555.
Comment by fmk (clownish) - Thursday, 02 December 2010, 18:31 GMT
Same with my Thinkpad T61 8889-A9G with
Comment by Nicolai Waniek (rochus) - Monday, 06 December 2010, 12:58 GMT
Same with a Thinkpad T60 2007-FUG
Comment by Nicolai Waniek (rochus) - Monday, 06 December 2010, 13:33 GMT
This problem is fixed with the acpi-client version 1.5 that is not yet in the repository. I attached a patchfile to get this functionality back working. NOTE: I did not look into anything else but just this display problem. Apply the patch, copy the binary to /usr/bin, done. Best solution though: get the 1.5 acpi-client, use the attached PKGBUILD for that one.

Comment by Lann (lannm) - Monday, 20 December 2010, 19:06 GMT
By the way, the ibam bug is a different one: the sysfs filenames changed in a recent kernel upgrade and ibam is looking in the wrong place. Upstream has been notified, but last commit was over a year ago last time I checked.
Comment by Daniel (quite) - Wednesday, 26 January 2011, 10:19 GMT
Any reason for not upgrading package to upstream 1.5?