I saw this article recently -- it mentions f.lux and some android options.

http://www.vox.com/2015/11/2/9658952/blue-light-app

I fall asleep while reading my tablet at night so blue light doesn't seem to be keeping me awake. I've been falling asleep in front of the TV after soon after using my laptop, tablet and phone, too. I don't know if it matters but I keep all my screens pretty dim most unless I'm trying to look at them outside during the day. It saves batteries and also is more comfortable for me, which I assume is related to the migraine and photophobia problems I've had for decades.