Can some tell me about deep sleep? And how to activated?
Sent from my naughty Xperia Ray.
it is automatic, when you turn screen off.
download cpu spy app from market and see how long youc phone is in this state (deep sleep), usually its most of the time.
alexlaveline said:
Can some tell me about deep sleep? And how to activated?
Sent from my naughty Xperia Ray.
Click to expand...
Click to collapse
Deep sleep is to save your battery when the phone is in idle. It should be the lowest freq that the cpu is "stable" and as a result the voltage can also be really low.
Kriomag is right, most of the time deep sleep is automatic (but it can be turned off)....look in your build.prop for these lines:
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
They will help help your phone go to sleep....
If you set your min cpufreq too high your phone also will have trouble going to sleep....if you undervolt too much you also may have stability issues entering and leaving sleep...and this will also be affected by your choice of governor.
If all this is set up correctly your phone should be really sleepy and you can monitor this with cpuspy, the on board battery stats (the phone should not wake up unless the screen is on), and with better battery stats.
justmpm said:
Deep sleep is to save your battery when the phone is in idle. It should be the lowest freq that the cpu is "stable" and as a result the voltage can also be really low.
Kriomag is right, most of the time deep sleep is automatic (but it can be turned off)....look in your build.prop for these lines:
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
They will help help your phone go to sleep....
If you set your min cpufreq too high your phone also will have trouble going to sleep....if you undervolt too much you also may have stability issues entering and leaving sleep...and this will also be affected by your choice of governor.
If all this is set up correctly your phone should be really sleepy and you can monitor this with cpuspy, the on board battery stats (the phone should not wake up unless the screen is on), and with better battery stats.
Click to expand...
Click to collapse
Thanks for the explanation, this increase my knowledge.
Kriomag said:
it is automatic, when you turn screen off.
download cpu spy app from market and see how long youc phone is in this state (deep sleep), usually its most of the time.
Click to expand...
Click to collapse
Sent from my naughty Xperia Ray.
Related
What is deep sleep and how can i know if i got it.?
Sent from my X10 TripNFroyo using XDA App
gueszman said:
What is deep sleep and how can i know if i got it.?
Sent from my X10 TripNFroyo using XDA App
Click to expand...
Click to collapse
In terms of phone, it means that the phone has the screen switched off and the processor running at minimal frequency.
Not sure about the biological definition though, need some biologists/doctors here to explain.
The program cpu spy can be downloaded from the market and it tells you what speed cpu has been running at, deep sleep included.
Sent from my X10 using XDA App
haydengribble said:
The program cpu spy can be downloaded from the market and it tells you what speed cpu has been running at, deep sleep included.
Sent from my X10 using XDA App
Click to expand...
Click to collapse
Mm ok i have cpu spy... and after install it show me a deep sleep at 21%... is this ok?
Sent from my X10 TripNFroyo using XDA App
I've read that in Deep Sleep state, the CPU is turned to OFF.
I am not sure if this is accurate,
but in CPU Spy when it runs in 245 MHz, it's not counted as Deep Sleep.
gueszman said:
Mm ok i have cpu spy... and after install it show me a deep sleep at 21%... is this ok?
Click to expand...
Click to collapse
That depends... Could you post a screenshot?
My_Immortal said:
I've read that in Deep Sleep state, the CPU is turned to OFF.
I am not sure if this is accurate,
but in CPU Spy when it runs in 245 MHz, it's not counted as Deep Sleep.
That depends... Could you post a screenshot?
Click to expand...
Click to collapse
mmm my app to take screenshots does not work fine... but in 245Mh stayed at 16% and deep sleep at 21%....yesterday
today after reboot deep sleep is off
245Mh - 68%
pfff
how can i activate deep sleep again.??.
It is big problem, isnt it? according with development forum...
deep sleep in itself is not a problem...prolem is cpu is running so you need battery power for it....
do check you might have some processor intensive application in background causing no dep sleep.
I encounterted one such scenario today when in the morning my cpu spy showed 254Mhz : 6 hrs i got it that its whole night ... .just when to task killer killed all task.... and voila deep sleep was working again when ever i switch phone.
which rom are you using?
because when u are using cm7 by jerpelea it is possible to have no deep sleep.
but i see you get deep sleep, but i think that is a little bit low..
i'm using wolfs froyo rom v006 + tw007 test and i have the most time about 70 to 80% deep sleep and the rest a little bit on 245 and 1000 ..
and dude, pls ask all your questions you have maybe in one thread, because i had to answer every of your questions seperatly
cheers,
Niko
violence1907 said:
which rom are you using?
because when u are using cm7 by jerpelea it is possible to have no deep sleep.
but i see you get deep sleep, but i think that is a little bit low..
i'm using wolfs froyo rom v006 + tw007 test and i have the most time about 70 to 80% deep sleep and the rest a little bit on 245 and 1000 ..
Click to expand...
Click to collapse
I have TripNfroyo 1.0.2 Revised .... froyo 2.2.1 and now i updated it with Kernel K12 and it is working better with deep sleep...
And i can not post in threat because i am new...
thank you
everyone's here concerned bout "deep sleep"
on custom 2.3.4 rom i had one but on my stock 2.1 rom (latest fw) cpu spy shows the phone cant enter the deep sleep. this is cuz it is not 2.2\2.3?
2.1 cant enter deep sleep?
muratbaizhanov said:
everyone's here concerned bout "deep sleep"
on custom 2.3.4 rom i had one but on my stock 2.1 rom (latest fw) cpu spy shows the phone cant enter the deep sleep. this is cuz it is not 2.2\2.3?
2.1 cant enter deep sleep?
Click to expand...
Click to collapse
Yes 2.1 can enter deep sleep. i have done it.
Sent from my X10i using XDA Premium App
hi guys. but nobody explained exactly what "deep sleep" means
anyone can answer fully?
What "Deep sleep" really is.
strenkp said:
hi guys. but nobody explained exactly what "deep sleep" means
anyone can answer fully?
Click to expand...
Click to collapse
Okay, I'll break it down super simple,
The phone has a CPU, it runs constantly throughout the phone being on. The CPU can demand certain amounts of (potential) energy at certain times to accommodate the phone and the phone's overall speed and responsiveness (makes it run fast or slow). This can range from producing a low amount of MHz to a high amount of MHz. 1MHz is 1 million cycles per second. The phone runs at a low MHz when in "Deep sleep". Without "Deep sleep" the phone constantly runs at a high MHz frequency and thus requires more energy to accommodate the cycles per second that the CPU is running at. The more energy required only may come from the battery, thus draining it quickly! Therefore we can conclude that "Deep sleep" is necessary for not only the battery life, but it's longevity (Draining a battery an recharging it quickly and often kills it).
Id like to add that in deep sleep the CPU is not completely turned off but in extremely low power mode - it is in standby mode, doesnt process any cycles and is ready to be wake on fastly.
So ive been told that underclocking or undervolting might actually harm battery life instead of helping it by making the process slower before it completes.
What are the best set cpu settings for battery life?
If i decide I dont want to use setcpu how can i restore the default values?
Search for the setcpu thread by lennyuk.
All your answers are in there. Sorry don't have the link but you will find it. Think it might be in android development and hacking section??
Edit:
http://forum.xda-developers.com/showthread.php?t=1158102
Sent from my GT-I9100 using XDA App
digitallysick said:
So ive been told that underclocking or undervolting might actually harm battery life instead of helping it by making the process slower before it completes.
What are the best set cpu settings for battery life?
If i decide I dont want to use setcpu how can i restore the default values?
Click to expand...
Click to collapse
UC/UV/OC can harm your phone if not properly taken care of.
Each cpu is different so there is no 'best settings'. If i share my settings, it might not be stable in your phone, or may be you can undervolt more than me which means your cpu can handle lower voltages better than mine.
You can use an init.d script (if your kernel supports) or SetCpu or Voltage Control to overclock/underclock/undervolt.
First thing, search through kernel threads and find a kernel you think suits your taste best.
Next, using setcpu or voltage control, set a min and max global frequency.
Now for each frequency lower the voltage by 25 mv (from stock). Keep doing this until your phone becomes unstable or hangs. Use the last settings that didn't cause any problems.
I have a profile which works only at night
from 11pm to 6 am 500mhz with power save.
Once i tried 1000mhz conservative, for the whole day, does seem to give me more battery life at the end of the day.
ProNewb said:
I have a profile which works only at night
from 11pm to 6 am 500mhz with power save.
Once i tried 1000mhz conservative, for the whole day, does seem to give me more battery life at the end of the day.
Click to expand...
Click to collapse
Shouldn't the phone be in deep sleep (200mhz) at night? If you're not using it ofcourse.
TheSaw said:
Shouldn't the phone be in deep sleep (200mhz) at night? If you're not using it ofcourse.
Click to expand...
Click to collapse
Deep Sleep doesn't mean locking on to lowest frequency supported by kernel. (200 mhz on stock).
Deep sleep is the state where both cores shut off, and system (O.S) goes to sleep, governor stays idle, etc etc. There will be some background processes running too, but cpu is not using 200 mhz throughout deep sleep.
EDIT: Or you meant a screen off profile.
TheSaw said:
Shouldn't the phone be in deep sleep (200mhz) at night? If you're not using it ofcourse.
Click to expand...
Click to collapse
The phone should be in deep sleep, but some apps don't let the phone sleep at night thanks to there inefficient coding.
Anyway it does seem to use less battery, without this profile, I loose around 9% in 6 hours, but now I loose only 4-5%.
Sent from my GT-I9100 using XDA App
digitallysick said:
So ive been told that underclocking or undervolting might actually harm battery life instead of helping it by making the process slower before it completes.
What are the best set cpu settings for battery life?
If i decide I dont want to use setcpu how can i restore the default values?
Click to expand...
Click to collapse
just unistall setcpu and then reboot your phone and then you go back to default values
hi guys..i've a problema that i can't resolve...
during the night my phone stay awake for many many minutes..
i don't know why...
i don't have app in backgrund...
i use the low freq at 100 mhz...
maybe is it the problem?
at 100 mhz for the phone is more difficult goes to sleep?
coloxim said:
hi guys..i've a problema that i can't resolve...
during the night my phone stay awake for many many minutes..
i don't know why...
i don't have app in backgrund...
i use the low freq at 100 mhz...
maybe is it the problem?
at 100 mhz for the phone is more difficult goes to sleep?
Click to expand...
Click to collapse
To low
jje
do you think if i set 200mhx the phone goes in sleep mode more easily?
Depends on the kernel. Different kernels sometimes have different frequencies they will set the CPU at just before the phone goes into deep sleep. There was some posts in the Siyah dev thread about two weeks ago where this was discussed. Some kernels can have the deep sleep frequency set via script. Deep sleep frequency can also vary depending on the CPU governor used for some kernels.
coloxim said:
do you think if i set 200mhx the phone goes in sleep mode more easily?
Click to expand...
Click to collapse
i have the same problem. i've try many roms and kernels, but still can't solve this problem. My gs2 is still being awake when even I am not using it.
I hope stock 4.0 rom would be solved this problem...
Cpu frequency should have nothing to do with wakelocks. Do u leave sync on overnight? I would recommend installing betterbatterystats to find the culprit of the wakelocks, then install titanium backup or bloat freezer (free) to freeze the process that is keeping the phone awake
i've tried battery stat....but i didn't see nothing...
I'll test it this night again...
MistahBungle said:
Depends on the kernel. Different kernels sometimes have different frequencies they will set the CPU at just before the phone goes into deep sleep. There was some posts in the Siyah dev thread about two weeks ago where this was discussed. Some kernels can have the deep sleep frequency set via script. Deep sleep frequency can also vary depending on the CPU governor used for some kernels.
Click to expand...
Click to collapse
so the cpu goes to sleep only when reachs some freq?
I don't use SepCPU anymore it's a useful app but i can get superb battery life without it, Speedmod K2-21 is probably the best kernel for battery life this is what i use and i can get 95% deep sleep at night.
On stock samsung kernel the cpu scales up to 800 mhz before entering deep sleep. On a custom kernel, like siyah kernel, the cpu scales to 500 mhz just before sleep so it can initiate the suspend process, which is basically what puts the phone to sleep. Btw when looking at battery stats you should look at partial wakelocks, those are the ones that keep your phone awake
Sent from my GT-I9100 using XDA App
Sent from my GT-I9100 using XDA App
Btw which kernel and governor are you using? Do you use set cpu or voltage control?
Sent from my GT-I9100 using XDA App
I had this problem too and accidentally fixed it by flashing a modem (XXLPB). Now all is well so give it a try.
Hi Guys,
Is there any method for setting Governor settings on the Truesmart?
I want a deeper sleep, Come the end of my day I've got through on a single charge with 35% to spare but still think I can do better.
Cell Standby is taking 41% and Phone Idle 37%
Standby a bit of baseband tuning "may" help but not much can be done. But for Cell standby I'm going to need to get a more battery friendly governor setting, maybe being a little lower frequency in sleep mode and less eager to ramp up to full speed for every request. For a watch this size it is zippy enough, a small knock to performance won't hurt.
So any ideas?
Thanks
Hey guys, I hope this is the right area to ask these following questions, some of them are subjective and it all matters to the user, but before I head down the rabbit hole of flashing. I would like user input. Some of these will be hardware related.
1. Using telstra simcard, I wanted to know what the best or a good reviews modem for battery and stability.
2. This I don't understand, lpa+aftr or lpa+idle for s2?
3, is there a different attena you can buy that allows 4G, or an extended range?
4. A usb port that allows more than 650v charging. (since default hardware doesn't allow it)
Sent from my GT-I9100 using XDA Free mobile app
LiL_Assassin said:
2. This I don't understand, lpa+aftr or lpa+idle for s2?
Click to expand...
Click to collapse
They are IDLE aka Normal Idle, LPA aka Deep Idle and AFTR aka ARM Off Top Running. Race to idle by CPU is implemented for power management.
In IDLE state, CPU is not clocked anymore, but no hardware is powered down.
In deep idle (LPA),a state after IDLE, again, the cpu is not clocked anymore like we guessed but some parts of hardware are powered down. Deep idle brings in real power savings and there is no need of putting a hard limit to frequency during screen-off; using a screen-off profile. (Good practice is to use a governor with built in screen off profile, than using an user-configured screen-off profile by putting a hard limit on frequency). Deep idle is not used when device is entering deep sleep and also when device is woken from suspend/deep sleep. While entering/exiting DEEP IDLE, CPU is set statically to SLEEP_FREQ and is not clocked below or above until it exits this state.
AFTR is a patch to support Top=Off mode for deep idle. Level 2 cache keeps it data during this mode.
We can have IDLE or AFTR modes with LPA enabled or disabled. (Obviously it is not possible to have IDLE and AFTR together)