[Q] Need some help understanding wakelocks - Samsung Galaxy Nexus

My phone seems to be getting pretty awful battery life lately. Over 9 hours (only 1 hour of which was screen on time), it's down to 22% battery. The phone has been sitting (screen off) for a good hour or so and when I picked it up, it's warm as if it's been awake. Android OS is showing a Keep Awake time of over 2 hours - twice the screen on time.
Following the advice here, I dumped my wakelock.csv file (which is actually a tsv but that's another thread).
{
"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"
}
But frankly I have no idea what I'm looking for or, more importantly, what to do about it. What is "main" and why does it have such an insane active since time [is that a unix timestamp?]? Why do wlan_wake, keyevents, and event1-226 have such high counts? I'm usually pretty good with this kind of stuff, but I'm at a bit of a loss with how to interpret this data :/
I also have the CPU undervolted (Gummy 0.3.0 with imo's kernel) and running at 350mhz most of the time. And frankly, the battery lasts about as long as you would expect if the phone were awake all day at 350mhz.
There's the problem, though. It's running at 350mhz most of the time.
Now, I should clarify this by saying that I just (as in, a few minutes ago) disabled Google Talk, Google+, and the "backup to google's servers" setting and already it seems to have made a huge difference, so I THINK I may have already found the problem. Before doing this, 350mhz far outweighed "Deep sleep."
Thanks to anyone who can help!

So perhaps my post was pre-emptive but disabling those three things seems to have solved this. It's cool to the touch while idling, and more importantly, the battery seems to be doing great now. It was losing about 10% an hour and now it's about 0.5%/hour while sleeping.
Again, I disabled:
-Google Talk
-Google+
-Google backup (In Settings > Backup & Recovery).
I don't know which (if any one thing) did it but it's DEFINITELY better.

Related

[Q] G2 Battery Life Issue

For the past couple of weeks ive been having issues with the battery life on my G2. I used to get 12+ hours of battery life on it but now im only getting about 7 or 8. Ive tried recalibrating the battery, clearing the dalvik cache, and changing settings on certain apps but that hasnt seemed to make a difference. Ive noticed that at the end of the day, the android system takes up a huge chunk of my battery. Any ideas?
{
"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"
}
I've had the same issues as the builds of CM have gotten higher in numbers. The ROM that's given me the longest life is the stoock Gingerbread rooted ROM. I switched back to CM because oof the Text MMS & them always being Slideshow issues as well as no ability to stoop the phone from vibrating when I'm on a call. Same issue with CM too actually.
I'm bumping this because I feel your pain.
you can fix that in call settings you know!
Are you running CM7? If you are, open up spare parts and look at the battery information under Partial Wake. See if there's something tying up the system.
There are a few things listed but I dont think its anything that would eat a whole lot of battery. Should I be looking for something in specific?
Anything that's more than a sliver is eating the battery and keeping your phone from sleeping.
I'm getting 24 plus hours on glite which is aosp also. Maybe the battery is finally giving up the ghost. They do have a finite amount if charge cycles. If nothing else has changed and all things being equal to your 12 hour charge cycles maybe you could try a different battery.

Finding apps keeping GN awake?

With ICS what is everyone using to figure out what apps aren't letting the phone sleep properly?
Spare Parts isn't working.
I've tried uninstalling about everything and I can't get this phone to sleep.
This is exactly the post I wanted to make today, glad I searched this one out.
I have few apps installed, and battery is going well for me. I'm a moderate user. I get about 20hours out of a charge.
I notice that even in airplane mode, my phone wakes up 3 or 4 or 5 times during the night for 5 or 10 minutes at a time it seems. What could this be? It's not data as I'm off wifi and in airplane mode. Any ideas?
Thanks all.
I've also been experiencing fairly high CPU awake times and was curious as to how I could track it down. Haven't found anything much yet in the way of apps, but I've turned off a lot of unnecessary Google syncing and an hourly sync of my Exchange account and it seems things are better now. I'm still getting awake times 1h30 greater than screen on time though.
I am seeing high "Keep Awake" times on Android OS Spare Parts force closes when I try to check Partial Wake usage so not 100% sure what this could be.
Wondering if this is the cause of some lower-end battery life we're seeing. My only thought would be LightFlow that is causing this (maybe to wake up for notifications). I thought I read it somewhere, but not sure if it was debunk'd or not.
{
"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"
}

[Q] My awake time seems awful high, where do I go from here?

I picked up betterbatterstats as my battery life has been crappy over the past few days, I have found the following to be true: I am barely using the phone as I'm at work all day and the battery is draining much faster than before. My screen time is 20 minutes total for the following stats.
{
"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"
}
I'm not sure if I'm not using BetterBattery correctly but I can't find an option to tell me what offending processes are keeping the phone awake for so long. How do I figure out what is causing this?
Thanks for any help.
Check partial wakelocks in better battery stats.
Turn off your GPS. That is what worked for me. I have 9h 6m 20s on battery and Android OS only has 51m of awake time.
check your apps, if you're not using them, close them. ask yourself, what apps do i have installed that require wakelock permissions. those are the ones who will drive android os through the roof. latitude. maps. email. feeds. even games can trigger sensors and not let go of them properly, leaving your cpu always working. check cpuspy from market.
turn off autosync. you're working right? no point getting distracted over some lame ass post on fb or some worthless spam in your mailbox.
Ok, so now this is weird. I don't have any apps keeping the phone awake for very long, but the wake counts are retarded, take a look at the attachment. The time is very low, but the count is over 2k. The phone is at about a 75% wake time. This really doesn't make any sense.

Desire Standby Time Results

Hey all,
I just thought I would post this as I thought it was quite incredible.
I don't know what HTC's stats are on 'standby time' (which is usually how long a phone will last with no radio gear active) but look at how long my Desire lasted when I took the sim card out
{
"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"
}
That's 302 hours
Just Sayin'...
Another thing that I noted was the vast amount of 'awake' time vs 'screen on' time, sometimes lasting hours.
What does android have to do so desperately whilst the screen, radio, wifi, in fact everything is turned off??
CheesySeb said:
What does android have to do so desperately whilst the screen, radio, wifi, in fact everything is turned off??
Click to expand...
Click to collapse
Its not Andeoid really. My best bet would be that Go Weather app.
via xda app
I'm not entirely convinced that it is, I could uninstall GoWeather or do a /userdata wipe and retry to see if it'll last any longer?
Even if you put it on airplane mode, the apps you have would still try to wake up every now and then to try and refresh themselves. If you have a resource hungry app then it will wake your device to do the task it needs to perform. It may or may not be go weather app but there is something installed on ur phone that is keeping it awake even on standby. That's what I think anyway.
via xda app
Ha ha ha ha...looks about the same as my desire. I got one hour battery life on idle once with 3G off, wifi off and most of my user apps killed.
My phones been charging for the last four hours and it hasn't moved from 75%. It dies in ten minutes If I use the data connection when it's discharging.

[Q] System_server: Excessive CPU usage & battery drain

Hey guys,
I've really liked this phone - until a few weeks ago.
I had the fated sudden decline in battery life. BetterBatteryStats has been on my phone for a while, so I opened it up and checked what usually kills battery on Android: the wakelocks.
It seemed totally normal!
Then, I checked processes. (These are today's stats, still just as bad)
{
"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"
}
system_server?
I noticed my phone was getting warmer whenever I was actively using it right under the camera, I guess which is where the SoC is. It's also been getting noticeably laggier.
Also today, under the battery usage in the settings:
Android OS and Android System are using twice as much battery as the screen.
This is pissing me the hell off. My phone drains perfectly acceptable battery when it's asleep, but take it out to use it and suddenly it's draining over 20% an hour. The extremely vague and obscure nature of the process doesn't help either. What does system_server even do?
I'm running Tweaked, and I've been alternating between ColonelX and Lean with no difference in battery.
I've also dirty flashed (really don't want to factory reset) to the NF4 Tweaked 3.5 beta. Only difference here is less lag.
As for bootloader, radio, and all that stuff, it's NF4 as well.
Nearly all Samsung bloatware is frozen in Titanium Backup, and all other troublesome apps have been greenified.
Attached is a log from BetterBatteryStats.
Thanks in advance for your help!
(I'm typing this on my phone, and battery had drained over 10% since I started writing this post.)
I had exactly the same issue since I upgraded my note 3 to Lollipop. It was fine when the phone was in sleep. But when using it, it drained the battery super fast...
system_server consumed lots of CPU resource at most time.

Categories

Resources