Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,137 Members 50,443 Now Online
XDA Developers Android and Mobile Development Forum

[MOD] No Wake On Charge v0.1 [TW/S5]

Tip us?
 
claytonjn
Old
#31  
claytonjn's Avatar
Senior Member
Thanks Meter 676
Posts: 1,356
Join Date: Nov 2011

 
DONATE TO ME
Quote:
Originally Posted by tscan View Post
Not that this is intended to work for wireless charging, but are there any plans to make it work for all charging options in the future? I cannot find a SINGLE option to disable to wake screen upon placing the phone on the charging pad. After the phone gets fully charged, it will start turning on and off throughout the night to keep it at 100%, very annoying.
What phone are you using? With this module activated my S5 doesn't wake up when placed on a wireless charger.

Sent from my Developer Edition Galaxy S5 using Tapatalk
Don't like this floating cascade icon that appears in some of your MultiWindow apps on your Galaxy Note 10.1?

Click here to change it!
 
tscan
Old
#32  
Junior Member
Thanks Meter 3
Posts: 24
Join Date: Oct 2013
Quote:
Originally Posted by claytonjn View Post
What phone are you using? With this module activated my S5 doesn't wake up when placed on a wireless charger.

Sent from my Developer Edition Galaxy S5 using Tapatalk
Do you have any other modifications? I figured it out though, you need to disable the wireless charge popup AND the display wake. If you have just one or the other it will not work. I disabled the wireless charge popup via wanam,
 
claytonjn
Old
#33  
claytonjn's Avatar
Senior Member
Thanks Meter 676
Posts: 1,356
Join Date: Nov 2011

 
DONATE TO ME
Quote:
Originally Posted by tscan View Post
Do you have any other modifications? I figured it out though, you need to disable the wireless charge popup AND the display wake. If you have just one or the other it will not work. I disabled the wireless charge popup via wanam,
Yeah, I did the same, so that's probably why it's been working for me. Glad you figured it out.
Don't like this floating cascade icon that appears in some of your MultiWindow apps on your Galaxy Note 10.1?

Click here to change it!
 
jeremy1701
Old
#34  
Member
Thanks Meter 4
Posts: 64
Join Date: Mar 2011
Location: Kenosha, WI
Quote:
Originally Posted by moneytoo View Post
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:
  • 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).

This is great! Is there something similar for "No wake on Dock"? Ideally, I'd like to disable docking all together. A next best would be to stop wake on dock.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes