https://bugzilla.kernel.org/show_bug.cgi?id=201351

            Bug ID: 201351
           Summary: [bisected] Laptop battery status and lid switches not
                    detected on Asus 1015PX
           Product: ACPI
           Version: 2.5
    Kernel Version: 4.16.0 and above
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Power-Battery
          Assignee: acpi_power-batt...@kernel-bugs.osdl.org
          Reporter: charles.stanh...@gmail.com
        Regression: No

Created attachment 278967
  --> https://bugzilla.kernel.org/attachment.cgi?id=278967&action=edit
acpi dump output from Fedora's 4.16.14 kernel

I originally reported this against Fedora[0]. So I will copy some of what I
wrote there.

Since Fedora 28 has moved forward with the 4.17 and 4.18 series of kernels, I
have not been able to see battery status for my laptop (Asus 1015PX). It
consistently shows 100% charged and absurd discharge time. Additionally, the
laptop lid doesn't appear to be detected, so closing the lid doesn't cause the
machine to suspend. Fedora's 4.16 series did not exhibit this behavior. An
example of the erroneous output when running off of battery:

$ acpi
Battery 0: Discharging, 100%, 4200:00:00 remaining

An example of what it should've looked like:

$ acpi
Battery 0: Discharging, 90%, 05:27:57 remaining

After some helpful suggestions from others, I bisected the kernel to try to
isolate the trouble. According to the bisection:

5a8361f7ecceaed64b4064000d16cb703462be49 is the first bad commit

This commit seems to cause both problems. Just before this commit, the battery
status and laptop lid behave as expected.

I don't know if it will help, but I will attach the same acpi dump that I
attached to the Fedora bug report.

[0] https://bugzilla.redhat.com/show_bug.cgi?id=1629479

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to