Related
So i know i might get some flak from Mr.Clown but since i have gotten 0 responses on my last post. I figure the only way to get the attention needed from the people i need attention from i have to post here in the general section.
So basically my phone, like many others, is having an issue with phone idle, well did some work and reading and looked into my alarm manager stats and found that a process is draining my battery and probably many others too.
If someone could please look at the log and tell me if they see anything that is draining my battery and keeping the phone awake.
Code:
Alarm Stats:
com.motorola.devicestatistics
2563ms running, 1 wakeups
1 alarms: act=com.motorola.devicestatistics.APP_STATS_ALARM flg=0x4
39 alarms: act=com.motorola.batterymanager.wlmonitor.CHECK_STATUS flg=0x4
19 alarms: act=com.motorola.eventlogger.START_LOG flg=0x4
1 alarms: act=com.motorola.devicestatistics.CHECKIN_STATS_ALARM flg=0x4
1 alarms: act=com.motorola.batterymanager.wlmonitor.CHECKIN flg=0x4
com.google.android.gsf
4305ms running, 148 wakeups
79 alarms: flg=0x4
4 alarms: act=com.google.android.intent.action.GTALK_RECONNECT flg=0x4
65 alarms: act=com.google.android.intent.action.GTALK_HEARTBEAT flg=0x4
com.motorola.blur.service.storagemon
5408ms running, 0 wakeups
107 alarms: act=com.motorola.blur.service.blur.Actions.CHECK_STORAGE_USAGE f
lg=0x4
com.motorola.datacollection
2198ms running, 0 wakeups
40 alarms: act=com.motorola.datacollection.onehourtimer flg=0x4
com.android.vending
110ms running, 0 wakeups
[COLOR="Red"]4 alarms: act=com.android.vending.FORCE_UPDATE_CHECK flg=0x4
android
119954ms running, 316 wakeups
2 alarms: act=android.intent.action.DATE_CHANGED flg=0x4
1545 alarms: act=android.intent.action.TIME_TICK flg=0x40000004[/COLOR]
1 alarms: act=com.android.internal.location.ALARM_WAKEUP flg=0x4
2 alarms: act=com.motorola.wifi.MotWifiScan.action.CHANGE_SCAN_FREQ flg=0x4
212 alarms: act=com.android.server.ThrottleManager.action.POLL flg=0x4
1 alarms: act=android.appwidget.action.APPWIDGET_UPDATE flg=0x4
36 alarms: act=com.android.internal.policy.impl.PhoneWindowManager.DELAYED_K
EYGUARD flg=0x4
276 alarms: act=android.content.syncmanager.SYNC_ALARM flg=0x4
com.motorola.blur.datamanager.app
44ms running, 0 wakeups
2 alarms: act=com.motorola.blur.datamanager.app.checkin.timeout flg=0x4 cmp=
com.motorola.blur.datamanager.app/.DataManagerCheckinService
com.motorola.batterymanager
296ms running, 0 wakeups
1 alarms: act=android.intent.action.batteryprofile.CHK_ALRM flg=0x4
1 alarms: act=android.intent.action.batteryprofile.DATA_ALRM flg=0x4
4 alarms: act=android.intent.action.batteryprofile.DATA_CHECK flg=0x4
com.motorola.kpilogger
1109ms running, 0 wakeups
19 alarms: act=com.motorola.kpilogger.START_LOG flg=0x4
com.google.android.apps.maps
2942ms running, 137 wakeups
94 alarms: flg=0x4 cmp=com.google.android.apps.maps/com.google.googlenav.pre
fetch.android.PrefetcherService
43 alarms: flg=0x4 cmp=com.google.android.apps.maps/com.google.googlenav.fri
end.android.BackgroundFriendService
com.motorola.blur.service.blur
114ms running, 5 wakeups
5 alarms: act=com.motorola.blur.service.blur.pm.alarmintent flg=0x4
com.motorola.blur.service.search
199ms running, 0 wakeups
2 alarms: act=com.motorola.blur.service.search.SCHEDULED_INDEXING_ACTION flg
=0x4
com.motorola.blur.alarmclock
2092ms running, 2 wakeups
2 alarms: act=com.motorola.blur.alarmclock.ALARM_ALERT flg=0x4
#
I believe the problem to be some where in the red code i highlighted.
cheers for your help!!
I suffer from a lot of partial wakelocks caused by AlarmManager as well and I would be very interested in tracking down what is causing it.
What log is that you have posted?
krkeegan said:
I suffer from a lot of partial wakelocks caused by AlarmManager as well and I would be very interested in tracking down what is causing it.
What log is that you have posted?
Click to expand...
Click to collapse
Its the AlarmManager log itself.
You can either use terminal to view the log on your phone or use cmd on your pc.
get into adb shell and type "dumpsys alarm"
the "AlarmManager Stats" is about half way down....thats where you can see the count #, how many times its woken up the phone and for how long its been in use more or less as i understand it.
I KNOW that it is something in AlarmManager because when i use betterbatterystats and i go to wakelocks and i hit refresh....the number count for AlarmManager just keeps going up every time i hit refresh!!! which means something is using it all the time!!
I have the same problem. When I freeze it then I get error logger usage up. Any fix?
Sent from my MB860 using XDA Premium App
There is definitely an issue with my atrix staying awake. I leave it for 8 hours while I sleep, and the battery graph shows near solid awake time and no screen time. Its done this every since I bought it. Definitely some wakelock bug by a moto service or similar.
is this a problem only present in gingerbread? Or was it also present in froyo as well?
I've had battery drain problems since updating to 2.3.4 using different roms and kernels.. I hope something comes out of this
Sent from my MB860 using XDA App
I've had battery issues every since Apps were invented. I need 5 apps to check my battery and processes, 2 apps to freeze like 30 things that I have NO CLUE wth they are for or what they do. ... .. ... ... .. . .Does anypne know what com.android truesuite or something like that is for? I seem to always see its running.
so i flashed an ATT radio "1.77.30p" and although the AlarmManager is still running, i have so far better battery life. So the phone has been running for 6 hours now with the new radio flash, and im at 91% where as before at the run time i would have probably about 60% or less. Keep in mind this is with VERY light usage...all i have done in the past 6 hours is check the battery usage...yes phone idle is still high....but that IS because i have not really been using it, i checked betterbatterystats a few times, made a phone call or 2 for like a minute each and sent a few text's...oh and checked xda with the app a few times..thats it...very light usage but at least its not draining at break neck speeds like it usually does.
I am still determined to solve this AlarmManager problem though...still hoping that a dev or someone that knows what they'er looking for might pop into this thread..
*fingers crossed*
Thanks for the update J-Roc, I'll try the radio and report back.
Sent from my MB860 using XDA App
I too have a similar issue.
m0biusace - Not sure if it was present in Froyo, but the battery use summary that was introduced in Gingerbread is what made people aware of the issue.
Phoneguy589 - com.authentec.TrueSuiteMobile is needed for the finger scanner.
There is a related discussion on Atrix Forums, but as a new user I can't link to it. If someone wants to link it, the thread title is "Phone Awake vs. Sleep Time (Phone rarely sleeps when not in use)"
Summary of issues that I believe are related:
1) Phone nearly always shows as awake, even during long periods of display off
2) AlarmManager is constantly receiving calls - appears to be for system use
3) Logs show repeated errors for NetlinkEvent and Netlinklistener
So I flashed the 1.77.30p radio and it looks promissing! I charged up the phone 3 hours ago and let the phone idle. I'm now at 97% charge left... I would have been around 85% with the previous radio. I don't remember which radio I had previously.. 1.77.15 or something like that. We'll see tomorrow if it's for real.
Ya my idle is still high sitting at 75% BUT its now been running for 20 hours on battery with more on the moderate side of usage and im only at 65%, looks like the new radio is helping but I think it could be even better
Sent from my MB860 using XDA Premium App
Pinch & Jroc, is the alarmmanager still as active triggering the wakelocks? Does the phone sleep more if you look at the bars under the battery graph?
i think i am having a similar problem. This morning my phone was off the charger for 8 hours and went down to 55% battery with only 20 minutes of display on time. I also saw long periods of the phone being awake without the screen being on. Is this new radio fixing this problem? If so could someone link the thread with it? Thanks
ElQuixote said:
Pinch & Jroc, is the alarmmanager still as active triggering the wakelocks? Does the phone sleep more if you look at the bars under the battery graph?
Click to expand...
Click to collapse
Well it is still active and appears to be draining battery however "event log service" has entered the picture as the lead in battery drainage as far as wake locks are concerned. Alarm manager being at about 26% and event log at about 28% or so. Im not really sure what to make of this but the radio has definitely helped in battery drainage.
I will a link to the radio which is a CWM flashable file when I get home
Sent from my MB860 using XDA Premium App
I took the radio file from the Alien rom post in the dev section. There's a download link near the middle of the first post. This is the link:
http://briefmobile.com/alien#downloads
I was starting to think my battery was going bad but this radio finally fixed it.
Sent from my MB860 using XDA App
So here is the radio i am using v1.77.30P: http://www.multiupload.com/ICVTP3FRGC
My battery usage stats are weird i've noticed...i have been using games, internet, other apps and so on and the only things showing in there are phone idle, cell standby and display. Phone idle being the highest consumer at 64%...my phone has now been off the charger for 1 day 5 hours and im at 40% left.
Any fix yet? BTW - Pinch - I have a hunch that you are thesmokingandroid. am I right?
Lol, that's right kartik
Sent from my MB860 using XDA Premium App
Hi guys
I need some help here. My nexus4 battery dies like crazy when it's in standby mode. Downloaded CPU spy and found out that the phone almost doesn't deep sleep and is always running at the lowest frequency. Downloaded Better Battery Stats and I cannot actually understand what is eating the battery but I am attaching the dump file. I factory reset, changed the kernel to Franco's but still nothing seems to work. Please advise.
===================
General Information
===================
BetterBatteryStats version: 1.11.0.0
Creation Date: 2012-11-22 03:34:06
Statistic Type: (3) Since Unplugged
Since 4 h 12 m 58 s
VERSION.RELEASE: 4.2
BRAND: google
DEVICE: mako
MANUFACTURER: LGE
MODEL: Nexus 4
OS.VERSION: 3.4.0-perf-ge039dcb
BOOTLOADER: MAKOZ10l
HARDWARE: mako
FINGERPRINT: google/occam/mako:4.2/JOP40C/527662:user/release-keys
ID: JOP40C
TAGS: release-keys
USER: android-build
PRODUCT: occam
RADIO: M9615A-CEFWMAZM-2.0.1700.33
Rooted: true
============
Battery Info
============
Level lost [%]: 21 Bat.: 21% (93% to 72%) [5.0%/h]
Voltage lost [mV]: 248 (4206-3958)
===========
Other Usage
===========
Wifi On (): 4 h 12 m 58 s (15178 s) Ratio: 100.0%
Wifi Running (): 4 h 12 m 58 s (15178 s) Ratio: 100.0%
No Data Connection (): 4 h 12 m 51 s (15171 s) Ratio: 100.0%
No or Unknown Signal (): 4 h 12 m 51 s (15171 s) Ratio: 100.0%
Awake (): 3 h 49 m 53 s (13793 s) Ratio: 90.9%
Deep Sleep (): 23 m 4 s (1384 s) Ratio: 9.1%
Screen On (): 1 m 26 s (86 s) Ratio: 0.6%
=========
Wakelocks
=========
NetworkLocationLocator (Google Services): 8 m 29 s (509 s) Count:762 3.4%
NetworkLocationPassiveCollector (com.google.android.apps.maps.Maps): 7 m 51 s (471 s) Count:103 3.1%
com.commonsware.cwac.wakeful.WakefulIntentService (com.rageconsulting.android.lightflow.Light Flow): 3 m 16 s (196 s) Count:14490 1.3%
AlarmManager (cloudtv.hdwidgets.HD Widgets): 2 m 31 s (151 s) Count:748 1.0%
AlarmManager (com.rageconsulting.android.lightflow.Light Flow): 1 m 45 s (105 s) Count:7246 0.7%
*sync*_com.google.android.apps.plus.content.EsProvider_Account {[email protected], type=com.google} (com.google.android.apps.plus.Google+): 1 m 21 s (81 s) Count:2 0.5%
SyncService (com.evernote.Evernote): 47 s (47 s) Count:8 0.3%
EntriesRefresh_wakelock (com.google.android.googlequicksearchbox.Google Search): 36 s (36 s) Count:49 0.2%
RILJ (Phone): 35 s (35 s) Count:920 0.2%
AlarmManager (Android System): 20 s (20 s) Count:1407 0.1%
FacebookService (com.facebook.katana.Facebook): 9 s (9 s) Count:4 0.1%
AudioOut_2 (1013): 9 s (9 s) Count:3 0.1%
NetworkLocationLocator (com.google.android.apps.maps.Maps): 9 s (9 s) Count:46 0.1%
com.ebay.mobile (com.ebay.mobile.eBay): 8 s (8 s) Count:506 0.1%
NetworkLocationCallbackRunner (Google Services): 8 s (8 s) Count:1519 0.1%
AlarmManager (Google Services): 7 s (7 s) Count:2370 0.1%
NetworkLocationCacheUpdater (com.google.android.apps.maps.Maps): 5 s (5 s) Count:105 0.0%
ActivityManager-Launch (Android System): 4 s (4 s) Count:1112 0.0%
AlarmManager (com.ebay.mobile.eBay): 4 s (4 s) Count:253 0.0%
LocationManagerService (Android System): 4 s (4 s) Count:1101 0.0%
AlarmManager (com.haz.prayer.My Prayer): 2 s (2 s) Count:128 0.0%
SMSDispatcher (Phone): 2 s (2 s) Count:42 0.0%
StartingAlertService (com.android.mms.Messaging): 1 s (1 s) Count:2 0.0%
AlarmManager (com.whatsapp.WhatsApp): 1 s (1 s) Count:12 0.0%
BBS_WAKELOCK_WHILE_SAVING_REF (com.asksven.betterbatterystats.BetterBatteryStats): 1 s (1 s) Count:2 0.0%
Event Log Service (Google Services): 1 s (1 s) Count:1527 0.0%
================
Kernel Wakelocks
================
"sns_async_ev_wakelock" (): 3 h 20 m 17 s (12017 s) Cntc/wc/ec)1845/0/0 78.2%
"msm_hsic_host" (): 53 m 39 s (3219 s) Cntc/wc/ec)1318/3/0 20.9%
"sns_periodic_wakelock" (): 53 m 28 s (3208 s) Cntc/wc/ec)6057/0/0 20.9%
"PowerManagerService" (): 28 m 41 s (1721 s) Cntc/wc/ec)10054/0/0 11.2%
"wlan" (): 7 m 54 s (474 s) Cntc/wc/ec)771/0/0 3.1%
"suspend_backoff" (): 7 m 19 s (439 s) Cntc/wc/ec)44/0/44 1.9%
"alarm_rtc" (): 3 m 14 s (194 s) Cntc/wc/ec)318/68/60 1.3%
"alarm" (): 2 m 7 s (127 s) Cntc/wc/ec)9734/2/0 0.8%
"radio-interface" (): 29 s (29 s) Cntc/wc/ec)24/0/0 0.2%
"power-supply" (): 21 s (21 s) Cntc/wc/ec)1452/-1/0 -39.7%
"smd_sns_dsps" (): 8 s (8 s) Cntc/wc/ec)46745/0/0 0.1%
"qmuxd_port_wl_9" (): 1 s (1 s) Cntc/wc/ec)11236/0/0 0.0%
"PowerManagerService.Broadcasts" (): (0 s) Cntc/wc/ec)2/0/0 0.0%
"KeyEvents" (): (0 s) Cntc/wc/ec)4637/0/0 0.0%
"qcril" (): (0 s) Cntc/wc/ec)39/0/0 0.0%
"mmc0_detect" (): (0 s) Cntc/wc/ec)1121/0/1 0.0%
======================
Alarms (requires root)
======================
com.rageconsulting.android.lightflow (): Wakeups: 7245
Alarms: 1, Intent: -1
Alarms: 6056, Intent: -3
com.google.android.location (): Wakeups: 766
Alarms: 1, Intent: com.google.android.location.nlp.ALARM_WAKEUP_CACHE_UPDATER
Alarms: 765, Intent: com.google.android.location.nlp.ALARM_WAKEUP_LOCATOR
com.ebay.mobile (): Wakeups: 257
Alarms: 257, Intent: com.ebay.mobile.service.DO_POLL
Alarms: 0, Intent: com.ebay.mobile.service.SET_PREFERENCES
Alarms: 0, Intent: com.ebay.mobile.service.POLL_SAVED_SEARCH
com.google.android.apps.maps (): Wakeups: 43
Alarms: 0, Intent: com.google.android.apps.maps.nlp.ALARM_WAKEUP_SENSOR_UPLOADER
Alarms: 4, Intent: com.google.android.apps.maps.nlp.ALARM_WAKEUP_PASSIVE_COLLECTOR
Alarms: 0, Intent: com.google.android.apps.maps.nlp.ALARM_WAKEUP_S_COLLECTOR
Alarms: 36, Intent: com.google.android.apps.maps.nlp.ALARM_WAKEUP_LOCATOR
Alarms: 1, Intent: com.google.android.apps.maps.nlp.ALARM_WAKEUP_CALIBRATION_COLLECTOR
Alarms: 2, Intent: com.google.android.apps.maps.nlp.ALARM_WAKEUP_CACHE_UPDATER
com.android.phone (): Wakeups: 42
Alarms: 42, Intent: com.android.internal.telephony.gprs-data-stall
com.google.android.gsf (): Wakeups: 25
Alarms: 0, Intent: com.google.android.intent.action.GTALK_RECONNECT
Alarms: 0, Intent: com.google.android.intent.action.SEND_IDLE
Alarms: 16, Intent: com.google.android.intent.action.MCS_HEARTBEAT
com.google.android.googlequicksearchbox (): Wakeups: 25
Alarms: 0, Intent: send_events
Alarms: 8, Intent: com.google.android.apps.sidekick.REFRESH
Alarms: 17, Intent: com.google.android.apps.sidekick.calendar.CalendarIntentService.UPDATE_CALENDAR_ACTION
com.viber.voip (): Wakeups: 25
Alarms: 25, Intent: com.viber.voip.action.KEEP_ALIVE_RECEIVE
android (): Wakeups: 13
Alarms: 257, Intent: android.intent.action.TIME_TICK
Alarms: 9, Intent: com.android.server.action.NETWORK_STATS_POLL
Alarms: 26, Intent: com.android.server.ThrottleManager.action.POLL
Alarms: 9, Intent: android.appwidget.action.APPWIDGET_UPDATE
Alarms: 4, Intent: android.content.syncmanager.SYNC_ALARM
com.yahoo.mobile.client.android.mail (): Wakeups: 5
Alarms: 0, Intent: com.yahoo.android.push.Connection_Watchdoghassan_basheermail
Alarms: 5, Intent: com.yahoo.android.push.Timer_VitalizeSessionhassan_basheermail
com.google.android.apps.plus (): Wakeups: 4
Alarms: 0, Intent: com.google.android.apps.plus.content.cleanup
Alarms: 4, Intent: com.google.android.apps.plus.content.sync
Alarms: 0, Intent: com.google.android.apps.plus.NEW_PICTURE
com.whatsapp (): Wakeups: 1
Alarms: 1, Intent: ALARM_ROTATE_LOGS
Alarms: 18, Intent: ALARM_ACTION
======================
Network (requires root)
======================
1016 (Wifi) (1016): 4.0 MBytes 51.4%
0 (Wifi) (0): 1.0 MBytes 20.6%
10052 (ppp0) (com.google.android.apps.plus.Google+): 630.0 KBytes 7.4%
10139 (ppp0) (com.facebook.katana.Facebook): 544.0 KBytes 6.4%
0 (ppp0) (0): 511.0 KBytes 6.0%
10145 (ppp0) (com.ebay.mobile.eBay): 146.0 KBytes 1.7%
10118 (ppp0) (com.facebook.orca.Messenger): 111.0 KBytes 1.3%
10120 (ppp0) (com.yahoo.mobile.client.android.mail.Mail): 100.0 KBytes 1.2%
10060 (ppp0) (com.google.android.googlequicksearchbox.Google Search): 93.0 KBytes 1.1%
10023 (ppp0) (Google Services): 91.0 KBytes 1.1%
10142 (ppp0) (com.evernote.Evernote): 51.0 KBytes 0.6%
10039 (ppp0) (com.google.android.apps.maps.Maps): 39.0 KBytes 0.5%
10022 (ppp0) (com.google.android.gm.Gmail): 17.0 KBytes 0.2%
10079 (ppp0) (com.whatsapp.WhatsApp): 14.0 KBytes 0.2%
10081 (ppp0) (com.viber.voip.Viber): 10.0 KBytes 0.1%
10010 (ppp0) (com.android.chrome.Chrome): 6.0 KBytes 0.1%
10128 (ppp0) (cloudtv.hdwidgets.HD Widgets): 5.0 KBytes 0.1%
10067 (ppp0) (com.google.android.youtube.YouTube): 4.0 KBytes 0.1%
10075 (ppp0) (com.asksven.betterbatterystats.BetterBatteryStats): 4.0 KBytes 0.1%
0 (Mobile) (0): 848.0 Bytes 0.0%
==========
CPU States
==========
384 MHz (): 3 h 25 m 6 s 80.0%
486 MHz (): 29 s 0.2%
594 MHz (): 26 s 0.2%
702 MHz (): 14 s 0.1%
810 MHz (): 18 s 0.1%
918 MHz (): 14 s 0.1%
1.03 GHz (): 2 m 19 s 0.9%
1.13 GHz (): 9 s 0.1%
1.24 GHz (): 4 s 0.0%
1.35 GHz (): 4 s 0.0%
1.46 GHz (): 6 s 0.0%
1.51 GHz (): 23 m 35 s 9.2%
Deep Sleep (): 23 m 4 s 9.0%
==================
Reference overview
==================
Custom: Reference custom_ref created 0 s (Wl: null; KWl: null; NetS: null; Alrm: null; Proc: null; Oth: null; CPU: null)
Since charged: Reference since_charged_ref created 0 s (Wl: null; KWl: null; NetS: null; Alrm: null; Proc: null; Oth: null; CPU: null)
Since screen off: Reference since_screen_off created 2 h 8 m 37 s (Wl: 1 elements; KWl: 22elements; NetS: 61 elements; Alrm: 15 elements; Proc: 0 elements; Oth: 7 elements; CPU: 13 elements)
Since unplugged: Reference since_unplugged_ref created 2 h 8 m 34 s (Wl: 0 elements; KWl: 22elements; NetS: 61 elements; Alrm: 15 elements; Proc: 0 elements; Oth: 7 elements; CPU: 13 elements)
Since boot: Reference since_boot created 1 m 5 s (Wl: 0 elements; KWl: 0elements; NetS: 11 elements; Alrm: 2 elements; Proc: 0 elements; Oth: 0 elements; CPU: 13 elements)
Sent from my Nexus 4 using xda premium
Forgot to mention that when I checked the battery Stats page, Android os was eating 70% of the battery
Sent from my Nexus 4 using xda premium
I did not go through all your stats but you must have some apps running and or auto syncs. go into apps under running.. see what is there.
If you have a ton of background apps/processesnrunning your battery will take a beating for sure. Check ask your settings and app settings to make sure they are not syncinbg often.
Disable GPS...turn down brightness.. Check your widgets too
sent via xda premium with nexus 7
http://forum.xda-developers.com/showthread.php?t=1387243
http://forum.xda-developers.com/showpost.php?p=13247149&postcount=57
Richieboy67 said:
I did not go through all your stats but you must have some apps running and or auto syncs. go into apps under running.. see what is there.
sent via xda premium with nexus 7
Click to expand...
Click to collapse
Thx for your help. Done that. It is something running in the background but can't tell what it is. Used titanium backup to freeze all the apps but no luck. As I mentioned it only shows Android os in the battery page, no other details.
Sent from my Nexus 4 using xda premium
sona911 said:
Thx for your help. Done that. It is something running in the background but can't tell what it is. Used titanium backup to freeze all the apps but no luck. As I mentioned it only shows Android os in the battery page, no other details.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Did you try turning off yahoo? Yahoo mail? It appears to be running full out almost..I had those and ended up removing because they were killing my battery.. I had all of them, messenger, mail and the yahoo asp.. Removed them all..
If you are still having an issue after the holiday I will go through your stats mor thoroughly to see what is running but would also ask you for some further stats too.. if needed though I will help more then. Too tired now.
sent via xda premium with nexus 7
Lol at all the frowny faces in the first post. Maybe you should wrap
Code:
tags around it? :p
jacklebott said:
Lol at all the frowny faces in the first post. Maybe you should wrap
Code:
tags around it? :p[/QUOTE]
well, it takes more energy to frown than it does to smile
on other words, if you want to test, restore the phone to stock, turn off all syncing. then post up new stuff, see if its still happening
this means if you log into your google account, no syncing, disable all background data and all that jazz.
in case a reader doesnt know, disableing background data will stop any application not in the foreground from accessing the net while on mobile data.
Click to expand...
Click to collapse
Thread moved to Q&A
Sent from my Nocturnalized One XL using Forum Runner
dakunesu said:
well, it takes more energy to frown than it does to smile
on other words, if you want to test, restore the phone to stock, turn off all syncing. then post up new stuff, see if its still happening
this means if you log into your google account, no syncing, disable all background data and all that jazz.
in case a reader doesnt know, disableing background data will stop any application not in the foreground from accessing the net while on mobile data.
Click to expand...
Click to collapse
Richieboy67 said:
Did you try turning off yahoo? Yahoo mail? It appears to be running full out almost..I had those and ended up removing because they were killing my battery.. I had all of them, messenger, mail and the yahoo asp.. Removed them all..
If you are still having an issue after the holiday I will go through your stats mor thoroughly to see what is running but would also ask you for some further stats too.. if needed though I will help more then. Too tired now.
sent via xda premium with nexus 7
Click to expand...
Click to collapse
Thank you very much guys for your help, will sure do as you requested and will inform about the results....Apologies for the frowny faces since I have paste the dump file results and XDA app on Android did the rest
I'm no expert on this but it looks like sns_async_ev_wakelock is causing a majority of your problems. As far as what that process does, I have no clue.
dcarpenter85 said:
I'm no expert on this but it looks like sns_async_ev_wakelock is causing a majority of your problems. As far as what that process does, I have no clue.
Click to expand...
Click to collapse
I agree with you sir. I have noticed that it is causing most of the wake up time, have no clue what this is though, hope somebody can help
SNS is social networking service so I would assume its social networking service auto sync do you have Facebook, twitter or the social hub app instead on your phone? If so turn off the sync to those apps
Sent from my LG-MS770 using xda app-developers app
dmonger11b said:
SNS is social networking service so I would assume its social networking service auto sync do you have Facebook, twitter or the social hub app instead on your phone? If so turn off the sync to those apps
Sent from my LG-MS770 using xda app-developers app
Click to expand...
Click to collapse
Thanks for your help. I have disabled ALL the sync operations, still that phone won't go into Deep Sleep unless I switch off all kind of data communication (wifi & cellular), other than that it shall always operate at 384MHZ even during sleep. Began to doubt the phone itself for some hardware malfunction
Try downloading gsam battery monitor it'll show wake locks in much easier to understand wording lol
Sent from my LG-MS770 using xda app-developers app
Here a quick screenshot from my monitor it shows what's draining your battery in percents and shows what app is included like this one is a wake lock from power amp
Sent from my LG-MS770 using xda app-developers app
Sent from my LG-MS770 using xda app-developers app
Try disabling the sns .. by going into applications manager -> All
See screenshot
For me atleast disabling it few days back increased the screen time by 2 hours
Sent from my GT-I9300 using xda app-developers app
So I figured out what was causing the "sns_async_ev_wakelock" on my Nexus 4. It's a little perplexing since I thought it was related to the "Social Network Service", but I hadn't changed much since I had started seeing it appearing. So I started turning things off one-by-one and uninstalled new apps. Then I was finally able to pinpoint it to the "Magnetic Field" action I had set up in Tasker. I was using it to detect when it was on the wireless charging pad.
Now I need to find a new way to detect when it is on the wireless charging pad in Tasker. I tried using the power options, but it doesn't seem to detect when it is actually charging. Not only that, but since the charging will stop for a little while after the phone is fully charged that probably wouldn't be the best solution. The "magnetic field" detection seemed perfect, but then the phone never seems to go into a deep sleep.
Edit: looks like the Beta version of Tasker will handle wireless power detection: http://tasker.dinglisch.net/changes/nextversion.html
This is just my experience:
Ok this what I have found out so far. For about two weeks my new Nexus 4 has not been able to enter "Deep Sleep".
The phone would only drop to 384mhz even with the screen off. Using BetterBatteryStats I was able to see that
I was having a "Kernel Wakelock" issue, mainly "sns_async_ev_wakelock" and "sns_periodic_wakelock".
I have not seen an issue with the "msm_hsic_host" that some people are seeing.
Now I asked some kernel devs their thoughts on this sns lock issue and all of them said that it is not in the kernel.
It is an app that is running that is causing this issue. So I believe that I have found my offending app. At the bottom is what I have installed
Anyway I tried uninstalling several apps then turned my live wall paper to one that comes installed on the phone.
Here is what I uninstalled
Box
Drive
Google Sky Map
Speed Test
System Lite Panel
Quadrant
Tasks
Ingress
Zooper Widget Pro
I then did some checks with CPUSpy and BetterBatteryStats and like a Christmas miracle there was Deep Sleep while the screen was off.
So now I now that it had to do with something that I had just changed. I then proceeded to install these app one by one and set
them back up while I went all the time checking to see if the phone would reach Deep Sleep while the screen was off.
After I had re-installed all apps that I had uninstalled above I noticed that the phone would still enter Deep Sleep meaning that the Kernel Wakelocks
were not getting stuck. This worried me as it meant that non of those app was the offending app.
I then reset my Live Wall Paper and guess which one it is.
Snowfall Live Wallpaper
About 20 secs after turning it back on the phone would no longer enter Deep Sleep with the screen off. Then I set the
wallpaper back to a stock live wallpaper and Force Stopped the Snowfall Live Wallpaper and in about 5 secs the phone would enter
Deep Sleep again and has continued to do so for the rest of the day.
I am going to write the developer and inform them that whatever they are using is not allowing the Nexus 4 to enter deep sleep.
Now I am not saying that the "sns_async_ev_wakelock" and "sns_periodic_wakelock" still do not increase they just increase very very very slowly.
And my battery life has gotten better as a result.
Maybe the OP should start a list of all the apps that are causing this issue so we may contact the developer and get them fixed.
Action Launcher Pro
Barcode Scanner
Battery Widget? Reborn!
BetterBatteryStats
BusyBox
CPU Spy
Cerberus anti theft
Chrome
Falcon Pro(for Twitter)
Gmail
Google Authenticator
Google Calendar
Google Currents
Google Drive
Google Earth
Google Play Books
Google Play Magazines
Google Play Movies & Tv
Google Play Music
Google Play services
Google Reader
Google Search
Google Wallet
Google+
Ingress
Maps
Nexus 4 Display Control
Root Explorer
SQLite Editor
Sky Map
Snapseed
Snowfall Live Wallpaper
Speedtest.net
Street View
SuperSU
SuperSU Pro
SystemPanelLite Task Manager
Tasks
TeamViewer
Voice Search
Wave
Wifi Analyzer
XDA Premium HD
Youtube
Zooper Widget Pro
franco.Kernel update
Better Battery Stats: Alarms:
com.vonage.TimeToCall : 111 wakeups - is this normal? Should I be worried about this?
**edit* not sure if it completely stopped wakeups but I turned off auto start app, and I made sure to "exit" vonage.. So far its been a few and no wakeups.
Seems to me after much searching here and all over the internet I might be the only I9500 owner with this problem, but it's been driving me crazy and making my battery life just ridiculous. Posting in hopes someone might have seen it before.
Got the phone about a month ago, battery life was shorter than I expected from the start, but then it became so short I had to recharge mid morning if I wanted it to last until noon with moderate use. After installing BBS, I found out a massive GPS wakelock, which causes the phone to NEVER enter Deep Sleep after it first appears.
The only solutions I've found so far to stop the wakelock from happening are:
Toggle GPS off and Restart phone
Do a shut down and pull the battery
Use System Tuner Pro to kill GPSD, then kill most system apps
After doing any of those, the phone will enter deep sleep normally if the GPS is switched off. When it's switched on again, sometimes the problem will start again after minutes/hours, sometimes it won't. Something odd about it though, is that if I stay home, it won't happen (can't tell you how many times this has given me false hope the problem was fixed) but if I'm moving around commuting or staying still at any other place, it will randomly start wakelocking the device again.
So far I've done the following to try and fix it:
Flash a couple of different firmwares I got from SamMobile
Factory reset, flash again, factory reset
Flash Adam Kernel
Flash pre-rooted firmware again with a factory reset
Format everything, including /system sdcard and extSD, then flash yet another, different firmware
On the last format I just have the basic apps running, frozen the standard bloatware along with a google apps, yet the problem persists.
Could this be a hardware problem? If I use the GPS with Maps or Waze while the phone is deep sleeping normally, the phone continues to behave as it should, so it seems the GPS radio can be turned on and off without problem, at least while the screen is on.
Does anyone have any other ideas I can test? I don't want to completely disable GPS, that would defeat part of the reason of owning a smartphone, nor does it seem necesary as there are thousands of people using their phone with GPS on and no problems. I haven't used Logcat, but if someone knows what exactly I should be logging, I can search a quick tutorial and give it a go.
Posting here a short version of the BBS log and attaching the full file. For reference, this BBS log was taken from the moment I woke up and unplugged the phone (and it was deep sleeping normally) until mid morning after the problem had reappeared.
General Information
===================
BetterBatteryStats version: 1.14.0.0B2
Creation Date: 2013-08-13 11:11:32
Statistic Type: Unplugged to Current
Since 4 h 46 m 4 s
VERSION.RELEASE: 4.2.2
BRAND: samsung
DEVICE: ja3g
MANUFACTURER: samsung
MODEL: GT-I9500
OS.VERSION: 3.4.5-1133023
BOOTLOADER: I9500XWUBMG5
HARDWARE: universal5410
FINGERPRINT: samsung/ja3gxx/ja3g:4.2.2/JDQ39/I9500XWUBMG5:user/release-keys
ID: JDQ39
TAGS: release-keys
USER: dpi
PRODUCT: ja3gxx
RADIO: I9500ZCUCMF3
Rooted: true
============
Battery Info
============
Level lost [%]: Bat.: -33% (100% to 67%) [6.9%/h]
Voltage lost [mV]: (4291-3915) [79.0%/h]
===========
Other Usage
===========
Deep Sleep (): 37 m 26 s (2246 s) Ratio: 13.1%
Awake (): 4 h 8 m 37 s (14917 s) Ratio: 86.9%
Screen On (): 25 m 4 s (1504 s) Ratio: 8.8%
Phone On (): 5 m 11 s (311 s) Ratio: 0.2%
Wifi On (): 4 h 46 m 4 s (17164 s) Ratio: 100.0%
Wifi Running (): 4 h 46 m 4 s (17164 s) Ratio: 100.0%
No Data Connection (): 4 h 3 s (14403 s) Ratio: 83.9%
No or Unknown Signal (): 4 h 3 s (14403 s) Ratio: 83.9%
Moderate Signal (): 5 m 47 s (347 s) Ratio: 0.2%
Good Signal (): 14 s (14 s) Ratio: 0.0%
Screen dark (): 6 m 2 s (362 s) Ratio: 2.1%
Screen dimmed (): 11 m 25 s (685 s) Ratio: 0.3%
Screen medium (): 7 m 35 s (455 s) Ratio: 0.2%
================
Kernel Wakelocks !!! wakeup_sources !!!
================
GPS (): 3 h 39 m 11 s (13151 s) Cntc/wc/ec)3/0/0 6.6%
l2_hsic (): 1 h 13 m 21 s (4401 s) Cntc/wc/ec)8634/4/8634 25.6%
PowerManagerService (): 38 m 38 s (2318 s) Cntc/wc/ec)816/2/0 13.5%
rpm_hsic (): 11 m 24 s (684 s) Cntc/wc/ec)8651/2/0 4.0%
wlan_rx_wake (): 9 m 46 s (586 s) Cntc/wc/ec)636/0/637 3.4%
BT_bt_wake (): 6 m 52 s (412 s) Cntc/wc/ec)60/0/60 0.2%
umts_ipc0 (): 6 m 26 s (386 s) Cntc/wc/ec)928/1/928 2.3%
ssp_wake_lock (): 3 m 31 s (211 s) Cntc/wc/ec)70/0/70 1.2%
BT_bt_wake (): 1 m 52 s (112 s) Cntc/wc/ec)141/0/141 0.1%
wlan_wd_wake (): 1 m 44 s (104 s) Cntc/wc/ec)2382/1/0 0.6%
wlan_ctrl_wake (): 1 m 22 s (82 s) Cntc/wc/ec)94/0/94 0.5%
rmnet0 (): 1 m 2 s (62 s) Cntc/wc/ec)66/0/66 0.4%
ssp_sensorhub_wake_lock (): 30 s (30 s) Cntc/wc/ec)67/0/67 0.2%
wlan_wake (): 18 s (18 s) Cntc/wc/ec)12310/1/0 0.1%
sec-battery-monitor (): 8 s (8 s) Cntc/wc/ec)525/2/0 0.0%
alarm (): 7 s (7 s) Cntc/wc/ec)602/2/0 0.0%
AudioOutLock (): 6 s (6 s) Cntc/wc/ec)9/0/0 0.0%
alarmtimer (): 4 s (4 s) Cntc/wc/ec)2/2/2 0.0%
battery (): 3 s (3 s) Cntc/wc/ec)525/2/0 0.0%
event11-2940 (): 1 s (1 s) Cntc/wc/ec)145/0/0 0.0%
PowerManagerService.Broadcasts (): 1 s (1 s) Cntc/wc/ec)8/0/0 0.0%
KeyEvents (): (0 s) Cntc/wc/ec)12150/2/0 0.0%
client-interface (): (0 s) Cntc/wc/ec)8549/0/0 0.0%
vib_present (): (0 s) Cntc/wc/ec)224/0/0 0.0%
event13-2940 (): (0 s) Cntc/wc/ec)46/0/0 0.0%
mmc2_detect (): (0 s) Cntc/wc/ec)35/2/0 0.0%
mmc0_detect (): (0 s) Cntc/wc/ec)35/2/0 0.0%
autosleep (): (0 s) Cntc/wc/ec)98/0/0 0.0%
======================
Alarms (requires root)
======================
android (): Wakeups: 69
Alarms: 0, Intent: android.intent.action.TIME_TICK
Alarms: 0, Intent: com.android.server.ThrottleManager.action.POLL
Alarms: 0, Intent: com.android.server.action.NETWORK_STATS_POLL
Alarms: 24, Intent: com.android.internal.policy.impl.Keyguard.LANDSCAPE_WAKE_TIME_LIMIT_EXPIRED
Alarms: 23, Intent: com.android.server.LightsService.action.UPDATE_SVC_LED
Alarms: 9, Intent: android.appwidget.action.APPWIDGET_UPDATE
Alarms: 4, Intent: com.android.internal.policy.impl.PhoneWindowManager.DELAYED_KEYGUARD
Alarms: 4, Intent: android.app.backup.intent.RUN
Alarms: 5, Intent: android.content.syncmanager.SYNC_ALARM
Alarms: 0, Intent: android.intent.action.DATE_CHANGED
Alarms: 0, Intent: edm.intent.action.elm.cleanrecords
Alarms: 0, Intent: android.net.wifi.DHCP_RENEW
Alarms: 0, Intent: com.android.server.action.UPDATE_TWILIGHT_STATE
Alarms: 0, Intent: com.android.server.NetworkTimeUpdateService.action.POLL
com.google.android.gsf (): Wakeups: 64
Alarms: 28, Intent: com.google.android.intent.action.SEND_IDLE
Alarms: 4, Intent: com.google.android.intent.action.MCS_HEARTBEAT
Alarms: 10, Intent: {com.google.android.gsf
Alarms: 22, Intent: com.google.android.intent.action.GTALK_RECONNECT
com.google.android.googlequicksearchbox (): Wakeups: 27
Alarms: 18, Intent: com.google.android.apps.sidekick.calendar.CalendarIntentService.UPDATE_CALENDAR_ACTION
Alarms: -33, Intent: {com.google.android.googlequicksearchbox
Alarms: 8, Intent: com.google.android.apps.sidekick.REFRESH
Alarms: -84, Intent: {com.google.android.googlequicksearchbox
Alarms: -100, Intent: {com.google.android.googlequicksearchbox
Alarms: 0, Intent: send_events
com.google.android.gms (): Wakeups: 27
Alarms: 27, Intent: com.google.android.intent.action.SEND_IDLE
Alarms: 0, Intent: com.google.android.gms.icing.INDEX_RECURRING_MAINTENANCE
com.nuance.swype.dtc (): Wakeups: 20
Alarms: 20, Intent: {com.nuance.swype.dtc
com.whatsapp (): Wakeups: 14
Alarms: 0, Intent: ALARM_ACTION
Alarms: 10, Intent: ALARM_AVAILABLE_TIMEOUT
Alarms: 0, Intent: ALARM_ROTATE_LOGS
Alarms: 0, Intent: ALARM_MESSAGES_DB_BACKUP
Alarms: 0, Intent: ALARM_REPORT_SYNCS
Alarms: 4, Intent: com.whatsapp.MessageService.RECONNECT
com.android.providers.calendar (): Wakeups: 12
Alarms: 12, Intent: com.android.providers.calendar.intent.CalendarProvider2
com.sec.chaton (): Wakeups: 12
Alarms: 12, Intent: com.sec.chaton.push.ALARM_TIMER_ACTION
com.sec.esdk.elm (): Wakeups: 4
Alarms: 4, Intent: com.sec.esdk.elm.service.ACTIVATION_DEACTIVATION_RETRY_INTENT
Alarms: 0, Intent: com.sec.esdk.elm.alarm.SAVE_APICALLLOG
com.android.vending (): Wakeups: 2
Alarms: -1, Intent: {com.android.vending
Alarms: -5, Intent: {com.android.vending
com.sec.android.app.clockpackage (): Wakeups: 2
Alarms: 1, Intent: com.samsung.sec.android.clockpackage.alarm.ALARM_ALERT
Alarms: 1, Intent: com.samsung.sec.android.clockpackage.alarm.NOTIFY_ALARM_LOCATION
Thanks for your help
Turn off gps if you don't need it. That's what I do and saves much power bro.
Sent from my GT-I9505 using xda premium
gee2012 said:
Turn off gps if you don't need it. That's what I do and saves much power bro.
Sent from my GT-I9505 using xda premium
Click to expand...
Click to collapse
I do turn off any extra drain some days if I'm gonna be away from a charger most of the day, but any other day, when I'm at my office, I actually like all the features that require location and I've used them without any hassle on my GS3 and even on my old GS1 with a JB rom and my battery lasted me through a normal workday. The GS4 will drain itself overnight if the bug is happening and it's not charging. In contrast, my father's GS4 has everything on all the time, and even without Greenify, it will last an entire work day without recharging and with moderate use.
So clearly, there is something wrong with my phone. Sure, having the GPS toggle on means that apps on the background will occasionally wake up the phone, access fine location and go back to sleep, the problem is my phone never gets back to sleep.
Forgot to say on the main post: apps that force deep sleep when the screen is turned off are unable to do so after it's bugged.
Thanks!
Get this
https://play.google.com/store/apps/details?id=eu.chainfire.geolog
I've got it set for a custom profile that updates every 4 hours. Work 12 miles from home so weather is always the same.
When I need GPS for navigation I will bump it up to a more aggressive refresh.
Sent from my HTC One using xda premium
Are you only disabling GPS from the notification?
When you hold the GPS toggle and you are moved to the GPS settings, is it completely off or is access to my location-use wireless networks on?
That, as silly as it sounds, could be your problem.
Sent from my GT-I9500 using xda app-developers app
SchmilK said:
Get this
I've got it set for a custom profile that updates every 4 hours. Work 12 miles from home so weather is always the same.
When I need GPS for navigation I will bump it up to a more aggressive refresh.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Wow, that seems like a pretty good app for controlling location services drain without actually disabling them. I'll give it a go, though I think the problem with my phone might be at the hardware level. I'm pretty sure GPSD is the process that's getting stuck in some infinite loop, so the only workaround for now is to completely disable GPS until I can solve this. Thanks for the recomendation, that app is definitively going to my list of must haves :good:
mazroui said:
Are you only disabling GPS from the notification?
When you hold the GPS toggle and you are moved to the GPS settings, is it completely off or is access to my location-use wireless networks on?
That, as silly as it sounds, could be your problem.
Sent from my GT-I9500 using xda app-developers app
Click to expand...
Click to collapse
Well, as far as I can tell, it makes no difference, the bug happens with the wireless network location aid on or off. If you look at the BBS log, you can see the wakelock is caused not by any particular service accessing location data, but by the GPS itself (the kernel module GPSD as far as I can tell). And really, it should make no difference, in any normal phone, locations services wake up, update, go back to sleep. In my phone it's wake up>GPS gets stuck on and will continue to use CPU time until I kill it with any of the methods explained in the first post. Thanks!
sirius100 said:
Wow, that seems like a pretty good app for controlling location services drain without actually disabling them. I'll give it a go, though I think the problem with my phone might be at the hardware level. I'm pretty sure GPSD is the process that's getting stuck in some infinite loop, so the only workaround for now is to completely disable GPS until I can solve this. Thanks for the recomendation, that app is definitively going to my list of must haves :good:
Well, as far as I can tell, it makes no difference, the bug happens with the wireless network location aid on or off. If you look at the BBS log, you can see the wakelock is caused not by any particular service accessing location data, but by the GPS itself (the kernel module GPSD as far as I can tell). And really, it should make no difference, in any normal phone, locations services wake up, update, go back to sleep. In my phone it's wake up>GPS gets stuck on and will continue to use CPU time until I kill it with any of the methods explained in the first post. Thanks!
Click to expand...
Click to collapse
i've been thru gps wakelocks when i have it on and could only recommend a clear format n reload factory firmware with a PIT repartition to make sure nothing stays behind and check from there if the bug remains, i personally have my my location based apps off by default unless i need their service coz wakelocks only cause trouble... im trying to get help with my phoneapp wakelock getting 1-2 hours of wakelock on a 24 hour period with some random audioout as well
running wanamlite and perseus here with all the bloatware as some of those samsung apps are useful at times
gee2012 said:
Turn off gps if you don't need it. That's what I do and saves much power bro.
Sent from my GT-I9505 using xda premium
Click to expand...
Click to collapse
I have never disabled gps from S1 through to S4 and in all those years have never seen gps consume battery. My gps only turns on when an app needs to use it.
But I do remember one in the S2 I did have this exact same problem. Can't really remember how I fixed it though. Possible I did a fresh flash in odin.
Edit: just wondering, have you enabled that new Android security feature 'Android device manager'? Maybe it's trying to locate your phone and won't let gps sleep.
mazroui said:
i've been thru gps wakelocks when i have it on and could only recommend a clear format n reload factory firmware with a PIT repartition to make sure nothing stays behind and check from there if the bug remains, i personally have my my location based apps off by default unless i need their service coz wakelocks only cause trouble... im trying to get help with my phoneapp wakelock getting 1-2 hours of wakelock on a 24 hour period with some random audioout as well
running wanamlite and perseus here with all the bloatware as some of those samsung apps are useful at times
Click to expand...
Click to collapse
I think I might have to do that, full format and repartitioning and see if it keeps doing that.
As for your problem, maybe you already use it, but I find System Tuner Pro a great tool for troubleshooting misbehaving apps.
sxi200 said:
I have never disabled gps from S1 through to S4 and in all those years have never seen gps consume battery. My gps only turns on when an app needs to use it.
But I do remember one in the S2 I did have this exact same problem. Can't really remember how I fixed it though. Possible I did a fresh flash in odin.
Edit: just wondering, have you enabled that new Android security feature 'Android device manager'? Maybe it's trying to locate your phone and won't let gps sleep.
Click to expand...
Click to collapse
With fresh flash you mean with PIT? I've disabled all google location services and it still happens. I've also actually used the Device Manager while the phone was in Deep Sleep, it woke up, used the GPS, then went back to sleep, so go figure. Is there anything I need to backup before repartitioning in case something goes wrong? Thanks!
sirius100 said:
With fresh flash you mean with PIT? I've disabled all google location services and it still happens. I've also actually used the Device Manager while the phone was in Deep Sleep, it woke up, used the GPS, then went back to sleep, so go figure. Is there anything I need to backup before repartitioning in case something goes wrong? Thanks!
Click to expand...
Click to collapse
Weird! As for flashing I'd recommend doing it without the PIT as it's a software / system problem, nothing to do with the partition of the phone.
Sent from my GT-I9505 using xda premium
sxi200 said:
Weird! As for flashing I'd recommend doing it without the PIT as it's a software / system problem, nothing to do with the partition of the phone.
Sent from my GT-I9505 using xda premium
Click to expand...
Click to collapse
Oh well in that case, I've done that at least 4 times, with different build dates and regions and even doing a full /system and /sdcard wipe along with the factory reset from CWR, then flashing, then another factory reset. So far, the problem pops up on every build no matter how little software I have installed.
That's what got me thinking it might be a hardware issue, but then again, I can use the GPS without any problem and then turn it off and the bug doesn't rear it's ugly head, so at least it seems the GPS radio is able to be shut down.
Most threads of people having this problem with different phones got as far as just doing a factory reset or flashing new firmware before it was solved, so when I'm at my 4th firmware flash, this problem is really busting my brain.
Having the same problem here. I have the I9500 with CyanogenMod. I started having the problem when Samsung updated to 4.4.2 now it doesn't matter which ROM I use, the problem persists...
Please let the GPS sleeping in stand by and stop destroying your phone for a different issue you may have!
this:
l2_hsic (): 1 h 13 m 21 s (4401 s) Cntc/wc/ec)8634/4/8634 25.6%
just switch and force your phone to 2G reception for a trial and this will stop consuming your battery.
it call "fast dormancy issue" and related to most of the time to the 3G provider that doesn't send the right info in order to stop the phone seeking for network.
I am not any kind of expert but this check is easy to do and will clarify this point.
partial solution
see my thread here:
http://forum.xda-developers.com/general/help/gpsd-keeping-phone-awake-time-t2846721
basically create shell scripts to start/stop the gpsd process
I'm having exact same problem with my Galaxy S5 SM-G900H exynos variant.
SchmilK said:
Get this
https://play.google.com/store/apps/details?id=eu.chainfire.geolog
Click to expand...
Click to collapse
Geolog is not a good idea to prevent wakelocks concerning GPS and/or com.google.android.gms.icing as the wakelocks caused by these two items are now caused by Geolog. After 3 hours sitting at the desk and not moving the phone, Geolog kept the phone awake for half an hour (27%). So this is NO solution for preventing wakelocks, saving battery or getting the phone asleep!
fipsy said:
Geolog is not a good idea to prevent wakelocks concerning GPS and/or com.google.android.gms.icing as the wakelocks caused by these two items are now caused by Geolog. After 3 hours sitting at the desk and not moving the phone, Geolog kept the phone awake for half an hour (27%). So this is NO solution for preventing wakelocks, saving battery or getting the phone asleep!
Click to expand...
Click to collapse
It worked in 2013....2016 is a different story and must be handled differently.
One thing that I just started doing on my Nexus 6P using "Device Only" mode rather than Battery Saving (battery saving uses wifi, bluetooth and cellular and requires more triangulation, checking in with google to see where it is, as well as more location tracking.)
One problem is that "device only" solely uses the GPS module of the phone which normally consumes quite much power. So this also is not a very preferable solution...
fipsy said:
One problem is that "device only" solely uses the GPS module of the phone which normally consumes quite much power. So this also is not a very preferable solution...
Click to expand...
Click to collapse
With no nap time changed and nothing else forcing things to sleep, I get 1.2%/hour battery drain while at work letting my phone idle.
I think things have changed and a simple GPS check uses less power because it gets your exact location. Compared to the cpu time of getting your ip address, referencing who owns it and where it is located or getting a cell tower and triangulation between other towers to figure out where you are.
Okay, thank you for the explanation! I'll give it a try hoping that this also works on Kitkat (CM11 / 4.4.4) ...
Edit: Tried it. A catastrophe! If I'm indoor where no GPS satellites are available it is constantly trying to fix a GPS position and hence consuming power.
Hey,
My N9005 has recently started to experience battery drain. Couple weeks earlier It was around 0.3..0.5% per hour through the night. Now it is 0.9 and awake time is 2 hours out of 9.
I am rooted, wifi and 4g is on. Location is on (via Network). Google Now is off.
This is the extraction from BBS:
===================
General Information
===================
BetterBatteryStats version: 1.15.0.0
Creation Date: 2014-02-18 08:24:07
Statistic Type: Custom to Current
Since 8 h 42 m 54 s
VERSION.RELEASE: 4.4.2
BRAND: samsung
DEVICE: hlte
MANUFACTURER: samsung
MODEL: SM-N9005
OS.VERSION: 3.4.0-340325
BOOTLOADER: N9005XXUENA6
HARDWARE: qcom
FINGERPRINT: samsung/hltexx/hlte:4.4.2/KOT49H/N9005XXUENA6:user/release-keys
ID: KOT49H
TAGS: release-keys
USER: dpi
PRODUCT: hltexx
RADIO: N9005XXUENA2
Rooted: true
============
Battery Info
============
Level lost [%]: Bat.: -8% (91% to 83%) [0.9%/h]
Voltage lost [mV]: (4146-4076) [8.0%/h]
===========
Other Usage
===========
Screen On (): 3 m 13 s (193 s) Ratio: 0.6%
Wifi On (): 8 h 42 m 54 s (31374 s) Ratio: 100.0%
Wifi Running (): 8 h 42 m 54 s (31374 s) Ratio: 100.0%
Deep Sleep (): 6 h 37 m 41 s (23861 s) Ratio: 76.1%
Awake (): 2 h 5 m 12 s (7512 s) Ratio: 23.9%
=========
Wakelocks
=========
NlpCollectorWakeLock (Google Services): 6 m 58 s (418 s) Count:35 34.7%
NlpWakeLock (com.google.android.googlequicksearchbox.Google Search): 6 m 1 s (361 s) Count:114 29.9%
AlarmManager (0): 2 m 32 s (152 s) Count:590 12.6%
TimaService (0): 1 m 15 s (75 s) Count:25 6.2%
LocationManagerService (0): 1 m 11 s (71 s) Count:114 5.9%
AlarmReceiver (com.sec.android.app.clockpackage.Clock): 20 s (20 s) Count:37 0.6%
StartingAlertService (Calendar): 15 s (15 s) Count:3 1.2%
AlarmManager (Google Services): 8 s (8 s) Count:57 0.7%
NlpWakeLock (Google Services): 8 s (8 s) Count:164 0.7%
VibratorService (com.sec.android.app.clockpackage.Clock): 8 s (8 s) Count:5 0.2%
BBS_WAKELOCK_WHILE_SAVING_REF (com.asksven.betterbatterystats_xdaedition.BetterBatteryStats): 7 s (7 s) Count:2 0.6%
GCM_CONN (Google Services): 6 s (6 s) Count:39 0.5%
AlarmManager (com.facebook.katana.Facebook): 6 s (6 s) Count:49 0.5%
*sync*/gmail-ls/com.google/eM_ADDR (com.google.android.gm.Gmail): 6 s (6 s) Count:1 0.5%
hfm (com.google.android.googlequicksearchbox.Google Search): 6 s (6 s) Count:101 0.5%
AlarmManager (com.google.android.googlequicksearchbox.Google Search): 5 s (5 s) Count:107 0.4%
Event Log Service (Google Services): 5 s (5 s) Count:17 0.4%
ActivityManager-Launch (0): 4 s (4 s) Count:18 0.3%
AudioMix (0): 4 s (4 s) Count:2 0.3%
NlpLocationReceiverService (com.google.android.googlequicksearchbox.Google Search): 4 s (4 s) Count:125 0.3%
NetworkStats (0): 2 s (2 s) Count:17 0.2%
NlpWakeLock (0): 2 s (2 s) Count:1 0.2%
LocationManagerService (Google Services): 2 s (2 s) Count:221 0.2%
AlarmManager (com.sec.spp.push.Samsung Push Service): 2 s (2 s) Count:15 0.1%
AlarmManager (com.whatsapp.WhatsApp): 2 s (2 s) Count:18 0.1%
Icing (Google Services): 1 s (1 s) Count:17 0.1%
show keyguard (UID): 1 s (1 s) Count:2 0.1%
AlarmManager (com.android.chrome.Chrome): 1 s (1 s) Count:15 0.1%
SyncManagerHandleSyncAlarm (0): 1 s (1 s) Count:4 0.1%
GmailProviderProviderChangedBroadcastWakeLock (com.google.android.gm.Gmail): 1 s (1 s) Count:1 0.1%
GpsLocationProvider (0): 1 s (1 s) Count:8 0.1%
AlarmManager (Calendar): 1 s (1 s) Count:4 0.1%
DHCP (0): 1 s (1 s) Count:2 0.0%
StartingAlertService (com.android.calendar.S Planner): 1 s (1 s) Count:5 0.0%
UlrDispatchingService (Google Services): 1 s (1 s) Count:6 0.0%
================
Kernel Wakelocks !!! wakeup_sources !!!
================
PowerManagerService.WakeLocks (): 17 m 47 s (1067 s) Cntc/wc/ec)940/164/0 3.4%
sec-battery-monitor (): 7 m 48 s (468 s) Cntc/wc/ec)4988/84/0 1.5%
alarm (): 7 m 35 s (455 s) Cntc/wc/ec)1350/532/0 1.5%
resume_wakelock (): 7 m 22 s (442 s) Cntc/wc/ec)4646/0/4646 1.4%
qpnp-vadc-ebd30a00 (): 4 m 36 s (276 s) Cntc/wc/ec)35214/2369/0 0.9%
mmc0:0001:2 (): 2 m 33 s (153 s) Cntc/wc/ec)21729/7235/0 0.5%
alarm_rtc (): 1 m 37 s (97 s) Cntc/wc/ec)195/125/0 0.3%
radio-interface (): 16 s (16 s) Cntc/wc/ec)20/4/0 0.1%
ssp_sensorhub_wake_lock (): 11 s (11 s) Cntc/wc/ec)12/2/11 0.0%
ipc00000021_Loc_hal_worker (): 8 s (8 s) Cntc/wc/ec)1432/90/0 0.0%
KeyEvents (): 6 s (6 s) Cntc/wc/ec)7849/265/0 0.0%
smdcntl0 (): 6 s (6 s) Cntc/wc/ec)197/8/0 0.0%
power-supply (): 5 s (5 s) Cntc/wc/ec)4985/83/0 -0.1%
ipc0000000d_rmt_storage (): 2 s (2 s) Cntc/wc/ec)5/0/0 0.0%
PowerManagerService.Broadcasts (): 1 s (1 s) Cntc/wc/ec)10/0/0 0.0%
event18-853 (): 1 s (1 s) Cntc/wc/ec)14/0/0 0.0%
rmt_storage_-1210977736 (): (0 s) Cntc/wc/ec)3/0/0 0.0%
ssp_wake_lock (): (0 s) Cntc/wc/ec)52/2/0 0.0%
rmt_storage_-1210978584 (): (0 s) Cntc/wc/ec)2/0/0 0.0%
event5-853 (): (0 s) Cntc/wc/ec)11/0/0 0.0%
ipc_rtr_smd_ipcrtr (): (0 s) Cntc/wc/ec)1531/105/0 0.0%
MediaPlayerService_Decode (): (0 s) Cntc/wc/ec)4/0/0 0.0%
qpnp-iadc-ebd30c00 (): (0 s) Cntc/wc/ec)25/7/0 0.0%
PowerManagerService.Display (): (0 s) Cntc/wc/ec)5/0/0 0.0%
qmuxd_port_wl_0 (): (0 s) Cntc/wc/ec)248/8/0 0.0%
ipc0000002a_Loc_hal_worker (): (0 s) Cntc/wc/ec)5/5/0 0.0%
ipc00000022_Loc_hal_worker (): (0 s) Cntc/wc/ec)5/5/0 0.0%
ipc00000003_rfs_access (): (0 s) Cntc/wc/ec)5/5/0 0.0%
ipc00000017_time_daemon (): (0 s) Cntc/wc/ec)5/5/0 0.0%
ipc00000010_time_daemon (): (0 s) Cntc/wc/ec)5/5/0 0.0%
ipc0000001d_gsiff_daemon (): (0 s) Cntc/wc/ec)5/5/0 0.0%
ipc0000000e_rmt_storage (): (0 s) Cntc/wc/ec)5/5/0 0.0%
ipc00000007_thermal-engine (): (0 s) Cntc/wc/ec)5/5/0 0.0%
ipc0000001b_thermal-engine (): (0 s) Cntc/wc/ec)5/5/0 0.0%
ipc00000019_thermal-engine (): (0 s) Cntc/wc/ec)5/5/0 0.0%
ipc0000000c_thermal-engine (): (0 s) Cntc/wc/ec)5/5/0 0.0%
======================
Alarms (requires root)
======================
com.google.android.gms (): Wakeups: 162
Alarms: 109, Intent: com.google.android.gms.nlp.ALARM_WAKEUP_LOCATOR
Alarms: 0, Intent: com.google.android.intent.action.GCM_RECONNECT
Alarms: 35, Intent: com.google.android.intent.action.MCS_HEARTBEAT
Alarms: 10, Intent: com.google.android.gms.nlp.ALARM_WAKEUP_ACTIVITY_DETECTION
Alarms: 2, Intent: com.google.android.intent.action.SEND_IDLE
Alarms: 0, Intent: {com.google.android.gms/com.google.android.gms.playlog.uploader.UploaderAlarmReceiver}
Alarms: 4, Intent: com.google.android.gms.nlp.ALARM_WAKEUP_ACTIVE_COLLECTOR
Alarms: 1, Intent: com.google.android.gms.nlp.ALARM_WAKEUP_PASSIVE_COLLECTOR
Alarms: 0, Intent: {com.google.android.gms/com.google.android.gms.common.download.DownloadAlarmReceiver}
Alarms: 0, Intent: com.google.android.gms.nlp.ALARM_WAKEUP_BURST_COLLECTION_TRIGGER
Alarms: 0, Intent: com.google.android.gms.nlp.ALARM_WAKEUP_CACHE_UPDATER
Alarms: 1, Intent: com.google.android.gms.icing.INDEX_RECURRING_MAINTENANCE cmp={com.google.android.gms/com.google.android.gms.icing.service.IndexWorkerService}
android (): Wakeups: 67
Alarms: 0, Intent: android.intent.action.TIME_TICK
Alarms: 0, Intent: com.android.server.action.NETWORK_STATS_POLL
Alarms: 17, Intent: android.appwidget.action.APPWIDGET_UPDATE cmp={com.sec.android.widgetapp.easyfavoritescontactswidget/com.sec.android.widgetapp.easyfavoritescontactswidget.SeniorFavoriteWidgetProviderLarge}
Alarms: 4, Intent: android.content.syncmanager.SYNC_ALARM
Alarms: 44, Intent: android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED
Alarms: 0, Intent: edm.intent.action.elm.cleanrecords
Alarms: 0, Intent: com.android.server.LightsService.action.UPDATE_SVC_LED
Alarms: 0, Intent: com.android.server.action.UPDATE_TWILIGHT_STATE
Alarms: 1, Intent: com.android.server.IdleMaintenanceService.action.UPDATE_IDLE_MAINTENANCE_STATE
Alarms: 1, Intent: android.net.wifi.DHCP_RENEW
com.facebook.katana (): Wakeups: 49
Alarms: 35, Intent: com.facebook.push.mqtt.KeepaliveManager.ACTION_INEXACT_ALARM.com.facebook.katana
Alarms: 3, Intent: com.facebook.common.executors.WakingExecutorService.ACTION_ALARM.com.facebook.katana
Alarms: 11, Intent: com.facebook.analytics.service.AnalyticsEventUploader.ACTION_ALARM
Alarms: 0, Intent: {com.facebook.katana/com.facebook.ui.media.cache.MediaCacheCleanupService}
Alarms: 0, Intent: {com.facebook.katana/com.facebook.common.tempfile.TempFileCleanupService}
com.google.android.gsf (): Wakeups: 17
Alarms: 17, Intent: {com.google.android.gsf/com.google.android.gsf.checkin.EventLogService$Receiver}
com.sec.spp.push (): Wakeups: 9
Alarms: 0, Intent: com.sec.spp.push.receiver.PROVISIONING_ACTION
Alarms: 9, Intent: {com.sec.spp.push/com.sec.spp.push.heartbeat.HeartBeat}
Alarms: 0, Intent: com.sec.spp.push.ALARM_TIMER_ACTION
Alarms: 0, Intent: com.sec.spp.push.DAY_TIMER
com.google.android.apps.maps (): Wakeups: 9
Alarms: 9, Intent: {com.google.android.apps.maps/com.google.android.apps.gmm.prefetch.PrefetcherService}
com.google.android.googlequicksearchbox (): Wakeups: 8
Alarms: 8, Intent: {com.google.android.googlequicksearchbox/com.google.android.velvet.VelvetBackgroundTasksImpl$Service}
Alarms: 0, Intent: send_events cmp={com.google.android.googlequicksearchbox/com.google.android.voicesearch.logger.EventLoggerService}
com.whatsapp (): Wakeups: 2
Alarms: 0, Intent: ALARM_ACTION
Alarms: 1, Intent: ALARM_ROTATE_LOGS
Alarms: 0, Intent: ALARM_AVAILABLE_TIMEOUT
Alarms: 1, Intent: ALARM_MESSAGES_DB_BACKUP
Alarms: 0, Intent: com.whatsapp.MessageService.RECONNECT cmp={com.whatsapp/com.whatsapp.messaging.MessageService}
Alarms: 0, Intent: ALARM_CLIENT_PING_TIMEOUT
com.sec.android.app.clockpackage (): Wakeups: 2
Alarms: 1, Intent: com.samsung.sec.android.clockpackage.alarm.ALARM_ALERT
Alarms: 1, Intent: com.samsung.sec.android.clockpackage.alarm.NOTIFY_ALARM_LOCATION
com.sec.chaton (): Wakeups: 2
Alarms: 2, Intent: {com.sec.chaton/com.sec.common.util.log.collector.LogCollectorSender}
com.agilesoftresource (): Wakeups: 1
Alarms: 0, Intent: ALM cmp={com.agilesoftresource/com.avg.toolkit.recurringTasks.RecurringTaskAlarmReceiver}
Alarms: 0, Intent: TSVCDT cmp={com.agilesoftresource/com.avg.toolkit.recurringTasks.RecurringTaskAlarmReceiver}
Alarms: 1, Intent: ADM cmp={com.agilesoftresource/com.avg.toolkit.recurringTasks.RecurringTaskAlarmReceiver}
Alarms: 0, Intent: CSR cmp={com.agilesoftresource/com.avg.toolkit.recurringTasks.RecurringTaskAlarmReceiver}
com.android.calendar (): Wakeups: 1
Alarms: 1, Intent: com.sec.android.calendar.update_data cmp={com.android.calendar/com.android.calendar.magazine.CalendarUpdateRelatedDataReceiver}
com.sec.esdk.elm (): Wakeups: 1
Alarms: 1, Intent: com.sec.esdk.elm.alarm.SAVE_APICALLLOG
======================
Network (requires root)
======================
1000 (Wifi) (Android System): 639.0 KBytes 23.6%
10030 (Wifi) (com.android.chrome.Chrome): 529.0 KBytes 19.5%
10191 (Wifi) (com.google.android.googlequicksearchbox.Google Search): 526.0 KBytes 19.4%
0 (Wifi) (0): 506.0 KBytes 18.7%
10070 (Wifi) (Google Services): 148.0 KBytes 5.5%
10008 (Wifi) (sstream.app.My Magazine): 118.0 KBytes 4.4%
10276 (Wifi) (com.facebook.katana.Facebook): 67.0 KBytes 2.5%
0 (lo) (0): 48.0 KBytes 1.8%
10270 (lo) (com.agilesoftresource.AndroZip File Manager): 33.0 KBytes 1.3%
10069 (Wifi) (com.google.android.gm.Gmail): 22.0 KBytes 0.8%
10064 (Wifi) (com.google.android.apps.maps.Maps): 20.0 KBytes 0.7%
10264 (Wifi) (com.sec.android.daemonapp.Unified Daemon(EUR)): 14.0 KBytes 0.5%
10277 (Wifi) (com.macropinch.swan.Weather): 11.0 KBytes 0.4%
10054 (Wifi) (com.evernote.Evernote): 7.0 KBytes 0.3%
10270 (Wifi) (com.agilesoftresource.AndroZip File Manager): 5.0 KBytes 0.2%
10134 (Wifi) (com.sec.spp.push.Samsung Push Service): 5.0 KBytes 0.2%
10239 (Wifi) (ru.yandex.metro.Yandex.Metro): 1.0 KBytes 0.1%
10113 (Wifi) (com.android.vending.Google Play Store): 992.0 Bytes 0.0%
1014 (Wifi) (1014): 668.0 Bytes 0.0%
10266 (lo) (ru.sports.sochi2014.РћР˜-2014): 500.0 Bytes 0.0%
10030 (lo) (com.android.chrome.Chrome): 200.0 Bytes 0.0%
==========
CPU States
==========
300 MHz (): 1 h 5 m 50 s 12.6%
422.4 MHz (): 48 m 47 s 9.3%
652.8 MHz (): 6 m 19 s 1.2%
729.6 MHz (): 16 s 0.1%
883.2 MHz (): 1 m 21 s 0.3%
960 MHz (): 6 s 0.0%
1.04 GHz (): 9 s 0.0%
1.19 GHz (): 45 s 0.1%
1.27 GHz (): 9 s 0.0%
1.5 GHz (): 30 s 0.1%
1.57 GHz (): 1 s 0.0%
1.73 GHz (): 14 s 0.0%
1.96 GHz (): 21 s 0.1%
2.27 GHz (): 18 s 0.1%
Deep Sleep (): 6 h 37 m 41 s 76.1%
==================
Reference overview
==================
ref_unplugged: Reference ref_unplugged created 4 h 19 m 27 s (Wl: 1 elements; KWl: 47elements; NetS: 48 elements; Alrm: 16 elements; Proc: 56 elements; Oth: 5 elements; CPU: 15 elements)
ref_charged: Reference ref_charged created 4 h 19 m 28 s (Wl: 2 elements; KWl: 47elements; NetS: 48 elements; Alrm: 16 elements; Proc: 56 elements; Oth: 5 elements; CPU: 15 elements)
ref_custom: Reference ref_custom created 10 h 10 m 5 s (Wl: 56 elements; KWl: 50elements; NetS: 62 elements; Alrm: 17 elements; Proc: 278 elements; Oth: 6 elements; CPU: 15 elements)
ref_current: Reference ref_current created 18 h 52 m 59 s (Wl: 64 elements; KWl: 50elements; NetS: 62 elements; Alrm: 20 elements; Proc: 281 elements; Oth: 6 elements; CPU: 15 elements)
Click to expand...
Click to collapse
Turn off Location / GPS and freeze Google Now.
Also you will get Loads of Battery saving tips from my thread here -
http://forum.xda-developers.com/show....php?t=2579075
Thanks for reply.
Google Now is off in settings. I don't want to turn GPS off (it wasn't off previously and there were neither batter drain nor huge awake time).
Anyway, I'll try it this night as an experiment.
Use only wifi for location, turn off GPS, and disable google location, that did the trick for me. Here is an image to show the terrible drain I had.
iterimpius said:
Use only wifi for location, turn off GPS, and disable google location, that did the trick for me. Here is an image to show the terrible drain I had.
Click to expand...
Click to collapse
Although you are probably right, this is not how it is supposed to be. I want to have GPS constatntly turned on and do not have battery drain as it previously was (even after upgrade to 4.4.2).
Thanks anyway - I'll let you know about the results next morning.
zipper3 said:
Although you are probably right, this is not how it is supposed to be. I want to have GPS constatntly turned on and do not have battery drain as it previously was (even after upgrade to 4.4.2).
Thanks anyway - I'll let you know about the results next morning.
Click to expand...
Click to collapse
Well, I guess you can still leave GPS on, it will drain little power. The problem with me was that google services were keeping the CPU awake, retrying to get location continuously, which ended up draining the batter, the device never goes to sleep.
So, I switched GPS OFF this night and the phone was awake 1 hour out of 8 hours and battery dropped by from 53 to 49% - not that bad, I guess. But still awake time seems high.
I think mmc0:0001:2 of Kernel wakelock is the culprit. My galaxy S4 LTE-A suffers from battety drain. I found the kernel wakelock only occurs when wifi is on. But when my S4 is connected to specific routers, wakeup count of the wakelock soars up. Yours is about a third of total count, which is very high. I suggest changing your router.. I tried some tricks to make it right, but none did work. Changing router did the trick. Total count of the kernel wakelock was still high, but wakeup count of it considerably dropped, and battery drain was gone.
Sent from my SHV-E330S using Tapatalk
Battery Drain
kulguy said:
I think mmc0:0001:2 of Kernel wakelock is the culprit. My galaxy S4 LTE-A suffers from battety drain. I found the kernel wakelock only occurs when wifi is on. But when my S4 is connected to specific routers, wakeup count of the wakelock soars up. Yours is about a third of total count, which is very high. I suggest changing your router.. I tried some tricks to make it right, but none did work. Changing router did the trick. Total count of the kernel wakelock was still high, but wakeup count of it considerably dropped, and battery drain was gone.
Sent from my SHV-E330S using Tapatalk
Click to expand...
Click to collapse
What do you mean by "change router"? I only have one router at home and my battery loss occurs everywhere I go anyway.