Open soffyo opened 4 years ago
Hello, can you provide your origin ACPI? And I want to know how many batteries will to show in windows.
on windows only BAT0 is showing.
Looking into ACPI, BAT1 and BAT2 are present only under H_EC while BAT0 is found within both EC0 and H_EC. You will find my origin folder with original aml's and already decompiled dsl's. origin.zip
on windows only BAT0 is showing.
Looking into ACPI, BAT1 and BAT2 are present only under H_EC while BAT0 is found within both EC0 and H_EC. You will find my origin folder with original aml's and already decompiled dsl's. origin.zip
I checked your DSDT, the BAT0 BAT1 and BAT2 in H_EC is disabled so they are useless. EC0 is the part that really works. So you only need to patch BAT0 in EC0 to make battery work.
Okay, so I don't need to make ssdt-batc. My battery works already, I'm just trying to fix a kernel panic that occurs when waking from sleep only when on battery.
Okay, so I don't need to make ssdt-batc. My battery works already, I'm just trying to fix a kernel panic that occurs when waking from sleep only when on battery.
Can you try this SSDT for battery? I patched two method _BIX and BIFA. the ACPI Patch you need to use is in this SSDT. SSDT-OCBAT0-ASUS-ZenBook-UX331UN.dsl.zip
I already use this patch. here is my SSDT-BAT.aml SSDT-BATT.zip
What about machines that have more than just two battery devices? For example my asus zenbook ux331un has BAT0, BAT1 and BAT2. BAT0 located within both EC0 and H_EC while BAT1 and BAT2 are located under H_EC only. How should I apply this fix in my situation? I want to try this because I am having kernel panic when waking from sleep only if the computer is on battery power, while sleep works fine when on ac power.