How to set deep sleep profile - XPERIA X10 Q&A, Help & Troubleshooting

Hello am running a 2.3 rom was wondering how to set deep sleep my battery is going down wen screen is off thanks

Try setting it using set cpu.. Lower down you frequencies might extend battery life. Hope this helps
Wolfbreaks ROM with DoomLord Kernel = Awesome =)

Related

OverClock floyo1.01 ?

i have recently flashed the Floyo 1.01 rom for hero, it come with flykernel 11 smartass, with default speed at 528/176
what speed should i overclock it ? whats the best speed for this rom ? does it drain much more battery with higher speed ?
I haven't had much battery drain using overclocked kernels, just remember to set up sleep profiles to underclock when screen off to maximise battery.
Start off with the FlyKernel-11 (Generic), crank upto 710, see if its is stable or it crashes,... If you crash, worry not, pull your battery, lower your overclock by one notch, try again. If it runs fine, try even putting the clock speed up.
Have I been clear?... Shout me if you need more help.

What is deep sleep?

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.

Best SetCpu settings for battery life?

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

[Q] Battery drain on night elves kernel

i have 1 big problem ie my cell (neo v) has a huge battery drain problem
i have cm7.2 fxp111 rom with night elves kernel with i/o sheduler to noop, governor to conservative and overclocked to 1.1ghz......
every 10 mins i have a drop of 1%
n my cell cant even survive 15hours
and wen in sleep mode there is 20% drop in 7hrs
want to find possible solution cant find in other threads..........
plz help
chintu1234 said:
i have 1 big problem ie my cell (neo v) has a huge battery drain problem
i have cm7.2 fxp111 rom with night elves kernel with i/o sheduler to noop, governor to conservative and overclocked to 1.1ghz......
every 10 mins i have a drop of 1%
n my cell cant even survive 15hours
and wen in sleep mode there is 20% drop in 7hrs
want to find possible solution cant find in other threads..........
plz help
Click to expand...
Click to collapse
UC to 700-800Hz for normal use ( Whatsapp and messaging)
UC to 900-1000 for browsing + Music
And go above1Ghz for gaming
Set governor to conservative at ALL times ~ Works for me
And use SET CPU and set profiles
ie when screen off - 700-800Hz
Time 1am-6am 600-700Hz
Etc
I use these settings and i get Around 15hours of heavy usage
AS for the highlighteD and underlined text
Use better battery stats -SEarch XDA
Tottaly your problem is with overclocking...
thank you guys
i did as qwerty123 said
i installd setcpu made profiles n really it helpd me alot by increasing my standby time......
bt i wanna know what shd i put in up threshold n down threshold and other options.......
chintu1234 said:
thank you guys
i did as qwerty123 said
i installd setcpu made profiles n really it helpd me alot by increasing my standby time......
bt i wanna know what shd i put in up threshold n down threshold and other options.......
Click to expand...
Click to collapse
Don't mess with those options
Thats complicated stuff I've never messed with it

[ASK] Deep Sleep

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.

Categories

Resources