Prevent maximum screen brightness in lockscreen?
iOS 4 and 5 were notorious for having this issue. They frequently ignored the ambient light sensor and were so stubborn, they refused to adjust the screen brightness to compensate. iOS 6 has corrected this issue.