Hi, For anyone who needs to switch off an iDevice with a defective power button, just go to Settings > General > Accessiblity > AssistiveTouch. Done ! This black touch button has all you need to control you iDevice. ;-)
[ I have read in some forums it helps to set the date and time..... If the battery have been disconected the time and date is wrong and there will be a "searching issue". Tried it on my friends 4s and it worked! /Jens ] I just can't believe that it works ! I was going crazy about an iPhone 4 (not 4S) I'm sure that my work was perfect ! Everyone getting this issue should TRY THIS FIRST ! Thanks Jmansson !