Prevent percentage to be above 100
Don't call xbrightness if brightness don't change