[Q] Galaxy S2 ICS Screen-on Delay?

Status
Not open for further replies.

george.z.he

Member
Nov 30, 2011
28
35
0
Palo Alto
I have recently realized that my phone had a lag/delay when turning of the screen to the lockscreen. When I press the power button, it would take about 1-1.5 seconds after I press the button for the screen to actually turn on. This does not happen while charging for me, only on battery. After screen on, the UI runs fine. This also never happened to me when I was on Gingerbread roms. :confused:

I am currently running Serendipity 9.2 with Cherrypicker kernal because I like the UI, but I still get the screen-on lag

I have tried ShoStock 2, Foxhound, AOKP, Serendipity 9, Mystic and ShirShirRomICS
and comboed those with all of the different kernals: Siyah, Fluxxi, Cherrypicker and NEAK. All this to no avail :(

I was wondering if this is only happening to me, because it slightly annoys me that I need to wait, since it makes the phone feel like its not as speedy as it should be.:(

If somebody can help me solve this I will be SOO GRATEFUL! :D:)
Thank you so much!
 

clay101eve

Senior Member
Jul 8, 2010
1,126
489
0
Hewitt, TX
Takes mine an avg of .5 seconds. Sometimes it's almost instant, other times it's near 1 second, but the avg would be close to .5 - I wonder if that will change the longer I've got this phone?

Clay

Sent from my SGH-I777 using XDA
 

pcamlin

Member
May 20, 2012
14
4
0
Mine used to do the same. After a new aokp build 36 Install the lag went away- maybe a coincidence?

Sent from my SGH-I777 using XDA
 

cepsbow

Senior Member
Feb 3, 2012
55
8
0
PSL
Try upping your lowest frequency step if you have your min set to 100/200mhz on your governor, change it to 500mhz and see if it stops happening. (Works for me, only happens on certain I/O schedulers and governors however.)

Sent from my SGH-I777 using xda premium
 

george.z.he

Member
Nov 30, 2011
28
35
0
Palo Alto
Try upping your lowest frequency step if you have your min set to 100/200mhz on your governor, change it to 500mhz and see if it stops happening. (Works for me, only happens on certain I/O schedulers and governors however.)

Sent from my SGH-I777 using xda premium
Which I/O scheduler and governed do u use?

Sent from my SGH-I777 using xda premium
 

cepsbow

Senior Member
Feb 3, 2012
55
8
0
PSL
On demand and noop were the most stable for me. However it varies by device, not all sgs2 are created equal. I would suggest trying a few and see which runs most stable for your phone as the kernels governors vary (I was experiencing this issue with siyah and Neak on various aokp builds (35-37). Conservative/noop & vr with Neak and powersaver & performance / cfq & vr for both on siyah)

Currently on stock aokp 6-3 with tasks kernel, he truly overhauled the kernel, works better than any alternate kernel I've run so far with no issues on any oc/uc/uv settings.

Sent from my SGH-I777 using xda premium
 
Last edited:
  • Like
Reactions: george.z.he

dandrumheller

Senior Member
Jul 10, 2010
3,625
1,137
253
Southern Maine / Seacoast NH
If I recall correctly from the discussion many months ago (I think it was in Entropy's DD kernel thread for GB) there is basically a .65 second delay from power button press to screen on when waking from deep sleep on the SGS2 - and this is a hardware limitation, not software.
When you are seeing quicker screen wakes it is because the device was not in deep sleep at the time of the press of the power button. In the case of waking from a non-deep-sleep condition, probably the lowest idle clock speed or current clock speed (set by whatever background process has the phone awake) will be the controlling factor in how fast the screen wakes up.

I could be completely wrong here...someone please correct me if so...
 

george.z.he

Member
Nov 30, 2011
28
35
0
Palo Alto
If I recall correctly from the discussion many months ago (I think it was in Entropy's DD kernel thread for GB) there is basically a .65 second delay from power button press to screen on when waking from deep sleep on the SGS2 - and this is a hardware limitation, not software.
When you are seeing quicker screen wakes it is because the device was not in deep sleep at the time of the press of the power button. In the case of waking from a non-deep-sleep condition, probably the lowest idle clock speed or current clock speed (set by whatever background process has the phone awake) will be the controlling factor in how fast the screen wakes up.

I could be completely wrong here...someone please correct me if so...
Then is it possible to turn off deep sleep? And does it drain a lot of battery if it is not in deep sleep?

I realized when playing music or when the BLN notification is on it wakes instantly.
 

dandrumheller

Senior Member
Jul 10, 2010
3,625
1,137
253
Southern Maine / Seacoast NH
Then is it possible to turn off deep sleep? And does it drain a lot of battery if it is not in deep sleep?

I realized when playing music or when the BLN notification is on it wakes instantly.
Yes it is possible to turn off deep sleep. There is an app in the market called "wakelocker" or something similar. You can find references to it in the very early ICS ROMs for the i777, as it was used to avoid the random screen-ons we were having. It can be set up to hold a permanent wakelock.

However, you should expect to drain between 5 and 10% battery per hour idle if you are wakelocked all the time. In other words, your battery life will completely tank if you do this. Most people around here do anything and everything they possibly can to prevent wakelocks, as this is the best way to improve device-idle battery life. As someone mentioned in the AOKP thread, screen on delay is a sign of good sleepiness (or something like that - I'm paraphrasing cause I don't want to bother to go look)... If I were you, I'd leave it be...
 

neutrin

Member
Jun 17, 2008
38
12
0
Timisoara
My SGS2 has a 5-6 seconds delay before waking up from deep sleep. I noticed that after I take the phone away from my ear after a call the screen takes very long to turn back on, as if the proximity sensor is sleeping away.
This is definitely not because of my last firmware update because it simply didn't happen after I installed it. It was just impressively fast. This new behavior started about 3-4 weeks ago, I can't figure out right now whether I installed something that could produce such behavior.

Build number: IML74K.XWLP7
Kernel version: 3.0.15-I9100XWLP7-CL340913 [email protected] #3 (rooted)
Baseband: I9100XXLPS

LE: I have the european version.
 
Last edited:

dogfax

Senior Member
May 30, 2012
193
34
0
Ferndale, WA
Yeah as said above, it is a hardware thing combined with the state of the processor. The reason some people's turn on very rapidly is because their processor is already doing something, aka not sleeping. You should have at minimum probably a half second to maximum 2 second delay from pressing the button to your screen coming on. Otherwise your battery would be terrible. :D

Sent from my new and improved SGH-I777 with AOKP!
 

mattdm

Senior Member
Dec 31, 2011
1,422
447
0
Yeah as said above, it is a hardware thing combined with the state of the processor. The reason some people's turn on very rapidly is because their processor is already doing something, aka not sleeping. You should have at minimum probably a half second to maximum 2 second delay from pressing the button to your screen coming on. Otherwise your battery would be terrible. :D
How does HTC do it then? My wife's stock Inspire wakes literally instantly, and its idle battery drain is even better than my S2 running AOKP/Fluxi. This is proof to me that Samsung could be designing things a little better...
 

dschreiber69

Senior Member
May 23, 2011
679
91
0
Harbor Springs
How does HTC do it then? My wife's stock Inspire wakes literally instantly, and its idle battery drain is even better than my S2 running AOKP/Fluxi. This is proof to me that Samsung could be designing things a little better...
I was just thinking the other day why did I get rid of my Inspire... :rolleyes:






Oh yeah... cuz I have a thing for phones ;)
 
Status
Not open for further replies.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone