universal7580: ramdisk: remove "battery-enhancements"
authorBorduni <dariotr@outlook.de>
Sun, 17 Mar 2019 12:55:44 +0000 (12:55 +0000)
committerJan Altensen <info@stricted.net>
Fri, 16 Aug 2019 21:18:41 +0000 (23:18 +0200)
Change-Id: Iecc608f1215bf3b74c818d77601ccb05926cf845

ramdisk/etc/init.power.rc

index b6011fa24c0b1ad4182a929e04891c534cfefe51..df134b6005d8481de1579c65d28b9532b44ae7fd 100644 (file)
@@ -1,25 +1,3 @@
-on init
-# battery-enhancements
-    write /proc/sys/vm/oom_kill_allocating_task 0
-    write /proc/sys/vm/panic_on_oom 0
-    write /proc/sys/vm/laptop_mode 5
-    write /proc/sys/vm/dirty_ratio 90
-    write /proc/sys/vm/dirty_background_ratio 80
-    write /proc/sys/vm/overcommit_memory 1
-    write /proc/sys/vm/block_dump 0
-    write /proc/sys/fs/nr_open 105396
-    write /proc/sys/fs/inotify/max_queued_events 32000
-    write /proc/sys/fs/inotify/max_user_instances 256
-    write /proc/sys/fs/inotify/max_user_watches 10240
-    write /proc/sys/fs/file-max 165164
-    write /proc/sys/kernel/panic_on_oops 1
-    write /proc/sys/kernel/panic 5
-    write /proc/sys/kernel/sched_latency_ns 18000000
-    write /proc/sys/kernel/sched_min_granularity_ns 1500000
-    write /proc/sys/kernel/sched_wakeup_granularity_ns 3000000
-    write /proc/sys/kernel/sched_rt_runtime_us "-1"
-    write /proc/sys/kernel/sched_rt_period_us 1000000
-
 on boot
     write /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate 20000
     write /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_slack 20000