um are you sure you're not covering the light sensor? when it sense low light the screen gets brighter, and when it sense more light the screen darker. and if you were playing with it at school you most likely had it held under your desk where there was less light, hence making the screen...