Snap for 8780071 from 109cd14686
to udc-release
Change-Id: I53cebb34c31511f6387e634873cc92dc04c6fc07
This commit is contained in:
commit
b973d11068
4 changed files with 15 additions and 7 deletions
|
@ -59,7 +59,7 @@ const struct MitigationConfig::Config cfg = {
|
|||
"main", "sub", "CPU2", "CPU1", "GPU", "TPU", "CAM", "DISP", "NPU",
|
||||
"voltage_now", "current_now",
|
||||
},
|
||||
.LogFilePath = "/data/vendor/mitigation/lastmeal.txt",
|
||||
.LogFilePath = "/data/vendor/mitigation/thismeal.txt",
|
||||
};
|
||||
|
||||
int main(int /*argc*/, char ** /*argv*/) {
|
||||
|
|
|
@ -1,3 +1,15 @@
|
|||
on property:sys.boot_completed=1 && property:ro.boot.bootreason=reboot,ocp
|
||||
copy data/vendor/mitigation/thismeal.txt data/vendor/mitigation/lastmeal.txt
|
||||
|
||||
on property:sys.boot_completed=1 && property:ro.boot.bootreason=reboot,uvlo,pmic,if
|
||||
copy data/vendor/mitigation/thismeal.txt data/vendor/mitigation/lastmeal.txt
|
||||
|
||||
on property:sys.boot_completed=1 && property:ro.boot.bootreason=reboot,uvlo,pmic,main
|
||||
copy data/vendor/mitigation/thismeal.txt data/vendor/mitigation/lastmeal.txt
|
||||
|
||||
on property:sys.boot_completed=1 && property:ro.boot.bootreason=reboot,uvlo,pmic,sub
|
||||
copy data/vendor/mitigation/thismeal.txt data/vendor/mitigation/lastmeal.txt
|
||||
|
||||
on property:vendor.thermal.link_ready=1
|
||||
mkdir /data/vendor/mitigation 0755 system system
|
||||
chown system system /data/vendor/mitigation
|
||||
|
|
|
@ -723,8 +723,6 @@ on property:sys.boot_completed=1
|
|||
|
||||
# Enable UFS powersaving
|
||||
write /dev/sys/block/bootdevice/clkgate_enable 1
|
||||
# Disable dock-defend in Off Mode Charger
|
||||
write /sys/devices/platform/google,charger/dd_state -1
|
||||
|
||||
# Reset DDR frequency
|
||||
write /sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/exynos_data/cancel_boot_freq 1
|
||||
|
@ -1015,6 +1013,8 @@ on property:persist.vendor.softmaxfreq.cl2=*
|
|||
on property:ro.boot.mode=charger && property:init.svc.vendor.charger=running
|
||||
# Enable UFS powersaving in Off Mode Charger
|
||||
write /dev/sys/block/bootdevice/clkgate_enable 1
|
||||
# Disable dock-defend in Off Mode Charger
|
||||
write /sys/devices/platform/google,charger/dd_state -1
|
||||
|
||||
# Cpuset experiment
|
||||
on property:persist.device_config.vendor_system_native.top-app_cpuset=*
|
||||
|
|
|
@ -43,7 +43,3 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
|||
|
||||
# ZramWriteback
|
||||
-include hardware/google/pixel/mm/device_gki.mk
|
||||
|
||||
# Set thermal warm reset
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
ro.thermal_warmreset = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue