Move brightness handling to a background thread
am: c6da82fb9c

Change-Id: I187a9ba23d66085d0383fd5934e8f3ffd8e18228