move all utils to brightnessutils, future float window will use too