Battery patch for ASUS Haswell laptops #23

Closed
dhnguyen92 opened this Issue Jul 27, 2015 · 2 comments

Comments

Projects
None yet
2 participants

Most ASUS Haswell laptops have problems with setting wrong value between battery state. The following patch help it. I hope you can add to ASUS battery patches.

into method label FBST code_regex If\s\(CHGS\s\(Zero\)\)[\s]+\{[\s]+Store\s\(0x02,\sLocal0\)[\s]+\}[\s]+Else[\s]+\{[\s]+Store\s\(One,\sLocal0\)[\s]+\} replaceall_matched begin 
If (CHGS (Zero))\n
{\n
     Store (0x02, Local0)\n
}\n
Else\n
{\n
     Store (Zero, Local0)\n
}
end;
Owner

RehabMan commented Jul 29, 2015

Please provide example native DSDT.

Owner

RehabMan commented Sep 26, 2015

Finally saw a DSDT in the forum this applies to. Fixed, and closing.

@RehabMan RehabMan closed this Sep 26, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment