power_manager: add DisplayWakeLock API

Apps running through ARC may request to keep the screen on for
some reason. Give powerd an API so we can request that dimming
or turning off the screen be postponed until the user is done.

BUG=b:24671115
TEST=emerge system_api

Change-Id: I1d256e6412d6c40ebb6a9821aed1cd32586a297d
Reviewed-on: https://chromium-review.googlesource.com/305767
Commit-Ready: Eric Caruso <ejcaruso@chromium.org>
Tested-by: Eric Caruso <ejcaruso@chromium.org>
Reviewed-by: Dan Erat <derat@chromium.org>
1 file changed