Added changing brightness util in device util.