Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Battery patch for ASUS Haswell laptops #23

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

Battery patch for ASUS Haswell laptops #23

dhnguyen92 opened this issue Jul 27, 2015 · 2 comments

Comments

@dhnguyen92
Copy link

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;
@RehabMan
Copy link
Owner

Please provide example native DSDT.

@RehabMan
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants