* squash from here
afafb3b3f3/light
* Added automatic max brightness detection
* Rework debug Statments
The xiaomi-sdm660-devs one created Led Light issues
Change-Id: Ie7b62a488770734e659f4db03436ebaa2f2f5f30
* Use libbase logging and file utils
* Read max brightness from sysfs
* Convert constants to constexpr
* Move helper functions to anonymous namespace
* Bug fixes
* Remove redundant chmod
* Start the service after permissions are set up because it reads max
brightness in constructor.
Change-Id: I145d393c785e182060c5651e796d489f8c4d697b