My nexus 4 does not go into sleep mode

Search This thread

zerohunk

Senior Member
May 15, 2012
187
38
Mumbai
Realme 7 Pro
MY nexus 4 is not going into sleep mode..i am on android 4.3 ..sometimes it goes into deepsleep perfectly and then suddenly it just doesnt sleep .. i checked wakelock detector and saw that it isnt going into sleep mode ..i checked better battery stats and power manager service is the one keeping the device awake .. then i went into battery and saw that android os is keeping the device awake! when i reboot the device then it goes into sleep mode properly but then again randomly it stops sleeping ... some1 plz helpp .. its causing too much battery drain..



the bbs log file is attatched


I hav uploaded some screen shots too but they are not the ones with the bbs log ..they wer taken at a different time..
 

Attachments

  • BetterBatteryStats-2013-07-28_152105112.txt
    5.7 KB · Views: 61
  • Screenshot_2013-07-28-11-25-27.jpg
    Screenshot_2013-07-28-11-25-27.jpg
    27.7 KB · Views: 878
  • Screenshot_2013-07-28-11-24-14.jpg
    Screenshot_2013-07-28-11-24-14.jpg
    19.3 KB · Views: 762
Last edited:

KiD3991

Inactive Recognized Contributor
Dec 21, 2012
1,250
1,102
Do you have alarms or anything of sort? (it might matter)

Disable all syncs, try to off (most) of those chat apps like wechat and line etc(go to settings>apps force stop), wechat in particular drains quite a lot.

I don't use stock but mine is close to it but I deleted lots of bloats from TB.

I only leave whatsapp on.

Infact, try out using Airplane, if even in airplane the battery still sucks, try reflashing everything using bootloader.
 

simms22

Recognized Contributor - R.I.P
Jun 4, 2009
34,053
25,934
BROOKLYN!
www.androidcommunity.com
the thread title says that your n4 doesnt go into sleep mode.. where do you have something showing this?? battery loss does not equal not going into sleep mode. have you checked if your device goes into sleep mode, or are you just assuming? use something like cpu spy to see if your device is going into sleep mode..


13+-+1
 

naenee

Senior Member
Apr 29, 2008
423
58
Google Pixel 6
Indeed, try CPU Spy. I use unrooted stock 4.3 and mine deep-sleeps just fine.

Sent from my Nexus 4 using Tapatalk 4 Beta
 

zerohunk

Senior Member
May 15, 2012
187
38
Mumbai
Realme 7 Pro
the thread title says that your n4 doesnt go into sleep mode.. where do you have something showing this?? battery loss does not equal not going into sleep mode. have you checked if your device goes into sleep mode, or are you just assuming? use something like cpu spy to see if your device is going into sleep mode..


13+-+1

this happened when i rebooted it .. it went into deep sleep perfectly for 2-3 hours after that and then after 3 hours it stopped going into deep sleep again even with screen off for 4-5 hours more..



here are some screenshots of my current batteery stats
 

Attachments

  • Screenshot_2013-08-02-10-01-15.jpg
    Screenshot_2013-08-02-10-01-15.jpg
    34.3 KB · Views: 277
  • Screenshot_2013-08-02-10-01-37.jpg
    Screenshot_2013-08-02-10-01-37.jpg
    23.8 KB · Views: 250
  • Screenshot_2013-08-02-10-05-48.jpg
    Screenshot_2013-08-02-10-05-48.jpg
    28.1 KB · Views: 265
  • Screenshot_2013-08-02-10-05-52.jpg
    Screenshot_2013-08-02-10-05-52.jpg
    19.5 KB · Views: 237
  • Screenshot_2013-08-02-10-22-13.jpg
    Screenshot_2013-08-02-10-22-13.jpg
    37.4 KB · Views: 240
Last edited:

simms22

Recognized Contributor - R.I.P
Jun 4, 2009
34,053
25,934
BROOKLYN!
www.androidcommunity.com
this happened when i rebooted it .. it went into deep sleep perfectly for 2-3 hours after that and then after 3 hours it stopped going into deep sleep again even with screen off for 4-5 hours more..



here are some screenshots of my current batteery stats

those screenies tell a better story. 48% android os is way to high! it seems as it gets stuck doing something.
 

andrewf403

Senior Member
Jul 4, 2007
167
154
Odessa
This is battery stats from the first day after OTA: http://imgur.com/Bn9B8FA
You can clearly see when device stop going to sleep, and Android OS drained battery for more than 11 hours.
When I saw this, I rebooted the phone, and next day everything was OK. Battery life was even better, than with 4.2.2. But after third day, Android OS was again on top of the list. Again, reboot had solved problem only temporary. Wake lock stats app does not show anything unusual. I'm runing stock not rooted firmware. If I do not find any solution, I'll just wipe it on weekend in hope it'll help.
 

andrewf403

Senior Member
Jul 4, 2007
167
154
Odessa
@zerohunk @andrewf403

Hi, I was facing the same issue.
So did you guys do a factory reset? Did it solve the problem?

I made a new thread with all the data, in hope that somebody could help figure this out, but two days and no one else posted there) http://xdaforums.com/showthread.php?t=2392155

Nexus 4 is my main phone and I rely on it in my work very much, so I'm trying to postpone factory reset as far as possible. I think I'll have not very busy day on Thursday so I'll finally reset it and reinstall everything.
 

mlj11

Senior Member
Sep 7, 2010
88
8
I made a new thread with all the data, in hope that somebody could help figure this out, but two days and no one else posted there) http://xdaforums.com/showthread.php?t=2392155

Nexus 4 is my main phone and I rely on it in my work very much, so I'm trying to postpone factory reset as far as possible. I think I'll have not very busy day on Thursday so I'll finally reset it and reinstall everything.

Hi, I just replied in your new thread.
 

zerohunk

Senior Member
May 15, 2012
187
38
Mumbai
Realme 7 Pro
@zerohunk @andrewf403

Hi, I was facing the same issue.
So did you guys do a factory reset? Did it solve the problem?

factory reset did not solve the problem for me .. i am trying to find out what is the app/reason which keeps the device awake so that i can by any means avoid using it or something :/ .. but no one seems to have an idea .. can anyone atleast find out and let us know which app/setting or whatever is causing the phone to stay awake??