Make "stay awake" also work for wireless charging

Resolves CYAN-4636.

Change-Id: I089610b8cea16bf48d044c9e9615c750608e0b90
Merge remote-tracking branch 'upstream/cm-11.0' into cm-11.0