Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

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

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#8962 - acpi - watching battery status failing

Attached to Project: Arch Linux
Opened by Dan Vratil (progdan) - Tuesday, 18 December 2007, 19:08 GMT
Last edited by Greg (dolby) - Monday, 21 July 2008, 16:36 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I have notebook MSI EX600 YA Blue Edition and I have problem with battery. The problem is only in ArchLinux, I was testing it on Ubuntu and there it was working well.
In cat /proc/acpi/battery/BAT0/state are nonsenses. When tha battery is fully charged, it's OK, but there's problem if the state lowers, values are jumping, it shows that it's charging when the notebook is unpluged or it shows 100% charged, than it jumps down to 0% (and keeps it for a while) and than back to another value.
The content of the /proc/acpi/battery/BAT0/state KLaptop shows nonsenses is:

present: yes
capacity state: ok
charging state: charged
present rate: unknown
remaining capacity: unknown
present voltage: 10000 mV

And that's very strange. We were trying to solve the problem on some forums bud I've found out, it's probably bug in kernel26 package.
This task depends upon

Closed by  Greg (dolby)
Monday, 21 July 2008, 16:36 GMT
Reason for closing:  Fixed
Comment by Roman Kyrylych (Romashka) - Friday, 11 January 2008, 12:20 GMT
I was looking at MSI notebooks' compatibility with Linux recently (looking for a good model for myself :P)
and read that some of them have issues with acpi. Some of issues can be solved by a custom DSDT.
for one (maybe similar model) I've found this:
* ACPI - not properly working AC/DC and battery management (Linux problem only) - solved by noacpi in kernel line in GRUB
(https://wiki.ubuntu.com/LaptopTestingTeam/MSIMegabookGX700)
Comment by Tobias Powalowski (tpowa) - Friday, 11 January 2008, 14:17 GMT
well it always depends on the kernel you use between the distros, i fthe kernel is the same then you can compare else, it's like peaches and apples.
Comment by Dan Vratil (progdan) - Friday, 11 January 2008, 14:22 GMT
Turning off ACPI will not help me. I rather sometimes see nonsenses, than still "0% charged".
Well I don't know what are differences between Arch and Ubuntu kernel packages. Probably I could try to use vanilla kernel.
Comment by Tobias Powalowski (tpowa) - Friday, 11 January 2008, 14:23 GMT
does ubuntu use the same kernel version as archlinux?
Comment by Dan Vratil (progdan) - Monday, 21 January 2008, 11:03 GMT
I don't know, Arch is based on rolling-updates. Ubuntu isn't, is it? (I have never worked in *buntu). I was searching a bit and found some info about kernel 2.6.22. Possibly there is also the newest stable kernel. I'm using 2.6.23 on my Arch
Comment by Tobias Powalowski (tpowa) - Saturday, 26 January 2008, 16:09 GMT
status on .24 kernel from testing?
Comment by Dan Vratil (progdan) - Tuesday, 29 January 2008, 15:54 GMT
With .24 it's better. Once I charged the battery and it was showing right values, but at about 55% the battery status became unavaible

[progdan@notas ~]$ cat /proc/acpi/battery/BAT1/state
present: yes
capacity state: ok
charging state: charged
present rate: unknown
remaining capacity: unknown
present voltage: 10000 mV

OR its absolutly ignoring battery:

[progdan@notas ~]$ cat /proc/acpi/battery/BAT1/state
present: no

After plugging in, it shows either 100% charged, 0% charged or N/A. Sometimes it shows right values.

I'll watch it for few next day and try to find out something more.
Comment by Greg (dolby) - Saturday, 17 May 2008, 17:08 GMT
Still happens with 2.6.25?
Comment by Dan Vratil (progdan) - Saturday, 17 May 2008, 19:32 GMT
No, in 2.6.25 were some bugfixes of ACPI so it works well now. It was not problem in kernel26 but in linux kernel itself

Loading...