https://bugzilla.kernel.org/show_bug.cgi?id=41062
--- Comment #7 from Kamil Iskra <kamil.54...@iskra.name> 2011-08-27 23:58:23 --- Created an attachment (id=70572) --> (https://bugzilla.kernel.org/attachment.cgi?id=70572) Patch against 3.1.0-rc3's drivers/acpi/battery.c Adding "acpi_osi=linux" to the kernel command line did not fix the problem. I'm attaching a patch that does fix it. The patch is straightforward, my only doubt is on which systems the quirk should be activated. Currently it activates on all Lenovo Thinkpads. According to my tests, this is safe, because older (2005-2010) systems never use mAh units and are thus unaffected, whereas all the newer systems I've tried always need the adjustment if the unit is mAh. So at this moment the patch appears to be safe. Of course, Lenovo could fix this problem at some point. A more selective activation would be better. I see in the output of dmidecode that there is (correct) information on battery design capacity in there. Maybe we could scan the DMI list on battery add to see if the values read from ACPI need adjustment or not? That could get tricky on systems with more than one battery, though... -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ acpi-bugzilla mailing list acpi-bugzilla@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla