Loading rootdir/etc/init.samsungexynos7580.rc +19 −0 Original line number Diff line number Diff line Loading @@ -458,6 +458,11 @@ on property:sys.boot_completed=1 write /proc/sys/vm/dirty_bytes 31457280 write /proc/sys/vm/dirty_background_bytes 15728640 service battery_charger /sbin/healthd -c class charger critical seclabel u:r:healthd:s0 # LPM on property:ro.bootmode=charger mount ext4 /dev/block/platform/13540000.dwmmc0/by-name/SYSTEM /system wait ro Loading @@ -467,6 +472,20 @@ on property:ro.bootmode=charger on property:sys.tzdaemon=Ready start taa_service on charger # Set cpu governor to powersave while in charging mode write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor powersave write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor powersave write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor powersave write /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor powersave # EHCI runtime enable for LPA write /sys/devices/platform/s5p-ehci/power/control auto # Do not set any USB mode while charging setprop sys.usb.config charging # DRK/CS service service cs_service /system/bin/cs class main Loading Loading
rootdir/etc/init.samsungexynos7580.rc +19 −0 Original line number Diff line number Diff line Loading @@ -458,6 +458,11 @@ on property:sys.boot_completed=1 write /proc/sys/vm/dirty_bytes 31457280 write /proc/sys/vm/dirty_background_bytes 15728640 service battery_charger /sbin/healthd -c class charger critical seclabel u:r:healthd:s0 # LPM on property:ro.bootmode=charger mount ext4 /dev/block/platform/13540000.dwmmc0/by-name/SYSTEM /system wait ro Loading @@ -467,6 +472,20 @@ on property:ro.bootmode=charger on property:sys.tzdaemon=Ready start taa_service on charger # Set cpu governor to powersave while in charging mode write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor powersave write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor powersave write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor powersave write /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor powersave # EHCI runtime enable for LPA write /sys/devices/platform/s5p-ehci/power/control auto # Do not set any USB mode while charging setprop sys.usb.config charging # DRK/CS service service cs_service /system/bin/cs class main Loading