There possibly is! Exactly the same thing happened to me and I thought it was time for a new phone. I assume you've tried to calibrate your sensors (go to 'help' - 'troubleshooting' - 'Display and buttons' - 'The display doesn't rotate automatically' - 'G-Sensor', then test and 'calibrate G-Sensor'). Apparently if you do this several times this can fix the issue, but it didn't fix mine. I then came upon the 'drop fix'. If you've dropped your phone, as I did mine, it can put the sensor out. So you use the same method to put the sensor back in again! Hold the phone about 6 inches above a thin carpet or pad of paper and drop it onto each corner in turn. Then drop it flat on its back and again on its front. Hey presto, mine started working again. Hope this helps!