Deep sleep on EDGE

Hello!

How to activate an immediate transition to deep sleep mode on EDGE (android 7 and 9 too)?

This was implemented on VIM1/2.

Thank you!

1 Like

You can use the way to modify it before. I think it’s the same.

1 Like

EDGE source has not earlysuspend.c and userwakelock.c files.

@Terry
Do you mean that need to apply “earlysuspend” commit and then apply this?
Or something else?

1 Like

Will normal Sleep help you with a menu if you long press the power button on the remote? I can try to add that, but not sure what deep sleep is.

1 Like

Thank you.
But EDGE has deep sleep. When you push PWR button, EDGE goes to sleep, if music is not play, EDGE goes to deep sleep. Deep sleep is sleep with 0.05A consumption current. But if music plays, EDGE never goes to sleep, but we need it in car use.

1 Like

@goenjoy
May be you can to tell: What need to do?

1 Like

This is normal because music plays lock sleep. You can force killing music applications when poweroff keys are received at the Android layer.

2 Likes

We don’t need to kill music app, music is play automatically after awake.
It was implemented on VIM1 and VIM2. But EDGE source does not have earlysuspend.c and userwakelock.c files to apply terry’s patches.

1 Like

Really do it? We really need it. Deep sleep on EDGE