N4 never sleeps

Search This thread

sona911

Senior Member
May 28, 2010
98
18
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 {name=sona911@gmail.com, 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) Cnt:(c/wc/ec)1845/0/0 78.2%
"msm_hsic_host" (): 53 m 39 s (3219 s) Cnt:(c/wc/ec)1318/3/0 20.9%
"sns_periodic_wakelock" (): 53 m 28 s (3208 s) Cnt:(c/wc/ec)6057/0/0 20.9%
"PowerManagerService" (): 28 m 41 s (1721 s) Cnt:(c/wc/ec)10054/0/0 11.2%
"wlan" (): 7 m 54 s (474 s) Cnt:(c/wc/ec)771/0/0 3.1%
"suspend_backoff" (): 7 m 19 s (439 s) Cnt:(c/wc/ec)44/0/44 1.9%
"alarm_rtc" (): 3 m 14 s (194 s) Cnt:(c/wc/ec)318/68/60 1.3%
"alarm" (): 2 m 7 s (127 s) Cnt:(c/wc/ec)9734/2/0 0.8%
"radio-interface" (): 29 s (29 s) Cnt:(c/wc/ec)24/0/0 0.2%
"power-supply" (): 21 s (21 s) Cnt:(c/wc/ec)1452/-1/0 -39.7%
"smd_sns_dsps" (): 8 s (8 s) Cnt:(c/wc/ec)46745/0/0 0.1%
"qmuxd_port_wl_9" (): 1 s (1 s) Cnt:(c/wc/ec)11236/0/0 0.0%
"PowerManagerService.Broadcasts" (): (0 s) Cnt:(c/wc/ec)2/0/0 0.0%
"KeyEvents" (): (0 s) Cnt:(c/wc/ec)4637/0/0 0.0%
"qcril" (): (0 s) Cnt:(c/wc/ec)39/0/0 0.0%
"mmc0_detect" (): (0 s) Cnt:(c/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
 

sona911

Senior Member
May 28, 2010
98
18
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
 

Richieboy67

Senior Member
Dec 10, 2011
2,073
362
CT
www.talkdevelopment.net
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
 
Last edited:

sona911

Senior Member
May 28, 2010
98
18
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

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
 

Richieboy67

Senior Member
Dec 10, 2011
2,073
362
CT
www.talkdevelopment.net
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

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
 
Last edited:

dakunesu

Senior Member
Aug 15, 2011
908
205
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.
 
E

E.Cadro

Guest
Thread moved to Q&A

Sent from my Nocturnalized One XL using Forum Runner
 

sona911

Senior Member
May 28, 2010
98
18
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.

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

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 :)
 

dmonger11b

Senior Member
Jul 18, 2012
465
82
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
 
  • Like
Reactions: necksis

sona911

Senior Member
May 28, 2010
98
18
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

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
 

dmonger11b

Senior Member
Jul 18, 2012
465
82
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
 

dmonger11b

Senior Member
Jul 18, 2012
465
82
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
 

Attachments

  • uploadfromtaptalk1353576973049.jpg
    uploadfromtaptalk1353576973049.jpg
    30.6 KB · Views: 679

dmonger11b

Senior Member
Jul 18, 2012
465
82
Sent from my LG-MS770 using xda app-developers app
 

Attachments

  • uploadfromtaptalk1353577175608.jpg
    uploadfromtaptalk1353577175608.jpg
    40.2 KB · Views: 421

tele27

Senior Member
Apr 9, 2011
134
38
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
 

Attachments

  • uploadfromtaptalk1353577585911.jpg
    uploadfromtaptalk1353577585911.jpg
    54.3 KB · Views: 761

necksis

Member
Aug 2, 2012
37
13
Chicago, IL
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
 
Last edited:

Smurph82

Senior Member
Mar 17, 2011
249
45
Greensboro, NC
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.

  1. Action Launcher Pro
  2. Barcode Scanner
  3. Battery Widget? Reborn!
  4. BetterBatteryStats
  5. BusyBox
  6. CPU Spy
  7. Cerberus anti theft
  8. Chrome
  9. Falcon Pro(for Twitter)
  10. Gmail
  11. Google Authenticator
  12. Google Calendar
  13. Google Currents
  14. Google Drive
  15. Google Earth
  16. Google Play Books
  17. Google Play Magazines
  18. Google Play Movies & Tv
  19. Google Play Music
  20. Google Play services
  21. Google Reader
  22. Google Search
  23. Google Wallet
  24. Google+
  25. Ingress
  26. Maps
  27. Nexus 4 Display Control
  28. Root Explorer
  29. SQLite Editor
  30. Sky Map
  31. Snapseed
  32. Snowfall Live Wallpaper
  33. Speedtest.net
  34. Street View
  35. SuperSU
  36. SuperSU Pro
  37. SystemPanelLite Task Manager
  38. Tasks
  39. TeamViewer
  40. Voice Search
  41. Wave
  42. Wifi Analyzer
  43. XDA Premium HD
  44. Youtube
  45. Zooper Widget Pro
  46. franco.Kernel update
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    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.

    1. Action Launcher Pro
    2. Barcode Scanner
    3. Battery Widget? Reborn!
    4. BetterBatteryStats
    5. BusyBox
    6. CPU Spy
    7. Cerberus anti theft
    8. Chrome
    9. Falcon Pro(for Twitter)
    10. Gmail
    11. Google Authenticator
    12. Google Calendar
    13. Google Currents
    14. Google Drive
    15. Google Earth
    16. Google Play Books
    17. Google Play Magazines
    18. Google Play Movies & Tv
    19. Google Play Music
    20. Google Play services
    21. Google Reader
    22. Google Search
    23. Google Wallet
    24. Google+
    25. Ingress
    26. Maps
    27. Nexus 4 Display Control
    28. Root Explorer
    29. SQLite Editor
    30. Sky Map
    31. Snapseed
    32. Snowfall Live Wallpaper
    33. Speedtest.net
    34. Street View
    35. SuperSU
    36. SuperSU Pro
    37. SystemPanelLite Task Manager
    38. Tasks
    39. TeamViewer
    40. Voice Search
    41. Wave
    42. Wifi Analyzer
    43. XDA Premium HD
    44. Youtube
    45. Zooper Widget Pro
    46. franco.Kernel update
    1
    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