PDA

View Full Version : power button broke so i reassigned it ;)


kevincw01
18-12-2003, 12:20 AM
Tried to turn on my XDA yesteday and the button fell into the device ! This caused not to be able to turn on the screen unless I got a call. I downloaded Vito SystemTools' button maping program which allowed me to make my calendar button (when held down) to turn the screen on and off. The problem is that turning the screen on and off is not doing the same thing as the power button did. I was under the impression that all the power button did was turn the screen on and off to save battery and prevent unintended input. However, now my battery dies in 6-8 hours of use compared to the normal 2 days. Obviously, there is somthing more that the power button does.

What I'd like to know from the developers is if there is a program called by the power button and how I should access it. The button mapper program allows me to map any program I want to (almost) any hardware button (not the volume button). If it's a DLL or somthin I can probably write a wrapper program for it with some pointers.

I'm also in the market for a dummy xda or just another power button if someone has one just to get it to look better. However I like the functionality of holding down the calendar button for 1 second to turn the device on/off and would like to keep that permanently.

-Kevin

Peter Poelman
18-12-2003, 11:24 PM
The power button is probably hard-wired to some processor wake-up logic. So when you turn the processor off, it's going to be very hard to make it wake up by anything else. You could write something that makes it wake up very very momentarily, say every few seconds, to check for a button-press. But my guess is what you want is a new power button.

kevincw01
19-12-2003, 02:42 AM
damn :( Well i'm waiting on a dummy phone auction unless anyone over here has one to sell me.

yann
22-12-2003, 12:18 AM
I got exactly the same problem, the only difference is that i managed to get it back and i putted some silicone glue in it. It works and don't ask me how ;-)

Anyway, why don't you just press on the call - hang-up , calendar, volume button to wake the phone up?

Than just change the settings in battery power to make it shut down after 5min or 10min. It should help you reduce your battery life time since the phone gets automaticly in sleep mode after that time.

good luck,
Yann

kevincw01
22-12-2003, 12:23 AM
I have my phone set not to wake up without the power button being pressed. I can turn this off but then buttons get pressed in my pocket since I don't like belt clip holders.