patternunlock/touchwake: bugfixes

- fixes the touchkeys accidentally bypassing patternunlock.

- other fixes.
battery: add wireless charging current control

thanks to billyburly's pull request that i had overlooked.