How could i stop these services making wakelocks? - Galaxy S II Q&A, Help & Troubleshooting

i charged my phone to 100% then unplugged it and get sleep (wifi and data is turned OFF)
after i wake up, i found 94% of battery and checked betterbatterystats found these services making wakelocks
=========
Wakelocks
=========
LocationFriendService (com.google.android.apps.maps.Maps): 16 m 28 s (988 s) Count:1852 3.5%
BackgroundFriendService (com.google.android.apps.maps.Maps): 1 m 42 s (102 s) Count:471 0.4%
AlarmManager (Android System): 1 m 14 s (74 s) Count:1349 0.3%
*network-location* (com.anddoes.fancywidget.pro.Fancy Widget Pro): 32 s (32 s) Count:12 0.1%
NetworkLocationLocator (com.google.android.apps.maps.Maps): 15 s (15 s) Count:464 0.1%
3gdog.Service (net.rgruet.android.g3watchdogpro.3G Watchdog Pro): 12 s (12 s) Count:1 0.0%
*network-location* (Android System): 7 s (7 s) Count:33 0.0%
FacebookService (com.facebook.katana.Facebook): 4 s (4 s) Count:21 0.0%
backupdb (com.whatsapp.WhatsApp): 3 s (3 s) Count:1 0.0%
NLP PendingIntent client in com.google.android.apps.maps (com.google.android.apps.maps.Maps): 3 s (3 s) Count:1397 0.0%
NetworkLocationCallbackRunner (com.google.android.apps.maps.Maps): 3 s (3 s) Count:933 0.0%
Event Log Service (Google Services): 2 s (2 s) Count:32 0.0%
ActivityManager-Launch (Android System): 1 s (1 s) Count:29 0.0%
================
i've attached full detail and graph image below this posts
my curiuos are:
- the map services like locationFriend, backgroundFriend are running even my data is turned off?
- i setup no alarm, but why AlarmManager is making wakelock??
- i've got Kernel Wakelocks from PowerManagerService for 21m, 1102 counts. Which services are running this wakelock?
thx

For the maps wakelocks, the culpit is Google Latitude. In your Latitude Settings you have to see what is making Latitude check your location frequently. In mine, I set it to do not report location. I also signed out of Latitude when I don't use it.
Another thing, under you Location and Security Settings, disable Use wireless networks when you don't need. I always disable it and enable it when I access the maps my self.
As for the Alarm, not having an alarm set doesn't mean it will not wakelock your phone. You need to make sure that all alarms are disabled. Depending on the ROM you have, the Alarm manager is known to be a battery hog.
For the other services you have, facebook etc... double check you location settings on these,how often they update and the syncs.
To answer you other questions:
- the map services like locationFriend, backgroundFriend are running even my data is turned off? -- Make sure you have Use wireless network to off and you sign out from Latitude.
- i setup no alarm, but why AlarmManager is making wakelock?? Answered above.
- i've got Kernel Wakelocks from PowerManagerService for 21m, 1102 counts. Which services are running this wakelock? This really depends on how you set your phone sleep policy. Its not a specific settings but a bunch of them that can affect the sleep of your phone...like wifi policy, sync services, location services, background processes, CPU profiles if you have them, Tasker or Locale if you use these apps...
You can minimize Data access while your phone is sleeping by disabling Background Data. Apps will have data access when you open them only...But that might be too restrictive if you need apps to work in certain automated way....
Also there is specific wakelock thread using the Betterbatterystats app, check it out:
http://forum.xda-developers.com/showthread.php?t=1179809
Hope that helps.

G+
Google+ is another great one for this and its one you seriously have to keep an eye on.
Ive disallowed 'automatic update' in the play store for it, and yet it still automatically updates.
And when it automatically updates, it automatically resets your sync options (i have them disabled)
So what ive been finding is that ill get a good week or so on my S3 with VERY good battery life, then suddenly the phone is chewing through 5% battery or so per hour.
First thing i do is check when G+ last updated. Its almost always because its a new update. That has re-enabled EVERY damn sync option that it can.

- i setup no alarm, but why AlarmManager is making wakelock??
Click to expand...
Click to collapse
AlarmManager is not for the alarm app. It is a combination of all apps that have "alarms" to wake up the phone.
- i've got Kernel Wakelocks from PowerManagerService for 21m, 1102 counts. Which services are running this wakelock?
Click to expand...
Click to collapse
This is a combination of all your partial wakelocks.
Check out this thread for more details and a much better explanation.
http://forum.xda-developers.com/showthread.php?t=1827676
At first glance I do not find anything wrong with your wakelocks except for the location friend service. Post your BBS log to the thread mentioned in the post above to make sure.
Woah didn't notice the date...this is old. Noticed the old version of BBS...

Use Titanium Backup.

MARCOSOFT said:
Use Titanium Backup.
Click to expand...
Click to collapse
"To err is human, to forgive is divine"
Sent from my SGS II

Related

[Q] Alarms from com.google.android.location

Over 800 alarms from com.google.android.location are observed in BBS overnight.
I know this can be solved by disabling location service, but is there a way that I can identify which apps are causing the alarms?
I have already turned off wifi/mobile data/auto sync.
Thanks:laugh:
Ask the question in this thread.
chamonix said:
[APP] [26 Aug - V1.10] BetterBatteryStats adds battery history back to Android
Click to expand...
Click to collapse
Sent from my Desire S

[Q] BetterBatteryStats 10030 (Mobile) Google Services. What is it?

Hi guys,
I am trying to improve the battery life in my Android phone (Samsung Galaxy SII, i9100, Cyanogenmod 10.1 nightly, 20130304).
I have BetterBatteryStats, and I have noticed that my top causes for Kernel wakelocks are by far "multipdp" and "secril_fd-interface".
When looking into the "Network" option to see what's triggering all those multipdp wakelocks, I consistently see the line "10030 (Mobile) Google Services" on top, with more than 1M consumed per day.
Does anyone know which Google service is that, and if so, how to disable it, or limit its wakelocks?
I have searched in the forums, but I have not found an answer.
Many thanks!

[Q] Google Services causing weird battery drain

After installing BetterBatteryStats, I've gotten a better look at the wakelock draining the battery. After gathering stats for 25-30 minutes, the following wakelock is the top user:
GTALK_ASYNC_CONN_com.google.android.gsf.gtalkservice.AndroidEndpoint (Google Services)
The drain remains at about 10% per 1 hours.
How can I solved it?
HELP ME! THANK you
jiezhang0518 said:
After installing BetterBatteryStats, I've gotten a better look at the wakelock draining the battery. After gathering stats for 25-30 minutes, the following wakelock is the top user:
GTALK_ASYNC_CONN_com.google.android.gsf.gtalkservice.AndroidEndpoint (Google Services)
The drain remains at about 10% per 1 hours.
How can I solved it?
HELP ME! THANK you
Click to expand...
Click to collapse
If you don't use talk/talkback, then you can disable them in system settings - apps or delete them from the system/app folder.
Verstuurd van mijn GT-I9100
jiezhang0518 said:
After installing BetterBatteryStats, I've gotten a better look at the wakelock draining the battery. After gathering stats for 25-30 minutes, the following wakelock is the top user:
GTALK_ASYNC_CONN_com.google.android.gsf.gtalkservice.AndroidEndpoint (Google Services)
The drain remains at about 10% per 1 hours.
How can I solved it?
HELP ME! THANK you
Click to expand...
Click to collapse
You are on stock rom right? Try to remove BetterBatteryStats and see battery. If it drain remove Gtalk app and reinstall from Google Play.

Wakelock Terminator and SMSDispatcher wakelock

Hy.
Since some couple of days ago, SMSDispatcher wakelock is bothering me, because doesn't let my phone go into deep sleep at all.
Its a partial wakelock, but I can't figure out what is triggering it. Here are some screenshots of BBS and Wakelock detector. Have tried to block it with Wakelock Terminator with several apps, android, phone, sms app, but I don't even know what to put exactly as app or service or whatever is that you write in Wakelock Terminator.
Help me please.

com.google.android.gms high drain

Since few days i see in betterbatterystats com.google.android.gms alarms 50% usage of battery, 40 wakeups per hour.
Why?
what should i do?
My device is in signature - samsung g900f s5 with marshmallow.
xtam said:
Since few days i see in betterbatterystats com.google.android.gms alarms 50% usage of battery, 40 wakeups per hour.
Why?
what should i do?
My device is in signature - samsung g900f s5 with marshmallow.
Click to expand...
Click to collapse
Get Amllify pro and limit as u want.

Categories

Resources