powerHAL: Adds the low power mode hint.

when a POWER_HINT_LOW_POWER hint is received max CPU freq is
capped for both the CPUs. Refresh rate is reduced by making a
system call to the SurfaceFlinger binder.
Max CPU frequency on screen on is appropriately set if the
device is in low power mode.

Change-Id: Ie8c9a63faeb8c256ed0c195ae0137235eee5964d
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
1 file changed