No description
18960a4972
Currently, the launch boost perflock is held for a fixed duration, either specified in perfboostsconfig.xml for perf HAL platforms or hardcoded in the powerHAL for non-perf HAL platforms. Using a fixed duration for this perflock has two shortcomings: * perflock can be held for too long, causing the CPU freq and other resources to be boosted for too long even if the application has finished launching, resulting in excessive battery drainage * perflock can be held not long enough if it takes more than the timeout time to finish launch The framework sends out a powerhint for both when launch starts and when launch ends. The launch finish hint can be used to signal when to release the perflock. Reference: Wahoo power-libperfmgr Change-Id: I405cc453c5f58d9fb2583b9c6017f3964a0ce024 Signed-off-by: SamarV-121 <samarvispute121@gmail.com> |
||
---|---|---|
audio | ||
bluetooth | ||
BluetoothResCommon | ||
camera_motor | ||
configs | ||
doze | ||
fingerprint | ||
fod | ||
ims | ||
interfaces/vendor | ||
light | ||
overlay | ||
overlay-lineage | ||
permissions | ||
power | ||
rootdir | ||
sensors | ||
sepolicy/private | ||
Android.bp | ||
Android.mk | ||
BoardConfigCommon.mk | ||
extract-files.sh | ||
framework_manifest.xml | ||
proprietary-files.txt | ||
sdm710.mk | ||
setup-makefiles.sh | ||
system_prop.mk | ||
update-sha1sums.sh |