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://forum.xda-developers.com/show....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)
No Wake On Charge is also available from Xposed Module Repository (source).