iOS supports it as well - actually there was a controversy when Apple removed f.lux from the app store and then rolled out its own similar feature if I recall correctly.
Orthogonal to your point, but f.lux was never in the App Store because it had to use a private API to pull it off. They did offer it as an Xcode project for a while, IIRC.