Removed setting 0 at the end of getBrightness