system_api: Add power_manager::kSetScreenBrightnessMethod.

Add a new "SetScreenBrightness" constant. The existing
powerd SetScreenBrightnessPercent is being updated to take a
protocol message instead of D-Bus args, so we might as well
rename it to be shorter at the same time.

TEST=used with updated powerd

Change-Id: I720b259fe518e0a9a45f981a0ba1db68d9a726b4
Commit-Ready: Dan Erat <>
Tested-by: Dan Erat <>
Reviewed-by: Jia Meng <>
Reviewed-by: Dan Erat <>
2 files changed