Often times when I unlock my iPhone 5, the brightness of the screen goes to the highest level, even though I had it at half max brightness. What is the problem here, is it software or hardware? And does it have something to do with the Auto-Brightness feature in the settings?