No Wake On Charge keeps screen off when usb/charger cable is plugged in or unplugged. This module works fully only on Samsung Galaxy S5 as it uses non standard (AOSP) way of waking up the display.
I tried to use various other Xposed modules but none removed the plug in wake.
It works like this:
This (old) module is designed for Samsung Galaxy S5 running stock Android 4.4.2. If you need compatibility with newer version of Android, use this module: http://xdaforums.com/xposed/modules/mod-xposed-tweaks-cm-t3279109 which works with Android 5.0 (and newer once released).
I tried to use various other Xposed modules but none removed the plug in wake.
It works like this:
- Screen wake on plug in - changes android.os.PowerManager#newWakeLock(ACQUIRE_CAUSES_WAKEUP | SCREEN_BRIGHT_WAKE_LOCK, "charger plug") to PARTIAL_WAKE_LOCK only (based on fix by @tdunham http://xdaforums.com/showthread.php?t=2799050). Again, this is S5 only fix.
- Screen wake on unplug - sets config_unplugTurnsOnScreen to false (this is well known and used solution)
- Beep on plug in - disables com.android.systemui.power.PowerUI#playSound(1)
This (old) module is designed for Samsung Galaxy S5 running stock Android 4.4.2. If you need compatibility with newer version of Android, use this module: http://xdaforums.com/xposed/modules/mod-xposed-tweaks-cm-t3279109 which works with Android 5.0 (and newer once released).
Attachments
Last edited: