[Power] Checked if parameter "brightness" of function "setScreenBrightness" is valid and modified exceptions.

Signed-off-by: wangjun <junx.j.wang@intel.com>