Revert "Power ON while in charge fix and some other kernel changes"

This reverts commit 7606ca5d9385cc21fca4c91e3e687725e4cab999.