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 <donjohanliebert@gmail.com>
This commit is contained in:
itsshashanksp 2024-07-15 17:09:47 +05:30 committed by donjohanliebert
parent 64846319f5
commit 020560689e

View File

@ -87,9 +87,6 @@ on boot
# Disable console_suspend to get better logging for kernel crashes # Disable console_suspend to get better logging for kernel crashes
write /sys/module/printk/parameters/console_suspend N 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 on property:sys.boot_completed=1 && property:init.svc.console=running
# If UART is on, enable console_suspend on boot_complete to save power # If UART is on, enable console_suspend on boot_complete to save power
write /sys/module/printk/parameters/console_suspend Y write /sys/module/printk/parameters/console_suspend Y