Getting and setting screen brightness

This snippet retrieves and sets the screen brightness. The parameter in setScreenBrightness takes values from 0 to 1. PRIVILIGE NEEDED: http://tizen.org/privilege/power