View Full Version : Change the time for Long Key Press (Power)
smuppy
22nd May 2009, 12:07 PM
Hi!
I am wondering if there's a way to change the time until the poweroff.exe is run when pressing and holding the power-button. Haven't been able to find anything about this on google, only how to re-assign the utility that is executed in the end.
Anyone have any ideas? Hardcoded? ;)
techntrek
22nd May 2009, 09:19 PM
Good question. I asked 1 1/2 years ago if anyone knew how to disable that yes/no popup when you press the power button. I don't want it, I've never accidentally hit the power button for several seconds yet.
Interesting that you can change the entire shutdown program that is executed - that would solve my problem if I could find a good replacement. Do you have any good links on that?
smuppy
22nd May 2009, 10:23 PM
Hi!
After reading a bit more on the subject I dont think that reassigning the exec'd app applies to Athenas... You can switch the file into some other "shutdown-app" though by switching \windows\poweroffwarning.exe.
Thats what I know so far. Google XDA for "long press change power" (without quotes) and you'll find a few posts on the matter.
Still no clue if its even possible to lower the time for the long keypress... :-(
cyberjak
1st June 2009, 01:30 AM
Good question. I asked 1 1/2 years ago if anyone knew how to disable that yes/no popup when you press the power button. I don't want it, I've never accidentally hit the power button for several seconds yet.
Interesting that you can change the entire shutdown program that is executed - that would solve my problem if I could find a good replacement. Do you have any good links on that?
yes i've just read your post and while i'm searching for the answer at moment i can tell you this much button assignments and time out periods are usually a function of the registry. so what you both were looking for is going to be a registry key. now whether it's a modify an existing key or create a key that it recognises is yet to be seen so either start researching the registry or keep eye's open as i'm still searching...
New: found this thread which i think is a better option then trying to modify the power buttons defualt timeout's and suggests that really if you have a diffrent power manager for shutting down etc.etc. that's better then use their binary
http://forum.xda-developers.com/showthread.php?t=427699
smuppy
18th June 2009, 08:46 AM
Hmm... Not really what I was looking for. I dont want to replace the PowerOffWarning.exe, I just want to shorten the time for it to start. I just mailed a friend of mine, works at MS. Will get back with the answer.
dwergsnot
21st June 2009, 12:42 AM
You might want to have a look at PowBut.
For instance here (http://www.softwarearea.info/powbut-v101.htm).
Haven't tried it myself though.
smuppy
29th June 2009, 09:27 AM
Thanks, will test it!
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.