Make "stay awake" also work for wireless charging

Resolves CYAN-4636.

Change-Id: I089610b8cea16bf48d044c9e9615c750608e0b90
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_packages_apps_Settings into cm-11.0