iOS: F.lux is a great little app that changes your screen brightness depending on the time of day. It's on iOS as a jailbreak app, but if you don't want to jailbreak, you can get Gamma Thingy, a similar app, by making and compiling it yourself.