I am using this in my appdelegate\'s applicationDidFinishLaunching: method to make sure the iPhone doesn\'t go to sleep during the time the app is open
I had a similar problem, and rebooting the phone fixed it. I couldn't find a programmatic fix for it, as even timers calling the idleTimerDisabled function on a one second interval didn't fix it either.