[Q] [Logcat] Google+ keeps wakelocking... and I don't know why. - Omni Q&A

Original post and reply: http://forum.xda-developers.com/showpost.php?p=48968185&postcount=334 (Galaxy S2 Omni 4.4.2 official thread)
I said I'd post a logcat if it happened again. And it did.
The first time Google+ wakelocked, Wakelock Detector said it was fingerprint_scanner_local. Rebooted, killed Google+ and I thought that was that.
Happened again today while I was out no less, and for 1h and 34 minutes it drained 40% of the battery. This time, Wakelock Detector completely failed to see it, but it was listed in battery stats.
While I do game and listen to music on my cellphone, that 1.5 hours took more power than I expected. Screen was off! And even when on, the brightness was minimum.
Log taken when I finally reached home with 20% remaining. (7 hours, which is ok for a standard battery, unusual for the Momax extended). During the log, I was killing apps listed in Android's builtin task manager to isolate Google+. Log ends after I Force Stopped Google+. Hope its helpful enough, or I'll have to wait for this to happen again before taking another log, and hoping I'm home if it does.
PS: demsg returned "not found"; current setup in sig. It hasn't been updated since Christmas.

It's dmesg, not demesg...
Try disabling G+ background data in Settings->Data Usage. G+ is a notorious data hog, and it's very good at killing your battery by eating data.

Entropy512 said:
It's dmesg, not demesg...
Click to expand...
Click to collapse
>_<'.
Dmesg attached to this post.
Try disabling G+ background data in Settings->Data Usage. G+ is a notorious data hog, and it's very good at killing your battery by eating data.
Click to expand...
Click to collapse
Done and done. It's funny because G+ never did this before - I use Google Now back when I was still on Chameleon 3.0.4.
Anyway, a few hours after posting I had a Play Services update; I had set my updates to wifi-only. I'll keep an eye on G+ in case the framework spamming update requests is what's causing those 2 locks.

Related

"Android System" draining battery... Facebook is a potential culprit

Hey, I was wondering if anyone else was having a problem with sub par battery life. I have not been satisfied with my G2 battery life, I only get about 12-13 hours and I am not a really heavy user. I have disabled wifi, bluetooth, gps, cell location, and syncing for everything but my gmail and exchange (set to push), and it didnt affect my battery life at all.
I noticed that "Android System" was taking up 35% of my battery, which I am pretty sure is not normal, so I decided to try a different battery monitoring app to get more details. I downloaded PowerTutor and it was showing that Facebook was using a LOT of battery life over the period of about 10 minutes, which was strange considering that I had turned off all notifications, turned off the refresh, and turned off syncing. It shouldn't have been doing anything.
I logged out of the facebook app and it no longer seemed to be doing anything. My facebook version is 1.3.2. Hopefully this will give me some better battery life (right now i am at 24% at 3:00pm after unplugging at 6:30am, but PowerTutor ate a good bit of battery life while it was monitoring)
Just thought I would post for people who might have abnormally low battery life, and see if anyone else had the same problem.
The facebook app is terrible anyways, I won't miss it. I just use a shortcut on my home screen to m.facebook.com
I'll post back tomorrow and see if my battery life has improved.
i get 12-13 hours, moderate use... but i do have facebook refreshing hour... I had no idea it was eating battery while sitting idle though :-\ that's something for me to look into
I also didn't know 12-13 hours was considered low (new to Android)
Thanks for the heads up
I've been doing a little digging on the Adroid System battery drain issues over here: http://forum.xda-developers.com/showthread.php?t=801244. I don't use the Facebook app at all, but I have noticed a Facebook still periodically pops up in logcat. If I get around to it I'll login to the Facebook app and enable updating to see how often it show up then.
Get the currentwidget app and put it up as a widget at the home screen (I come from WM 6.5.5). Set it up using the default setting. Click the power button and let it sleep. Wake it up in 4 minutes and check your Ma shown in the widget. I'm getting 35Ma and my battery seems to be doing fine.
Its tells you how much power is being used by your phone when it sleeps. Also remove any task killer on your phone. You don't need it.
My battery has also been draining pretty fast. Android system says its using 45% percent of the battery. Don't know what to do?
Sent from my T-Mobile G2 using XDA App
I just did some more testing with PowerTutor. The e-mail app (not gmail) is using up TONS of power when my phone is locked. I think it may have to do something with Exchange and ActiveSync. It's a hotmail address that I'm synced to. I guess I'm going to forward it to a gmail account or something. Its sapping battery life with both Push settings and Every 10 Minute settings.
lol. app dev for facebook hates ios and android. though the fb for android does suck(doesn't have half the things ios version has) but its still better then nothing. fb app is pretty buggy so not surprised that it would take up so much juice.
You could also use watchdog and kill Facebook if it's the culprite. It will also tell you if something else is to blame.
Sent from my GT-I9000M using XDA App
I think that Facebook is the culprit. At least for me it was. I was sitting at android system using ~35% and once I logged out of the Facebook app I checked back about 5 or so hours later and it went down to 12% or so.
But i like that FB app only thing I disliked was getting sent to the web when checking notifications. Maybe social scope will alleviate that
It's looking to me that Facebook was using a decent chunk of battery. Android system is down to 19% for me today after signing out of facebook. I've been listening to music all morning too so thats probably why its still high-ish.
When I get home from work I'm going to monitor my battery again and see if the e-mail app is still using up battery.
If someone else has logged out of facebook and saw battery usage go down, then I think it is safe to say that the app is buggy.
wow... so are you telling me my battery life will go from 12+ hours to 16-17 if i log out of facebook? YOWZERS
When I posted this thread yesterday I was at 24% at 3pm. Right now, at 1pm after logging out of facebook last night and unplugging this morning at the exact same time, my battery is at 68%. I have been listening to music all morning too, browsing the web periodically, and I got a few short phone calls. So unless my battery life tanks 40% in the next 2 hours, I think that being logged in to facebook definitely seems to be eating up battery on the G2.
My testing is hardly scientific, though. But I have had the phone unplugged for 6 hours and 40 minutes and im only down to 68%. Not bad at all.
Someone else should try testing a day logged in to facebook (with notifications, syncing, and refresh all off) and a day logged out of facebook.
edit: also, my Android System is down to 15%. much better.
What about the Twitter app?
And turning off background data won't stop Facebook from draining battery?
joebobjoe said:
What about the Twitter app?
And turning off background data won't stop Facebook from draining battery?
Click to expand...
Click to collapse
I'm not sure, I don't use twitter. And I haven't tried turning off background data, I'm trying to narrow down my battery issues to an application specific level. I'd rather turn off facebook for being a battery hog than turn off all of my background data.
pmstc said:
Someone else should try testing a day logged in to facebook (with notifications, syncing, and refresh all off) and a day logged out of facebook.
Click to expand...
Click to collapse
Am testing that one out. However, I have just the syncing on but I don't think that syncs constantly. We'll see how my phone fares with that setting I have now with notifications and refresh both being off but still logged on the Facebook app. My phone averages around 10-12 hours per charge even with using Trillian and AndChat and quite a copious amount of texting during the event hours. I changed the Facebook settings last night. We'll see how the day goes with the battery.
For me, just turning off notifications and refresh didn't help battery life. I had everything turned off and it was still draining battery (what it was doing? I have no clue... shouldn't have been doing anything.. I think the application has a bug)
Loged off Fb and twitter and the battery lasted all day no problems! Also turned off GPS seeing as I rarley use google maps and now very happy with my G2 batt. Thx!
fRom Snugs G2 ^.^
Snuggl3s said:
Loged off Fb and twitter and the battery lasted all day no problems! Also turned off GPS seeing as I rarley use google maps and now very happy with my G2 batt. Thx!
fRom Snugs G2 ^.^
Click to expand...
Click to collapse
Me too. Getting great battery life now!

[Q] Battery drain from Android OS, suspend, and event/0

I know this issue has been posted in forums for other devices, but I haven't seen anything about it for NC. I did try to search the NC forums but couldn't find anything that seemed to address this problem.
I am using MIUI 1.7.22. I have noticed significant battery drain due to Android OS (in battery stats), suspend (in the systempanel app), and event/o (also in systempanel). I have disabled auto-sync and any apps that appear to be likely culprits (those that might attempt to download data). This problem seems to appear with wifi on or off, and when on, I have tried both setting it to never turn off and to turn off when the screen is off. Initially I was experiencing battery drain due to cell standby, which I took care of by disabling the telephony provider, phone, and mms apks. I know many don't believe this has an effect, but I did it anyway. The cell standby drain is gone, but now I'm fighting the drain due to these other factors. Has anyone found a fix for this?
After scouting around for info, I have tried some suggestions seen elsewhere: rebooting and wiping dalvik cache. So far today I haven't had any Android OS, etc. issues. Standby life with screen off is as it should be (for now and hopefully forever)--very slow battery drain.
This is with wifi set to never shut off, which I prefer.
Suspend etc. came back last night although not as extreme as before. Hopefully some other folks will have things to add to this thread. I will continue posting progress info as I learn more about this.
From the code.google.com forums:
Confirm heavy battery drain with enabled Location & Security -> Use wireless networks / Use GPS satellites. I've disable both options and now my battery life is normal.
With enabled "Location & Security" options battery eaten by "Android OS" process (about 40-55%).
I will try this and report back.
Disabling WIFI and GPS in location/security had no effect. There appears to be a google process that prevents the system from sleeping.
I was still experiencing random battery drain due to Android OS, suspend, event/0 after switching to cm7. One suggestion I read was to disable calendar sync, as this appears to be a runaway process that attempts to connect to the server constantly without allowing the device to sleep. Doing this allowed me to get through the night with very little drain and the Android OS, etc. processes were finally behaving (within normal limits).
I'm not sure if anyone is reading this thread but I will continue to update until I figure out the solution, as I imagine this problem will become more noticeable to others who are equally frustrated with this issue.
Having same problems on my galaxy s2. Lots of people have this problem and think it's a problem with the os. What os version are you using?
memphisuklf said:
Having same problems on my galaxy s2. Lots of people have this problem and think it's a problem with the os. What os version are you using?
Click to expand...
Click to collapse
Right now I'm using cm7 (2.3.5) but I was using MIUI before. Turning off calendar sync has worked well so far.
I had bad battery drain in the past and no deep sleep. but what worked for me was not to use any live wall paper. this fixed my deep sleep issues. for the battery drain, re-set your battery stats and re boot a couple of times for the stats to settle down. also check google map and latitude. in latitude just log out. un-checking sync in my yahoo email app also helped with my battery drain. my wifi is set at, off with screen. I went from 20 -30% drain in 7hrs to now 1-3% in 7hrs
I hope any of this info can help
cm7 n146
Thank you, boxcar. I had tried all of those things (froze live wallpaper, reset battery stats, reboot, froze maps and latitude) but the only thing that worked for me was unchecking the box for calendar sync. Email sync and wifi appear to be non-issues--no difference between off or on. Evidently this google calendar sync bug is a known issue (that very few people seem to know about!). I hope google will fix this soon.
I also have same problem on my Galaxy S2. These two(events/0, suspend) drain many battery, 14% one night, without WIFI, GPS, Bluetooth.
I'll keep on tracing this issue, and share the result in this thread.
arrowliu123 said:
I also have same problem on my Galaxy S2. These two(events/0, suspend) drain many battery, 14% one night, without WIFI, GPS, Bluetooth.
I'll keep on tracing this issue, and share the result in this thread.
Click to expand...
Click to collapse
Turning off autosync seems to help the most (although setting WIFI to turn off when the screen turns off appears to help, as well). I tried using an autosync toggle but just turning it on at all seemed to result in a gradual creeping up of the Android OS, etc. problems. Manual sync of calendar and perhaps gmail and contacts seems to be the way to go. For some reason, exchange mail set to push results in no problems. The other trick I've found is to go to applications, then calendar and calendar storage, and force stop, delete cache, and THEN manual sync of calendar (reboot, recovery, wipe dalvik, fix permissions are good ideas, too). When I flash nightlies, I go through this process and the offending processes work as they should. If I don't, problems appear sooner or later.
I've had my nook on for 9 hours now, WIFI on (off with screen off) and 30 minutes of display on time. I've lost 9%, so I think I'm on the right track. This is how it should work, I.think. Of course, the results SHOULD be the same with autosync on, but manual sync for good battery life is an acceptable small tradeoff in my opinion.
Sincitybronze said:
I've had my nook on for 9 hours now, WIFI on (off with screen off) and 30 minutes of display on time. I've lost 9%, so I think I'm on the right track. This is how it should work, I.think. Of course, the results SHOULD be the same with autosync on, but manual sync for good battery life is an acceptable small tradeoff in my opinion.
Click to expand...
Click to collapse
For the noobs in the audience, how exactly does one turn off autosync? Where is it located?
Thanks in advance.
Puddynose said:
For the noobs in the audience, how exactly does one turn off autosync? Where is it located?
Thanks in advance.
Click to expand...
Click to collapse
Menu, settings, accounts and sync (I leave background data checked).
I found part of the root cause, maybe some old application - can work on new version, but drain many battery. Today I uninstalled the 'Android photo widget', then only 1% battery has been drained within 2 hours when standby. Not totally solved the issue, but seems OK.
I guess you can also try this, find another 'bad' application which drains your battery.
Well guys, I'm not sure if I'm the last Nook Color user to continue fighting with this super annoying headache (I know SGS2 users are, too), but I think I'm on to something. I thought calendar sync was the culprit (and perhaps it was), but the Android OS drain (featuring nemeses suspend and event/0) would not go away and the arrival of this problem continued to be (apparently) random. I had an idea that, if the calendar sync kept alternating between suspend and event/0, perhaps this was due to old events that caused the sync process to continue longer than it would normally. So, based on this idea and logic, I changed my exchange e-mail account settings to sync email from the last month rather than to sync all mail. Looking at my work e-mail history, I realized I had e-mails in various folders and sent mail from as far back as 2001! Although it's nice to be able to access all e-mail history, perhaps the polling services were constantly monitoring the activity of super old emails and folders, which caused the suspend and event/0 processes to flip out. I don't know if this is the way Android actually works but it seemed logical to me. Well, for the last 24 hours, I have intermittently checked my cpu activity through systempanel, and what do you know, when the device is not being used, suspend and event/0 work as they are supposed to and Android OS stays low in the battery % list. PLEASE let this be the fix! I know there are other factors that contribute to the acting out of these processes, but on a stripped down device with no autosync or widgets and no out of control services identified in systempanel or watchdog, there can't be many other explanations. I'm curious if others with this problem have similar settings on their email accounts. In all the forums on different sites (and I've read a ton of them), I've never seen anything like this mentioned.
http://code.google.com/p/android/is...c=ID Type Status Owner Summary Stars&id=16721
Please vote there, and, may be, Google will fix it.
For those still following this thread, here's a tip. Use Gemini app manager (in the market). This has been one of the best tools I've found for managing wakelock issues and battery drain during standby. It allows you to identify apps that start up on their own (more than you think) and prevent them from starting randomly. In my experience this has been a huge cause of the standby drain problem showing up as Android OS, suspend, and event/0 in battery monitors. I'm currently sitting on 81% battery remaining with over 1 hour of screen time after 21 hours since my last charge. I know it's not a lot of usage but it's the standby time that's fantastic.
boxcar8028 said:
I had bad battery drain in the past and no deep sleep. but what worked for me was not to use any live wall paper. this fixed my deep sleep issues. for the battery drain, re-set your battery stats and re boot a couple of times for the stats to settle down. also check google map and latitude. in latitude just log out. un-checking sync in my yahoo email app also helped with my battery drain. my wifi is set at, off with screen. I went from 20 -30% drain in 7hrs to now 1-3% in 7hrs
I hope any of this info can help
cm7 n146
Click to expand...
Click to collapse
I've a Galaxy S2. Tried everything, except disable autosync. Was losing 30-40% battery at night. So far since turning off google sync I'm getting about <1% battery use an hour. Will see if it continues. Thanks.

[Q] Group Play draining battery?

Yesterday evening I noticed the Group Play app in an odd position on my battery page. I don't remember it being #1 on the chart. The usual is the screen as #1 power consumer, then maybe a few apps and the OS. I did as little as open the app, then I exited. I even force closed it once. I slept the night with the phone connected to the charger and when I woke up it was still there. 4 hours after I woke up it's still #1.
What's going on here? I detect a very small battery drain, though it might just be placebo... BetterBatteryStats doesn't show anything unusual. Anyone else have Group Play behaving oddly?
Tozenator said:
Yesterday evening I noticed the Group Play app in an odd position on my battery page. I don't remember it being #1 on the chart. The usual is the screen as #1 power consumer, then maybe a few apps and the OS. I did as little as open the app, then I exited. I even force closed it once. I slept the night with the phone connected to the charger and when I woke up it was still there. 4 hours after I woke up it's still #1.
What's going on here? I detect a very small battery drain, though it might just be placebo... BetterBatteryStats doesn't show anything unusual. Anyone else have Group Play behaving oddly?
Click to expand...
Click to collapse
I've had the same about a week ago. After installing some updates in the samsung store the problem was solved. Check if there are any updates and wait a few days.
Thanks, I'll try that out! I'll post back if it solved my issue.
I'm having trouble finding any updates for Group Play, but I'll keep looking.
There is definitely a decrease in battery life. I've used the phone a lot, but the battery should be no less than 30-40%. It's 15% now.

Inexplicable battery drop; no distinct partial wakelocks.

When keeping my phone on idle during the night, it dropped by around 30%.
I have installed BetterBatteryStats.
The largest user of the battery is "Android OS", according to the battery graph in the settings menu. However, in BBS, the largest partial wakelock is Connectivity Service, which was on for only ~6 minutes.
However, under CPU states, it says that the CPU was idling at 250 MHz for many hours?
This is undoubtedly some sort of phantom battery drain. It has occured for many weeks during the use of the phone.
In addition, with 'Wakelock Detector', it too says that the largest wakelock is usually for around 6 minutes, by Facebook more often that not. However, the total stats say that the phone was awake the entire time, and it has not entered Deep Sleep at all.
I would greatly appreciate your help and tips. Thanks
cald said:
When keeping my phone on idle during the night, it dropped by around 30%.
I have installed BetterBatteryStats.
The largest user of the battery is "Android OS", according to the battery graph in the settings menu. However, in BBS, the largest partial wakelock is Connectivity Service, which was on for only ~6 minutes.
However, under CPU states, it says that the CPU was idling at 250 MHz for many hours?
This is undoubtedly some sort of phantom battery drain. It has occured for many weeks during the use of the phone.
In addition, with 'Wakelock Detector', it too says that the largest wakelock is usually for around 6 minutes, by Facebook more often that not. However, the total stats say that the phone was awake the entire time, and it has not entered Deep Sleep at all.
I would greatly appreciate your help and tips. Thanks
Click to expand...
Click to collapse
You could try ds battery saver from Google play i use it and loose about 3% over night 7 hours
Yeah this looks weird.
I'm no BBS expert, but what I would do is, disable everything. Weather widgets and so on, Facebook sync and whatever else you have syncing in the background. Basically make it a dumb phone temporarily by disabling all the stuff you have running.
Then reboot and let it sit for an hour without touching it.
Check BBS again, choose "since boot" and look for partial wakelocks and battery consumption.
If it seems OK, turn something back on, for example add a weather widget and enable Facebook sync again. Don't enable too many things, just one or two! Reboot. Let it sit for an hour without touching it. Check BBS again. If the result now is again worse than it was before, you know that something you just added or enabled is causing the drain.
If everything seems OK, enable something else, whatever it may be - an RSS reader syncing, Instagram, Flipboard, Skype - I don't know what you have on your phone. Reboot and let it sit, check BBS again.
10 hours of WiFi on and WiFi running. There's your phantom drain.
Let me guess, you have scanning enabled in Wifi settings?
jaythenut said:
You could try ds battery saver from Google play i use it and loose about 3% over night 7 hours
Click to expand...
Click to collapse
Kiahnlliya said:
Yeah this looks weird.
I'm no BBS expert, but what I would do is, disable everything. Weather widgets and so on, Facebook sync and whatever else you have syncing in the background. Basically make it a dumb phone temporarily by disabling all the stuff you have running.
Then reboot and let it sit for an hour without touching it.
Check BBS again, choose "since boot" and look for partial wakelocks and battery consumption.
If it seems OK, turn something back on, for example add a weather widget and enable Facebook sync again. Don't enable too many things, just one or two! Reboot. Let it sit for an hour without touching it. Check BBS again. If the result now is again worse than it was before, you know that something you just added or enabled is causing the drain.
If everything seems OK, enable something else, whatever it may be - an RSS reader syncing, Instagram, Flipboard, Skype - I don't know what you have on your phone. Reboot and let it sit, check BBS again.
Click to expand...
Click to collapse
Thanks for the detailed advice. I'll disable everything, reboot, and then keep it for the night. And I'll install DS Battery Saver.
ShadowLea said:
10 hours of WiFi on and WiFi running. There's your phantom drain.
Let me guess, you have scanning enabled in Wifi settings?
Click to expand...
Click to collapse
Nope, I'm afraid not.
UPDATE
I did as you advised before, disabling everything. The drop over the night was only 10% this time, but this inexplicable drop persists nevertheless.
I had the same thing happening yesterday night. When my phone is drained, I usually charge it in the evening, reboot and then let it sit for about 5-6 hrs with everything except NFC off. Normally, I have a battery drop within those 5-6 hrs of about 1-3%. But yesterday morning after the same procedure, I had lost 30%. I did a reboot then and battery usage went back to normal. So I charged my phone yesterday night and did a reboot, and surely enough I only had 1-3% of battery lost over night. Strange.

Lollipop battery drain

I got the German 5.0.1
IS it only me or is it general with the battery drain?
Even in Flight Mode, I am losing the battery in a couple of hours
#dissapointed
me too.
i'm trying to find out a fix...
miketrevis said:
me too.
i'm trying to find out a fix...
Click to expand...
Click to collapse
Hello everyone, two days ago i downgrade to kitkat, I decide to re-put Lollipop because I'm documenting on various forums Italian and foreign, and this drain the battery does not have all .... well for my case I installed the GSAM Battery Monitor from Play Store that seems to work well with Lollipop. I left the phone idle and discovered that the deep sleep has never been reached. The phone was always active, even when locked.
GSAM has reported that the app "Unified Daemon (EUR)" was among the top three applications that consume battery.
According to various forums is a preloaded application from Samsung that unifies information like weather across other applications preloaded. I really do not know what good has this application.
I tried to turn it off, and in fact the phone goes into deep sleep with consequent consumption "standard" like KitKat.
The downside of disabling this app is that you lose the weather from the lock screen and through the window of the cover S-view, while the widget on the home seems to work perfectly.
Obviously there is to say that others should do the same test and see if this app will appear among the first applications to battery consumption.
A greeting
disable Facebook app (use web version) and turn off wifi when not being used. My battery usage has transformed! See other thread....70% after 10 hours. 56% after 13 hrs! Lollipop is buggy. Manage wifi manually and you're battery will be awesome.
bonerp said:
disable Facebook app (use web version) and turn off wifi when not being used. My battery usage has transformed! See other thread....70% after 10 hours. 56% after 13 hrs! Lollipop is buggy. Manage wifi manually and you're battery will be awesome.
Click to expand...
Click to collapse
^^^^this^^^^ . Me too. Disabled damn Facebook and it a few Google apps and I'm back to normal. The main culprit is the stupid Facebook. To make easy access of it from Web just make a shortcut on your desktop.
I will leave wifi on today regardless of whether or not it is connected and see if things get warm / battery usage ramps up. If it doesn't it might indicate an issue with FB alone or at least prove whether or not wifi is stopping the phone from going into deep sleep after a period of non use. Yesterday having left FB and wifi off, resulted in 40% battery remaining after 16 hrs usage. It never got hot once. This is my yard stick.
Lots of users are having issues with the latest update to facebook - just look at the comments on the play store!
Anyone else been having high battery usage but are not users of FB app on lollipop?
miketrevis said:
me too.
i'm trying to find out a fix...
Click to expand...
Click to collapse
@gasland Here is what i did.
I uninstalled
Facebook, Facebook pages, Facebook messenger and com.facebok."something"....
I removed everything that had the name "facebook" and rebooted my device.
Battery has been okay since then.
Ps: I also froze "unified demon" as I don't use either of the weather services or finances or all that crap.
Sent from my SM-N910F using Tapatalk

Categories

Resources