Problem similar to bug 9823. The information provided by acpi about the battery and it's state is wrong. cat /proc/acpi/battery/BAT1/info present: yes design capacity: 37008 mAh last full capacity: 37008 mAh battery technology: rechargeable design voltage: 37008 mV design capacity warning: 0 mAh design capacity low: 0 mAh capacity granularity 1: 1 mAh capacity granularity 2: 1 mAh model number: MS-1058 serial number: battery type: LION OEM info: MSI Corp. cat /proc/acpi/battery/BAT1/state present: yes capacity state: ok charging state: charged present rate: unknown remaining capacity: unknown present voltage: 10000 mV acpi -sV Battery 1: slot empty Thermal 1: ok, 50.0 degrees C AC Adapter 1: on-line dmesg, acpidump and dmidecode info will follow.
Created attachment 17992 [details] Output of dmesg
Created attachment 17993 [details] Output of dmidecode
Created attachment 17994 [details] Output of acpidump
Will you please not load the msi-laptop driver and see whether the problem still exists?
So if you directly read the /proc/acpi/battery ... files, the info is correct. But acpi -sV will return error? This might be a bug of acpi tools.
(In reply to comment #4) > Will you please not load the msi-laptop driver and see whether the problem > still exists? It seems that this indeed brought it back: cat /proc/acpi/battery/BAT1/info present: yes design capacity: 4400 mAh last full capacity: 2938 mAh battery technology: rechargeable design voltage: 14800 mV design capacity warning: 0 mAh design capacity low: 0 mAh capacity granularity 1: 1 mAh capacity granularity 2: 1 mAh model number: MS-1058 serial number: battery type: LION OEM info: MSI Corp. cat /proc/acpi/battery/BAT1/state present: yes capacity state: ok charging state: charged present rate: 0 mA remaining capacity: 2938 mAh present voltage: 16680 mV Thank you. So this is more a bug in the msi-laptop module, right? (In reply to comment #5) > So if you directly read the /proc/acpi/battery ... files, the info is > correct. > But acpi -sV will return error? This might be a bug of acpi tools. No, both are wrong. The acpi proc files state correctly, that the battery is present or not, but all the values are wrong.
Thanks for the confirmation. It seems that this issue is related with the following commit: > commit 00eb43a1897a8845d0edb198cec69ac5f1f299dd > Author: Lennart Poettering <mzxreary@0pointer.de> > Date: Fri May 4 14:16:19 2007 +0200 >acpi,msi-laptop: Fall back to EC polling mode for MSI laptop specific EC commands The EC command used in msi-laptop driver is non-standard EC command. Maybe it can be handled by Lennart Poettering <mzxreary@0pointer.de>. thanks.
As the battery info can be reported correctly if msi-laptop platform driver is not loaded, change it to the category of platform-drivers.
*** This bug has been marked as a duplicate of bug 10699 ***