Hey all, recently rooted my Hero to CM7 RC4 and I've noticed that it doesn't actually sleep, even when the screen is off. If I turn the screen off (to "sleep" it) for a minute, the up-time (in Status) also goes up by a minute. My battery life is also very poor and is likely a result of the phone never spooling down. Poking around the web, some people thought this was from the default SMS app, but this happened before I had ever sent a text (only received one.) I even installed handcent and used it for a bit, but the phone still doesn't sleep properly. Any ideas?
Have you gone into Spare Parts and checked Partial Wake?
stayclean said:
Have you gone into Spare Parts and checked Partial Wake?
Click to expand...
Click to collapse
I did, but it said the only appreciable lock was 3m 25s for Android System (all time.) Dialer was 4s all time. There are no stats for 'time since last boot' or 'time since last unplugged'; I recently rebooted and have the phone currently plugged in.
Do you use wi-fi, or 3G? Bad or good phone service? Stuff auto-syncing on a regular basis? By the way, pretty sure up-time just displays how long the device has been on, nothing to do with sleep time or anything.
gaan kak said:
Hey all, recently rooted my Hero to CM7 RC4 and I've noticed that it doesn't actually sleep, even when the screen is off. If I turn the screen off (to "sleep" it) for a minute, the up-time (in Status) also goes up by a minute. My battery life is also very poor and is likely a result of the phone never spooling down. Poking around the web, some people thought this was from the default SMS app, but this happened before I had ever sent a text (only received one.) I even installed handcent and used it for a bit, but the phone still doesn't sleep properly. Any ideas?
Click to expand...
Click to collapse
You do have the End button Behaviour to sleep right?
its in sparepatrss?
stayclean said:
Do you use wi-fi, or 3G? Bad or good phone service? Stuff auto-syncing on a regular basis? By the way, pretty sure up-time just displays how long the device has been on, nothing to do with sleep time or anything.
Click to expand...
Click to collapse
Right now I have wi-fi off, with generally average phone service on 3G. Sometimes it dips down to 1 bar or reaches 4, but is usually 2-3.
I have the governor set to 'ondemand', with a min of ~176 and a max of ~714. The brightness is set to auto. I don't know if I have much stuff auto-syncing, is there a way to check if I do? I don't have very many apps installed - I just rooted this afternoon, and this is my first android phone so I'm trying to take it slow.
davidevan said:
You do have the End button Behaviour to sleep right?
its in sparepatrss?
Click to expand...
Click to collapse
Pretty sure in Android, the end button defaults to sleep anyway, so I don't think that really accomplishes much. Maybe try turning off 3G when not using the phone actively? That will drain the battery a bit.
stayclean said:
Do you use wi-fi, or 3G? Bad or good phone service? Stuff auto-syncing on a regular basis? By the way, pretty sure up-time just displays how long the device has been on, nothing to do with sleep time or anything.
Click to expand...
Click to collapse
Yeah, you're right...uptime has nothing to do with sleeping.
To the OP...reboot the phone then let the phone run for about 1.5 - 2 hours or so without using it. Then go to Menu - Settings - About phone - Battery use. Then tap the graph at the top where it shows your time and compare your Awake time bar to your screen on time bar. They should be similar, with a bit more in the awake time depending on wat is set to sync.
To be honest, there is no fix to be honest. I've had this problem on many occasions and it fixes itself automatically whenever it wants to.
Sent from my HERO200 using Tapatalk
What radio are you using??? What kernel are you using??? Also try unckecking auto brightness. Also I think I read the ondemad governor has no sleep frequency,so if your clocked at 748 then your still at 748 when you hit the end button to sleep. Also there's no need to have the end button set to sleep in spare parts the rom should sleep on its on. lm not sure but I don't think the phone will sleep being on that governor. Try smartass or conservative and see if it sleeps then. Also make sure you have compatibility unchecked in spare parts. Also in settings under accounts&sync uncheck mobile data. That will need to be rechecked again to use your data services. Having it on all the time drains big time. Hope some of this helps. If not just post here or pm me and if I can help I will good luck
Yea it's Me Again With the
Modified Hero
laie1472 said:
What radio are you using??? What kernel are you using??? Also try unckecking auto brightness. Also I think I read the ondemad governor has no sleep frequency,so if your clocked at 748 then your still at 748 when you hit the end button to sleep. Also there's no need to have the end button set to sleep in spare parts the rom should sleep on its on. lm not sure but I don't think the phone will sleep being on that governor. Try smartass or conservative and see if it sleeps then. Also make sure you have compatibility unchecked in spare parts. Also in settings under accounts&sync uncheck mobile data. That will need to be rechecked again to use your data services. Having it on all the time drains big time. Hope some of this helps. If not just post here or pm me and if I can help I will good luck
Yea it's Me Again With the
Modified Hero
Click to expand...
Click to collapse
I am merely speaking from experience with no programming or dev experience, but I think ondemand actually does sleep. I use it at 176/729 and my awake and screen on is always similar. See the screenie below and look at the broken blue line below the battery up time. If it wasn't sleeping that line would be solid. Again, this is just my personal experience using ondemand.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
make it sleep=
just give it some nice warm hot cocoa with a dab of whisky, works like a charm
ranger61878 said:
I am merely speaking from experience with no programming or dev experience, but I think ondemand actually does sleep. I use it at 176/729 and my awake and screen on is always similar. See the screenie below and look at the broken blue line below the battery up time. If it wasn't sleeping that line would be solid. Again, this is just my personal experience using ondemand.
Click to expand...
Click to collapse
I mean you could be right, I'm no dev by far myself but
I'm using jm's kernel 806. Its based off of the same kernel as the aosp gb builds. If you check his kernel thread I asked this question and was given a different answer. Maybe I misunderstood him or didn't ask the question correctly. I'll send him a pm and see if he's in the mood to share some knowledge. I read that link you posted on aosp's thread, very helpful in understanding the kernels operations a bit better. But it didn't mention what those selected governors default to while sleeping. I mean how can I really know what frequency the kernel is currently at while its sleeping??? The min/max can be set with the default oc app. But not the off screen settings. Unless I'm missing something?? And that could be the case??
Yea it's Me Again With the
Modified Hero
I too am noticing lots of awake time on my battery graph with CM7 RC4. I rebooted about an hour ago, and haven't touched my phone until taking these screenshots. (Sorry for hosting them offsite, the network here blocks the xda uploader.)
http://img828.imageshack.us/slideshow/webplayer.php?id=sparepartspartialwakesil.png
One thing I found very interesting is that even though my phone shows nearly 50 minutes of 'awake' time, my battery still reads 100% even though it's been unplugged the entire time.
sleepy
laie1472 said:
I mean you could be right, I'm no dev by far myself but
I'm using jm's kernel 806. Its based off of the same kernel as the aosp gb builds. If you check his kernel thread I asked this question and was given a different answer. Maybe I misunderstood him or didn't ask the question correctly. I'll send him a pm and see if he's in the mood to share some knowledge. I read that link you posted on aosp's thread, very helpful in understanding the kernels operations a bit better. But it didn't mention what those selected governors default to while sleeping. I mean how can I really know what frequency the kernel is currently at while its sleeping??? The min/max can be set with the default oc app. But not the off screen settings. Unless I'm missing something?? And that could be the case??
Yea it's Me Again With the
Modified Hero
Click to expand...
Click to collapse
I haven't a clue...maybe JM can shed some light for us
the sleep would follow the governor design. Smartass caps at 352 and scales down to your min setting based on your input, interactive and ondemand scale differently... ondemand would scale down based on cpu load (app use) to your min, and interactive (input based) would scale down based on your input to your min. IMHO interactive and ondemand are the best. I use ondemand most of the time because I can set the min lower than interactive and still listen to music with the screen off, no choppiness. I do sometimes switch to 352 min interactive or 264 ondemand when I *think* my phone is being slow, lol.
il Duce said:
the sleep would follow the governor design. Smartass caps at 352 and scales down to your min setting based on your input, interactive and ondemand scale differently... ondemand would scale down based on cpu load (app use) to your min, and interactive (input based) would scale down based on your input to your min. IMHO interactive and ondemand are the best. I use ondemand most of the time because I can set the min lower than interactive and still listen to music with the screen off, no choppiness. I do sometimes switch to 352 min interactive or 264 ondemand when I *think* my phone is being slow, lol.
Click to expand...
Click to collapse
I have always used 176/729 ondemand and had no issues with music and get great battery life (and my phone sleeps ).
il Duce said:
the sleep would follow the governor design. Smartass caps at 352 and scales down to your min setting based on your input, interactive and ondemand scale differently... ondemand would scale down based on cpu load (app use) to your min, and interactive (input based) would scale down based on your input to your min. IMHO interactive and ondemand are the best. I use ondemand most of the time because I can set the min lower than interactive and still listen to music with the screen off, no choppiness. I do sometimes switch to 352 min interactive or 264 ondemand when I *think* my phone is being slow, lol.
Click to expand...
Click to collapse
But is there any way to accurately check or confirm the actual frequency??? Or follow the governor design???
Yea it's Me Again With the
Modified Hero
laie1472 said:
But is there any way to accurately check or confirm the actual frequency??? Or follow the governor design???
Yea it's Me Again With the
Modified Hero
Click to expand...
Click to collapse
I don't know that I understand you... The whole point is that they scale based on conditions, so the actual freq would be changing constantly (but only to your min setting). The smartass gov is the only one with screen off/on specific freq - it caps to 352 screen off, and min is 528 screen on... I suppose there's a way you could monitor it using adb, maybe ddms, but it would be changing based on your current load or input, so you wouldn't really get much from it. Does that help?
il Duce said:
I don't know that I understand you... The whole point is that they scale based on conditions, so the actual freq would be changing constantly (but only to your min setting). The smartass gov is the only one with screen off/on specific freq - it caps to 352 screen off, and min is 528 screen on... I suppose there's a way you could monitor it using adb, maybe ddms, but it would be changing based on your current load or input, so you wouldn't really get much from it. Does that help?
Click to expand...
Click to collapse
Here's what I'm getting at. If the frequency constantly changes due to the users demand or cpu load and maxes out at the selected frequency but doesn't go below the selected frequency either. Then lets say its in the middle of scaling up or down and the user hits the end button, then what frequency would the cpu be at??? Being that it's no way of telling if it hit the min or the max user defined choice. So if the user has a min of 352 and a max of 768 and this were to happen. Couldn't the kernel then be put to sleep at a frequency of 768 ??? After all its still in line with the user defined settings. With apps like over clock widget and set/cpu you could select the off screen clock settings but being as those apps conflict with the native app how can the user be sure of what the off screen frequency is set to if this were the case???
Yea it's Me Again With the
Modified Hero
Hi
can anyone help me with this problem.
Every time i unlock the tab(when it wakes up from sleep) it freezes, the screen doesnt respond for about 10 seconds, after that it works normally. Interesting fact is that this problem is not there when tab is on charging.
I am running MIUI XJ 2.3.10
But the problem is consistent with all the roms: stock, ics, boca.. all.
Are you using something to overclock or underclock, or undervolt your tablet CPU?
For example, there are some people who use profiles with SetCPU. They define that whenever their screen goes off, the CPU goes to a minimum 100 MHz. Which slows it down and then the tab takes its sweet time to get back on, since it's on slow speed.
Dont know much about MIUI but maybe they have CPU settings built in or something. If you dont use any overclocking, install setcpu, select minimum 100 maximum 1000 and select ondemand governor. Share results here. Dont select or enable any profile setting etc.
tried what u said with set cpu. still didnt help..
finally after lot of searching got an app called soft lock.
now my tab wakes up instantly without any freeze..
but have to check how much battery drains becaus this app probably disables deep sleep
thank u for ur reply
obahmood said:
Are you using something to overclock or underclock, or undervolt your tablet CPU?
For example, there are some people who use profiles with SetCPU. They define that whenever their screen goes off, the CPU goes to a minimum 100 MHz. Which slows it down and then the tab takes its sweet time to get back on, since it's on slow speed.
Dont know much about MIUI but maybe they have CPU settings built in or something. If you dont use any overclocking, install setcpu, select minimum 100 maximum 1000 and select ondemand governor. Share results here. Dont select or enable any profile setting etc.
Click to expand...
Click to collapse
tried what u said with set cpu. still didnt help..
finally after lot of searching got an app called soft lock.
now my tab wakes up instantly without any freeze..
but have to check how much battery drains becaus this app probably disables deep sleep
thank u for ur reply
Hey guys,
What do you think of turn on "power saving" when the phone is plugged to the charger in the night? I think it slows down the speed of the processor, so it might be a little help to charge it faster.
Am I wrong?
What do you use it for?
tyraelasd said:
Bunch of text
Click to expand...
Click to collapse
I don't think you will notice any difference. All it does is turning of wifi, BT and the gps. It also disables all auto sync. It won't affect the CPU since your phone goes to deep sleep
Hope I answered your questions!
Sent from my GT-N7000 using xda premium
stekarson said:
I don't think you will notice any difference. All it does is turning of wifi, BT and the gps. It also disables all auto sync. It won't affect the CPU since your phone goes to deep sleep
Hope I answered your questions!
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Thanks but I want to add that I think that it actually underclock your CPU or turn off one core, becouse when you turn it on, the phone turns considerably slower.
tyraelasd said:
Thanks but I want to add that I think that it actually underclock your CPU or turn off one core, becouse when you turn it on, the phone turns considerably slower.
Click to expand...
Click to collapse
When you charged your phone the power saving mode is disable if your phone works properly. In other work, the power saving mode only apply if you are using the battery.
Yes the power saving button just underclocks the CPU to a maximum of 1200Mhz (and probably disables a core too). Other features of the phone are disabled when you're in custom power saving mode.
It won't really charge it any faster as your phone's cpu always runs at a minimum of 200Mhz when charging. So unless you're using the phone as you charge, power saving isn't going to speed things up.
If you download CPU Spy you can see the percentage of time your cpu spends at certain speeds. Interesting stuff!
The last days my girlfriend is complaining about battery drain in her i8190. I installed No-Frills CPU and it seems that the min CPU frequency is stuck at 1GHZ. Applying the 200MHz setting does nothing, when i restart the app i see that the min freq is 1ghz again. The phone is with stock rooted firmware (XXAMJ3).
Any ideas about this really annoying problem?
Flash framework in odin
send for I8190N CM11 using XDA Premium 4 mobile app
pang34 said:
Flash framework in odin
send for I8190N CM11 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks for your answer but i am a newbie fish i didn't understand that. What am i supposed to flash?
@volanis1980
Tell your girlfriend, she should reboot her phone with Wi-FI OFF. This will solve the problem
xXPR0T0TYPEXx said:
@volanis1980
Tell your girlfriend, she should reboot her phone with Wi-FI OFF. This will solve the problem
Click to expand...
Click to collapse
Unfortunately that didn't work! Any other ideas?
volanis1980 said:
Unfortunately that didn't work! Any other ideas?
Click to expand...
Click to collapse
Did you or your girlfriend change the CPU governor to performance? No-frills CPU control can change the CPU governor. Try it out
Or
Set the phone in airplane mode and reboot the phone if it still didn't work then please attach/send some screenshots from the battery statistics in settings > battery in this thread.
P.S : Download "CPU spy" from play store and check if only 1GHz is in use.
She hasn't change the cpu governor (was with ondemand). The trick with airplane mode didn't work either!
These are two screens from no frills and cpuz where you can see the problem. I checked yesterday the real battery performance, it didn't seem that bad. Was 100% to 35% in about 9 hours with 2 hours screen on time. But isn't that strange, the min freq bug?
volanis1980 said:
She hasn't change the cpu governor (was with ondemand). The trick with airplane mode didn't work either!
These are two screens from no frills and cpuz where you can see the problem. I checked yesterday the real battery performance, it didn't seem that bad. Was 100% to 35% in about 9 hours with 2 hours screen on time. But isn't that strange, the min freq bug?
Click to expand...
Click to collapse
that is an unnormal behaviour. I think it is app-related.
try THIS to see which apkĀ“s wake your phone up.
I installed wakelock detector but i don't see something strange.
Really frustrating, i can't find any solution!
volanis1980 said:
I installed wakelock detector but i don't see something strange.
Really frustrating, i can't find any solution!
Click to expand...
Click to collapse
noLED 107x (a playing tool in my opinion)
Handcent 104x (stoneage)
... many wakelocks
btw who uses sms in this time ?
use threema and greenify noLED
m.
if you still have problem try to change govenor and i/o schedular then switch wifi off then reboot.
I know that on all my phones I underclock them to be able to conserve as much battery life as I can. I was wanting to know how many other people underclock this device and what are the setups they are using? I, for example, am using LiquidSmooth v4 Nightly 12/23 and Sensei Kernel R26.1 underclocked at a max frequency of 1.1GHz. I have CPU hotplugging enabled and only use 2 cores.
What's your SOT with that set up? With the stock frequencies I can't get 6.5-7 hours SOT. I'm running LS 12/24 with Lean Kernel OCUC set at 300mhz-26496 I.e. (.3-2.7ghz) and the standard interactiveX Governor that is with it.
Why not just leave it in Battery Saver mode all the time?
Pilz said:
What's your SOT with that set up? With the stock frequencies I can't get 6.5-7 hours SOT. I'm running LS 12/24 with Lean Kernel OCUC set at 300mhz-26496 I.e. (.3-2.7ghz) and the standard interactiveX Governor that is with it.
Click to expand...
Click to collapse
I can't remember actually. I meant to check that. I'll see after use tomorrow.
knitler said:
Why not just leave it in Battery Saver mode all the time?
Click to expand...
Click to collapse
And I have a problem with battery saver mode on liquid smooth. It doesn't vibrate upon receiving a notification. And it seems like it only does that, and turns off animations and lowers brightness
jamcswain said:
And I have a problem with battery saver mode on liquid smooth. It doesn't vibrate upon receiving a notification. And it seems like it only does that, and turns off animations and lowers brightness
Click to expand...
Click to collapse
I believe it also locks the CPU clock down and turns off auto-sync on accounts. On my phone if I use it it tells me I have like 3-4 days of battery left
I am currently under locked at 1958 and my battery life improved drastically. I'm using Set CPU. Here is a screenshot. I'm currently on Chroma. I havent noticed any lag what so ever.