diff options
author | nuclearmistake <nuclearmistake@gmail.com> | 2012-09-22 16:46:34 -0400 |
---|---|---|
committer | nuclearmistake <nuclearmistake@gmail.com> | 2012-10-13 11:11:25 -0400 |
commit | f30d43663f07544eb836d0502a5c492895b87324 (patch) | |
tree | 87869fa763a1bd5096b6115a545fb4a7e967eebd /GNexusParts/res/values-de | |
parent | 69619a27a38212ce0ae051fe5f762769112e203e (diff) | |
download | device_samsung_tuna-f30d43663f07544eb836d0502a5c492895b87324.zip device_samsung_tuna-f30d43663f07544eb836d0502a5c492895b87324.tar.gz device_samsung_tuna-f30d43663f07544eb836d0502a5c492895b87324.tar.bz2 |
tuna: make tuna powerhal conditionally set max_freq properly
-read value of both scaling_max_freq and screen_off_max_freq from sysfs
(previously, power_hal only did the former)
-if scaling_max_freq is larger than screen_off_max_freq, then save it into our scaling_max_freq variable,
because it is truly the scaling_max_freq
otherwise, the scaling_max_freq sysfs path has had screen_off_max_freq written to it,
so we don't save it to scaling_max_freq.
-write the appropriate value (screen_off_max if screen is off, etc.) to scaling_max_freq sysfs path
Change-Id: I10cd571df61a5d583dd73be0cb6c7c2201477a96
Signed-off-by: nuclearmistake <nuclearmistake@gmail.com>
Diffstat (limited to 'GNexusParts/res/values-de')
0 files changed, 0 insertions, 0 deletions