A possible patch from bugzilla.kernel.org suggested to update the
battery driver with code below.  Would someone know where to find and
update these files?  Thanks.

https://bugzilla.kernel.org/show_bug.cgi?id=56741#c6
Hi, the bios acpi table doesn't provide actual voltage_now int _BST method of
DSDT and give the value of 0xffffffff back. So battery driver return nodev
error. Please try the following patch. It assign design_voltage to voltage_now.

diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c
index f223018..0a80522 100644
--- a/drivers/acpi/battery.c
+++ b/drivers/acpi/battery.c
@@ -521,6 +521,7 @@ static int acpi_battery_get_state(struct acpi_battery
*battery)
                battery->capacity_now = battery->capacity_now *
                    10000 / battery->design_voltage;
        }
+       battery->voltage_now = battery->design_voltage;
        return result;
 }

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1169727

Title:
  Battery charging at zero rate - will never fully charge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1169727/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to