Faulty power button on an iphone 3g and upgrade to 4.1
I'm not sure of the details of your question - but you can use 'Activatior' to give another button all the funcationality of the power button. (one of the volume switches perhaps)