Adjust your Android Screen Brightness by Time using Twilight: Remember F.lux the application which adjusts your computer screen brightness automatically? Like F.lux for PC Twilight is made for Android.
After Installation just select your location to adjust brightness depending on day and night time. You can also select the location just tapping on the World map. The Twilight app makes your device screen adapt to the time of the day. It filters the blue spectrum on your phone or tablet after sunset and protects your eyes with a soft and pleasant red filter. The filter intensity is smoothly adjusted to the sun cycle based on your local sunset and sunrise times.
Once you have set your location you can start a 24-hour cycle test run to see how the app works. It is a very good app for who use Phone or Tablet at late nights.