From 020560689e5dc46000ce4aff84a4450cfc18735c Mon Sep 17 00:00:00 2001 From: itsshashanksp <9945shashank@gmail.com> Date: Mon, 15 Jul 2024 17:09:47 +0530 Subject: [PATCH] sm6150-common: rootdir: Drop suspend to idle mode * Actually we don't use s2idle because of its buggy behavior. Signed-off-by: Shashank Patil <9945shashank@gmail.com> Signed-off-by: donjohanliebert --- rootdir/etc/init.qcom.power.rc | 3 --- 1 file changed, 3 deletions(-) diff --git a/rootdir/etc/init.qcom.power.rc b/rootdir/etc/init.qcom.power.rc index d504d46..932b667 100644 --- a/rootdir/etc/init.qcom.power.rc +++ b/rootdir/etc/init.qcom.power.rc @@ -87,9 +87,6 @@ on boot # Disable console_suspend to get better logging for kernel crashes write /sys/module/printk/parameters/console_suspend N - # Enable suspend to idle mode to reduce latency during suspend/resume - write /sys/power/mem_sleep "s2idle" - on property:sys.boot_completed=1 && property:init.svc.console=running # If UART is on, enable console_suspend on boot_complete to save power write /sys/module/printk/parameters/console_suspend Y