CPU won't go to deep sleep after certain time - LG Nitro HD

Tried CM9 RC2 and Full Throttle 7.1, the same thing happened:
I unplug my phone in the morning after browsing for a few things, then left the phone basically idle for a few hours. Then use it for a few minutes of different activities. For the first few hours the phone goes into deep sleep, after I use it for a few minutes the phone will refuse to go into sleep again, awake until I restart it.
I have been using CPU Sleeper to force the phone into sleep, doesn't really help at all.
Any clue?

Install Better Battery Stats to help determine if an application is keeping your phone in wakelock.

drumist said:
Install Better Battery Stats to help determine if an application is keeping your phone in wakelock.
Click to expand...
Click to collapse
Thanks! it's a great app! trying it now!

any luck?

not yet, seems behaving as expected after installing the app. Still deciding between CM9 RC2 and Full Throttle 7.1, so may need a couple more trials to point things out.

Related

Battery drain is ridiculous...please help

My battery is draining like CRAZY and i cant seem to find out what the issue is. Ive tried calibration several times and using a task manager that turns off running apps every few seconds(which seemed to make it worse) and that didn't help. Auto updates are turned off and fbook is only set to update every hour and brightness is set to minimum yet my battery only seem to last 8hrs. please help. i would really like to pinpoint what the issue is.
Oh...im running ERA Legendary 2.1, CPU speed and voltages are stock
That screenshot is worthless. It doesn't show anything useful. Percentages are meaningless. Get Betterbatterystats to see what is running as far as processes and partial wakes. Get CPUspy. To make sure your phone is going into deep sleep. Get Memory Booster Lite to see what is using your battery and get rid of the auto task killer. That will kill your battery fast.
Sent from my SPH-D700 using XDA App
kennyglass123 said:
That screenshot is worthless. It doesn't show anything useful. Percentages are meaningless. Get Betterbatterystats to see what is running as far as processes and partial wakes. Get CPUspy. To make sure your phone is going into deep sleep. Get Memory Booster Lite to see what is using your battery and get rid of the auto task killer. That will kill your battery fast.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
i only posted the screen shot to show the time vs percentage. i already got rid of the task killer and here is a screenshot from better battery stats. idk how to stop the processes though...
Again the percentages mean nothing. In Gingerbread everything goes through Android system so it will always be highest. If you use your phone only an hour or two a day then it will drop to around 60% with cell standby getting higher. They will always add up to 100% whether on a minute or 10 hours.
You didn't post the partial wake locks screen. Also did you check CPUspy for deep sleep? Did you uninstall the autokiller? You can go into settings>applications>running services and stop applications that shouldn't be running like Facebook or music and video players, etc. Sometimes it's best to get an app like Bloat freezer and freeze apps that keep reloading if you don't use them often.
CardnalSyn said:
My battery is draining like CRAZY and i cant seem to find out what the issue is. Ive tried calibration several times and using a task manager that turns off running apps every few seconds(which seemed to make it worse) and that didn't help. Auto updates are turned off and fbook is only set to update every hour and brightness is set to minimum yet my battery only seem to last 8hrs. please help. i would really like to pinpoint what the issue is.
Oh...im running ERA Legendary 2.1, CPU speed and voltages are stock
Click to expand...
Click to collapse
Another question and maybe the most important...what is your screen on time? I didn't see it in the screen shots. I think Max screen on Time I have gotten is right around 4hours. All the battery tweaks in the world wont help, if your screen is on a lot. Also...make sure to freeze drm, sns and system updates. Use randomlking's zip file.
If none of that works...wash, rinse, repeat. Wipe clean and reflash, rom and kernel.
Sent from my SPH-D700 using xda premium
As I'm sure you know, everyone's battery drainage is widely independent. However; I'm on "stock" Legendary 2.1 and recently with the updated Samurai kernel as well and run Juice Defender Ultimate. I've got some advance settings set but over the past 3-4 days, I average about 20 to 22 hours on a single charge.
My usage in an average day is: about 20-30 texts, about 10 minutes of phone calls, 10-12 emails in and out, 10 minutes of web, whatever app updates there may be and maybe about 15-30 minutes of light to medium use games.
If JDU is something you might want to look into, I would be more than willing to post my setup to get you started. <--For some reason, people are real stingy with their JDU settings.
This kinda thing just happens sometimes, and usually clears up on it's own. Especially common after flashing new software.
sent from my secret underground bunker

[Q] Why won't my phone goto sleep?

I think my phone is suffering from the Android OS keep awake bug. I just charged my phone to 100%, rebooted, opened and closed the camera app and left it alone for about an hour and a half. I am down to 92% batter life remaining. This seems excessive. The Android OS app shows a keep awake time of exactly 93 minutes which is also exactly the same as the up time.
I don't quite understand BetterBatteryStats just yet, but BetterBatteryStats shows "gps-lock" as 1h27m4s under Kernel Wakelocks since charged. Nothing else comes close. The highest Partial Wakelock is ActivityManager-Launch with 12s. Under Other Awake is 93 minutes and Screen on is 2 minutes. BetterBatteryStats is the first item under Process the surfaceflinger and com.android.phone.
Before rebooting I had set my GPS settings to (and they remained this way after reboot)
-Google's Location Service : Unchecked
-GPS satellites : Checked
-Location & Google search : Unchecked
Other stats:
-Verizon LTE
-bigxie IML74K Build 2
-franco.Kernel #12 (hotplug enabled, 350k low, 120k high)
-No widgets
-No other apps were opened
-Gmail is set to sync. I haven't run or configured Google+ (don't use it). Gmail/Calendar/Contacts should be the only things syncing, no facebook sync.
I had similar issues before flashing the kernel and rom.
How can I get this thing to go to sleep? I don't think this should be consuming so much battery life while idle.
you have a "bad app" that is preventing the phone from deep sleeping.
get cpu spy from the market to verify how long your phone is staying in each state
do you have any notifications in the notification bar?
No notifications were received in the last 90 minutes (forever alone yes). I just installed CPUSpy. This says 00:01:25 was spent in 1200Mhz, 01:39:52 in 350mhz and 0:00:0 in Deep Sleep.
How can I find what app is preventing deep sleep? The only apps listed in the battery app are Android OS, Screen, Phone Idle, Cell standby and Android System.
Wouldn't this bad app show up in BetterBatteryStats under Process?
lethologica said:
No notifications were received in the last 90 minutes (forever alone yes). I just installed CPUSpy. This says 00:01:25 was spent in 1200Mhz, 01:39:52 in 350mhz and 0:00:0 in Deep Sleep.
How can I find what app is preventing deep sleep? The only apps listed in the battery app are Android OS, Screen, Phone Idle, Cell standby and Android System.
Wouldn't this bad app show up in BetterBatteryStats under Process?
Click to expand...
Click to collapse
I don't use BetterBatteryStats so I wouldn't know.
I personally set my CPU speeds from 700-1200MHz (as indicated by Franco and others... setting it to ~300 is bad because it makes the phone use more power to catch up)
How many apps do you have? can you use AppBrain or something to provide me a list of what apps you use?
I just took a list at my CPU Spy...
0:09:51 1200Mhz
920 MHz... 0:01:35
700MHz: 0:09:49
Deep Sleep: 3:21:43
82%... 3h 50m 35s on battery
Android OS 28%
Screen 24%
Google Voice 14%
Phone idle 14%
Android system 7%
Cell standby 3%
Nova Launcher 3%
Wi-Fi 2%
Beautiful Widgets 2%
Market 2%
700-1200MHz. Conservative Governor. Hotplug off
I did try 700 with earlier versions (I think 8 & 9) and was also getting poor battery performance during idle. I wish there was an easier way to determine what app is preventing deep sleep, however it would almost certainly have to be a system app as I did not run any app when I started this test.
lethologica said:
I did try 700 with earlier versions (I think 8 & 9) and was also getting poor battery performance during idle. I wish there was an easier way to determine what app is preventing deep sleep, however it would almost certainly have to be a system app as I did not run any app when I started this test.
Click to expand...
Click to collapse
It doesn't have to be a system app. A app can be started as the moment as Android OS is started.
Not all apps are listed in that battery monitor. I can tell you that for sure. Definitely something is wrong with your phone setup.
The best way to debug it (in my opinion) would be to backup all of your apps and reflash the ROM from scratch. Flash bigxie's ROM (or try another ROM if you choose to) and Franco's Kernel.... install CPU Spy and leave the phone off for like 5-10 minutes. See if it deep sleeps.
Edit: Try this https://market.android.com/details?...251bGwsMSwxLDEsIm5leHRhcHAuc3lzdGVtcGFuZWwiXQ this should help you figure out what app it is.
Thanks for the tip. I am going to recharge and test again with all GPS settings disabled to rule the GPS out. Seeing the gps-lock as the top process in Kernel Waitlocks makes me wonder. I will give SystemPanelLite a try after this test.
lethologica said:
Thanks for the tip. I am going to recharge and test again with all GPS settings disabled to rule the GPS out. Seeing the gps-lock as the top process in Kernel Waitlocks makes me wonder. I will give SystemPanelLite a try after this test.
Click to expand...
Click to collapse
You did update to the latest Google Maps right? it contained fixes for the battery. Maps is a huge drain if it runs in the background. I always leave my GPS deactivated even though it's activated ondemand. I just don't trust it.
Ahh hah! It has only been 20 minutes, but the GPS is the culprit. I did the same charge, reboot, camera cycle. Then I walked away. Checked CPUSpy and sure enough there was 18 minutes of deep sleep time out of a 20 minutes up time. Google Maps is up to date by the way.
Now the funny thing is, the GPS isn't all that great even when it was keeping my phone awake. Last night I checked the GPS after I got out of the subway (public transit, not sandwiches), for a second it still thought I was in the location prior to taking the subway. It took close to ten seconds to get within 500 meters of my location, and after that it was unable to pinpoint my exact location. The phone has been able to pinpoint my exact location in the past though.
So now, how can I determine if this is a software bug or a hardware bug? If it is software then no big deal, I can hold out. If it is hardware then I need to revert to factory, unroot, etc.
lethologica said:
Ahh hah! It has only been 20 minutes, but the GPS is the culprit. I did the same charge, reboot, camera cycle. Then I walked away. Checked CPUSpy and sure enough there was 18 minutes of deep sleep time out of a 20 minutes up time. Google Maps is up to date by the way.
Now the funny thing is, the GPS isn't all that great even when it was keeping my phone awake. Last night I checked the GPS after I got out of the subway (public transit, not sandwiches), for a second it still thought I was in the location prior to taking the subway. It took close to ten seconds to get within 500 meters of my location, and after that it was unable to pinpoint my exact location. The phone has been able to pinpoint my exact location in the past though.
So now, how can I determine if this is a software bug or a hardware bug? If it is software then no big deal, I can hold out. If it is hardware then I need to revert to factory, unroot, etc.
Click to expand...
Click to collapse
It's probably software. Something is keeping the GPS on. Either by a app or ROM. Most likely app.
If you're not using gps with google location services, it will take a while to lock.
Also, you have an app that is requesting GPS constantly while the phone is sleeping.. That is all.
joshnichols189 said:
Also, you have an app that is requesting GPS constantly while the phone is sleeping.. That is all.
Click to expand...
Click to collapse
Any idea on how to figure out what that app is?
I'm not sure how to find an app that is constantly requesting GPS, but I know the app Watchdog will help find an app that is running in the background consuming processor cycles.. you might want to try that but I have no idea if it will work.
holy ****! thank you! I've been trying to figure out what was causing my phone to not deep sleep for a week! I uninstalled google maps and it worked! now I'd like to figure out how to have both deep sleep and google maps installed...
did you tuck your phone in?
I had that problem with a Rom and turning on and off the Bluetooth would fix the problem.
Sent from my GalaxyNexus using Tapatalk
imail724 said:
holy ****! thank you! I've been trying to figure out what was causing my phone to not deep sleep for a week! I uninstalled google maps and it worked! now I'd like to figure out how to have both deep sleep and google maps installed...
Click to expand...
Click to collapse
Try disabling GPS when you're not using it. Worked for me.
i tried to freeze the google maps, but still getting the GPS wakelock.
from the other thread, some one mentioned about facebook.
i freeze facebook in titanium backup. looks like the GPS time is not increasing.
are you guys having this issue installed facebook app?
the other thread:
http://forum.xda-developers.com/showthread.php?t=1419087&page=3

[Q] Sleep Battery Life

Hey everybody,
Just made the jump from the iPhone 4S and have done the custom ROM/kernel thing the past week. Things were good at the start but I feel them slowly deteriorating.
I find my battery life during sleep has become much worse than before. I mean, it still kills the 4S which would see ~25% overnight. But I'm seeing 10% overnight right now, and was ~2% earlier in the week. I normally have my phone on the charger at night, but didn't last night and I'm kinda glad I got to see this. Makes me realize why I was likely chewing through more in the day too.
You can see what I'm running below in my signature. Last night I had 5 instances where the phone woke on its own. Likely due to emails coming in.
Am I expecting too much from my modifications? Am I doing something wrong? I'm ready to toss AOKP aside because of other issues anyway, but yesterday I also read it was known to have some excessive battery drain as well. Without turning this into a battle to defend the ROM you use (like half the threads in here), if you have other suggestions, feel free to throw in a ROM suggestion. I'll attach some pictures of my battery screen so anyone willing to give me a hand can help.
Thanks in advance.
I had this problem when I was running franco too. Switched to leankernel and never looked back. I get about 4-6% drain overnight as long as I dont do something stupid like leave something running by exiting with home instead of the back button. I also have wifi on 24/7 and gps off unless im nav'in. No BT
Screwedupsmitty said:
I had this problem when I was running franco too. Switched to leankernel and never looked back. I get about 4-6% drain overnight as long as I dont do something stupid like leave something running by exiting with home instead of the back button. I also have wifi on 24/7 and gps off unless im nav'in. No BT
Click to expand...
Click to collapse
I'm hesistant to blame the kernel. I was using franco prior to AOKP without issue. I didn't make that clear in the OP. I went 4.0.4 Stock -> Stock + franco -> AOKP b31 + franco. Things were good the first two steps and I'd like to think the first few days on AOKP.
Perhaps I have some background processes chewing battery - but there's nothing with a higher battery drain than Chrome beta with 2%. My phone idle and Cell standby had huge drain though. Could a weaker than normal signal cause this? Could my radio be the culprit?
Steps to best diagnose idle battery drain.
-Install CPU Spy and Better Battery Stats.
-Charge phone to full and let it run for several hours undisturbed (easiest to charge before bed, then unplug it when you know it won't be used till morning).
-Take quick note of your % loss per hour. Around 1%, you're golden. 1-2 is pretty normal. >3 and you've got issues.
-Launch CPU Spy. Most of the time should be deep sleep (we're talking about 95%). If your phone has been awake a lot, there's either an app that refuses to let your phone rest, or an OS/Kernel issue. If it's not extreme but noticeable, you likely just need to reign in settings on some apps to keep them from syncing so often or working in the background.
-Launch Better Battery Stats. Select Partial Wakelocks from the menu. These are all cases of apps waking the phone up, sorted by length. Go look at problem apps' settings/consider uninstalling if you don't need them. Kernel wakelocks should be low too.
Keep in mind that the goal here isn't really to get all these things to zero so do not obsess over small showings. Facebook with push notifications but updates set to never keeps my phone awake for about a minute or two every night, for instance. So does Handcent SMS. If you flash a rom and your phone needs to do a lot of syncing it's likely to show up in this kind of test as well. But for a night with nothing going on, nothing should be keeping your phone up for more than a few minutes total.
myrdog said:
I'm hesistant to blame the kernel. I was using franco prior to AOKP without issue. I didn't make that clear in the OP. I went 4.0.4 Stock -> Stock + franco -> AOKP b31 + franco. Things were good the first two steps and I'd like to think the first few days on AOKP.
Perhaps I have some background processes chewing battery - but there's nothing with a higher battery drain than Chrome beta with 2%. My phone idle and Cell standby had huge drain though. Could a weaker than normal signal cause this? Could my radio be the culprit?
Click to expand...
Click to collapse
Weaker than normal signal can kill a phone battery, when I'm in lecture out in the bumfuck nowhere school I go to, I get -100 to -120dbm, which kills my battery while i'm at school. If thats your situation not much to do besides hope radios may increase your signal, but if not then your basicly as SOL as i am and may have to just charge it
JoeSyr said:
Steps to best diagnose idle battery drain.
-Install CPU Spy and Better Battery Stats.
-Charge phone to full and let it run for several hours undisturbed (easiest to charge before bed, then unplug it when you know it won't be used till morning).
-Take quick note of your % loss per hour. Around 1%, you're golden. 1-2 is pretty normal. >3 and you've got issues.
-Launch CPU Spy. Most of the time should be deep sleep (we're talking about 95%). If your phone has been awake a lot, there's either an app that refuses to let your phone rest, or an OS/Kernel issue. If it's not extreme but noticeable, you likely just need to reign in settings on some apps to keep them from syncing so often or working in the background.
-Launch Better Battery Stats. Select Partial Wakelocks from the menu. These are all cases of apps waking the phone up, sorted by length. Go look at problem apps' settings/consider uninstalling if you don't need them. Kernel wakelocks should be low too.
Keep in mind that the goal here isn't really to get all these things to zero so do not obsess over small showings. Facebook with push notifications but updates set to never keeps my phone awake for about a minute or two every night, for instance. So does Handcent SMS. If you flash a rom and your phone needs to do a lot of syncing it's likely to show up in this kind of test as well. But for a night with nothing going on, nothing should be keeping your phone up for more than a few minutes total.
Click to expand...
Click to collapse
This is what every user should use to diagnose battery problems at first.

Stock OS

Been poking around here and reading all the posts that people had mentioning battery life on stock/cm11. Is battery life really that good? I find myself trying everything possible (including hardly using the device, turning brightness all the way down, turning off bluetooth & Dynamic perspective) and I find that my phone is dropping like a brick. I can have the phone lose %s in front of me just having the screen open for a few minutes doing nothing else.
I even have two apps to optimize/kill all other apps and I'm finding that this phone is dying faster than a t-mobile pre paid LG L90 I was using prior. I just don't see how people with stock and all the features on are getting more than 5 hours battery life tops. This phone dies while you use it on the charger, which is a first from any phone I've ever used.
How do your experiences stack up? Do I just have a bad unit? Really considering going to cm11 now (really wanted to like Fire OS).
You must have something wrong with the phone. I have had Samsung S3's and S4's and the Fire is far and away the best I have experienced for battery life. I am getting close on two days on a full charge although I do not use it a great deal for voice calls.
dmarchant said:
You must have something wrong with the phone. I have had Samsung S3's and S4's and the Fire is far and away the best I have experienced for battery life. I am getting close on two days on a full charge although I do not use it a great deal for voice calls.
Click to expand...
Click to collapse
Are you keeping Dynamic perspective off with a low brightness instead of auto? Don't see how two days is possible unless you absolutely never used the device. I can lose like 10% an hour just on the browser reading text sites.
Fire has the best battery life of any android phone I've owned. I'm on fire os with a different launcher and I have dynamic perspective on (not for home screen obviously). I'm also using auto brightness. I'm rooted with gapps installed. I get great standby time and even in use its good. You should get gsam battery monitor and see what's going on, although I think you might have a broke unit.
Here is a picture from Gsam (I don't have my phone rooted). I think this is pretty bad for only 3:28hrs of screen on time and that was with the screen at the lowest brightness, not on auto. For app usage I have 7% coming from a game I was playing, but the rest of the drain is coming from system and kernel. Would really like to see another users stats with similar screen on time, as I'm pretty sure I could completely kill this phone's battery in 4-5 hours just using silk browser on Reddit.
h ttp://i.imgur.com/JSXxRGN.png
Sent from my SD4930UR using XDA Free mobile app
Ztcc said:
Here is a picture from Gsam (I don't have my phone rooted). I think this is pretty bad for only 3:28hrs of screen on time and that was with the screen at the lowest brightness, not on auto. For app usage I have 7% coming from a game I was playing, but the rest of the drain is coming from system and kernel. Would really like to see another users stats with similar screen on time, as I'm pretty sure I could completely kill this phone's battery in 4-5 hours just using silk browser on Reddit.
h ttp://i.imgur.com/JSXxRGN.png
Sent from my SD4930UR using XDA Free mobile app
Click to expand...
Click to collapse
Can you check the kernel wake lock section of the same app?
ratbags said:
Can you check the kernel wake lock section of the same app?
Click to expand...
Click to collapse
On the off chance that you or anyone else can help me understand what's going on I ran a ~10% drain test and made a picture including information from WakeLock Detector and GSam. This drain seems very bad considering the screen was only on for a total of 16 minutes and I lost 8% power.
imgur.com/YbgFfmA
Ztcc said:
On the off chance that you or anyone else can help me understand what's going on I ran a ~10% drain test and made a picture including information from WakeLock Detector and GSam. This drain seems very bad considering the screen was only on for a total of 16 minutes and I lost 8% power.
imgur.com/YbgFfmA
Click to expand...
Click to collapse
Your phone isn't going into deep sleep. It's hard to determine exactly what's going on there but if you download kernel adiutor (yes, that's the spelling) you'll see its locked at 300mhz most of the time. I know it sounds crazy but have you rebooted? That can often sort out a misbehaving app. Are you rooted? If so deploy greenify.
ratbags said:
Your phone isn't going into deep sleep. It's hard to determine exactly what's going on there but if you download kernel adiutor (yes, that's the spelling) you'll see its locked at 300mhz most of the time. I know it sounds crazy but have you rebooted? That can often sort out a misbehaving app. Are you rooted? If so deploy greenify.
Click to expand...
Click to collapse
I am rooted. That screenshot was with using greenify :[
I will get that kernel app.
ratbags said:
Your phone isn't going into deep sleep. It's hard to determine exactly what's going on there but if you download kernel adiutor (yes, that's the spelling) you'll see its locked at 300mhz most of the time. I know it sounds crazy but have you rebooted? That can often sort out a misbehaving app. Are you rooted? If so deploy greenify.
Click to expand...
Click to collapse
Do you have any recommended settings for that app? I disabled something that I think is allowing me to enter deep sleep more, but I have to finish testing. Thanks for the help ratbags!
Oh I see what's the wrong.
Battery usage give me a wrong information.
My fire phone lasting about 5hrs turning on screen.
Very very good !!
Thank you.:good::good:
Five hours is good??
Ztcc said:
Five hours is good??
Click to expand...
Click to collapse
5 hours of "screen on time" is solid, the combined time incl. standby, etc. is of course much longer. He didn't know how to interpret the statistics from the device, it was a misunderstanding.
Ztcc said:
Do you have any recommended settings for that app? I disabled something that I think is allowing me to enter deep sleep more, but I have to finish testing. Thanks for the help ratbags!
Click to expand...
Click to collapse
That kernel app won't help battery life but it will show you how long you spend in deep sleep.
As for greenify, you should greenify all the Google apps. I actually greenify everything except sms app, browser, phone and alarm apps.
Also, this could possibly be some kind of location based frippery. Turn location services off or onto battery saving mode if only temporarily. And turn off auto sync if it's on.

new battery and having the same problems before the old one died.

Hi all,
I got a new battery a week ago, because my phone didn't turn on or charged anymore.
But my battery keeps draining. I lose around 25% in idle at night time. And around 3% every 5 minutes when I use it.
I used gsam for a few days now to see iff there are any applications that are causing the drain. So far I can't discover any.
Also when I'm using my phone the side of the power button gets hotter then the rest of my phone. While the battery and cpu both are under 40 C.
I do have android 10 and 2.1 ui from devbase rom with soldier 6.0 clean installed, tried other roms aswell, so maybe I should get back to android pie?
I also started using ex kernel with the standerd underclock option you can choose while flashing this helps a bit.
Hopefully somebody can help me out.
Some gsam data
I have the same. I used different roms and kernels, all the same. I turn on airplane mode for the night. it helps a bit.
bolek932 said:
I have the same. I used different roms and kernels, all the same. I turn on airplane mode for the night. it helps a bit.
Click to expand...
Click to collapse
Thank you, this reassures me that It's just a coincidence that my battery died, and that the behavior of my phone at the moment doesn't mean it would happen again.
packman89 said:
Some gsam data
Click to expand...
Click to collapse
I do notice, that gsam says that that I am using wifi all the time. And it shows that battery usage is high when this happens.
The only thing is that I never use wifi anywhere..
I don't know if this is something to go on or just normal behavior?

Categories

Resources