[Q] Something keeps waking up my N10, I don't know what. ? - Nexus 10 Q&A, Help & Troubleshooting

I have the screen off, and every 15 or 20 minutes, the screen will turn back on to the lock screen until the sleep timer goes off again. How can I figure out what this is? I thought it was a lock widget updating (Agenda Widget) but even with no lock widgets it sometimes comes back on. I thought it was location services from some app (Prey, etc.) because sometimes immediately upon wake there's a little location notification icon but I turned that off and no help. Sometimes there's a Gmail icon, but I've tested it where I clear all my notifications, and then on my laptop, I send an email and I get the audio notification, but no wakeup. I'm stumped and it's quite annoying, can anybody help?

I do think it's location-based. I've turned off location pinging in as many apps as I can see (Prey, FB, etc.) even though global location was already off and now it's about once every 40 minutes that it wakes on its own.

anybody?

I would download https://play.google.com/store/apps/details?id=com.asksven.betterbatterystats
If you don't want to buy it (and I really recommend you do) search on this forum about how to fix partial wake locks. There's a lot of info on how to fix this.

dmot7291 said:
I would download
If you don't want to buy it (and I really recommend you do) search on this forum about how to fix partial wake locks. There's a lot of info on how to fix this.
Click to expand...
Click to collapse
Thanks, I have that installed now, and am monitoring, I'll update with more info later, but thanks for the lead. I'm supposed to be looking for partial wakelocks since unplugged, right?

Related

Screensaver that powers off screen but leaves device running?

Hi,
I've searched for several hours now in these forums and on Google, with no success.
I need an app that leaves the device switched on, but powers off the screen.
In settings/power I can dim the screen, but there is no setting to dim it completely or just switch it off.
I've found screensavers that can show a blank screen, but the screen is still actually powered up, just showing a black image presumably.
I've found apps that can switch off the screen. But you have to manually click on them to switch off the screen.
Does anyone know of a screensaver that after a set interval will leave the device running, but power off the screen please?
Suspend is no good, the device must be up and running apps.
Thanks for your help.
ClearOutLoft said:
Hi,
I've searched for several hours now in these forums and on Google, with no success.
I need an app that leaves the device switched on, but powers off the screen.
In settings/power I can dim the screen, but there is no setting to dim it completely or just switch it off.
I've found screensavers that can show a blank screen, but the screen is still actually powered up, just showing a black image presumably.
I've found apps that can switch off the screen. But you have to manually click on them to switch off the screen.
Does anyone know of a screensaver that after a set interval will leave the device running, but power off the screen please?
Suspend is no good, the device must be up and running apps.
Thanks for your help.
Click to expand...
Click to collapse
What apps are you trying to "keep running"? The only thing that might be an issue when the screen goes into it's normal sleep mode is that audio will stop outputting, and wifi connections will suspend, but there's cabs available here to easily get around both of those (and keep them going even when the screen shuts off).
Well, it's actually to solve another long-running problem that has made me almost lose the will to live....
Alarms don't go off reliably on my TP2.
Sometimes, randomly, the alarm doesn't go off until I press the power button to wake it up. The the alarm instantly goes off. So, if I set an alarm for 6am, sometimes the phone wakes up and the alarm sounds, sometimes not. And if I switch the phone on manually sometime later, at 6:15 say, the 6am alarm sounds then.
It will work fine for a few days, then fail.
It happened on WM6.1 and still continues after upgrading to WM6.5.
I have spent countless hours googling and searching XDA-Dev. I have tried probably ten different alarm apps, with no luck. I have hard-reset various times. I have tried various recommended registry tweaks. I've tried checking the notification queue regularly for any errors. I've tried so many different suggestions, for example, never pressing the power button to turn the phone off, only ever let it hibernate automatically. Warm-resetting it each day. And the list goes on.
So, I'm experimenting with just leaving the phone on forever. But turning the screen off at night to save power / not shorten the life of the screen hardware.
Which leads me to the question about screensavers which actually power off the screen automatically after a set delay. Just like a normal screensaver on a PC.
It's hard to easily convey the frustration I have for the TP2. An excellent phone. But a phone which I can't trust to do the simplest thing: to wake me up in the morning?
It'll end up in the bin at some point very soon now.....
A suggestion
Hi,
In my opinion there must be an application, change or customisation that is leading you to those problems. My suggestion is, to perform a sync towards any computer or server to keep your contacts, then, hard reset and keep the phone with the factory defaults for a while. Then, test the phone's alarms and if all is okay, add one by one your applications and changes, testing the alarms in between. Please do that on the official ROM (whatever 6.5 or 6.1) but official one. You will flash if needed later on.
I know it will be a pain, but you will find the problem.
I am using a TP2 with stock WM6.5 ROM. I have not had yet any issue with the alarms. However, I remember to have had those kind of problems before with WM 5.0 and 6.1. There were always related to freeware applications, customisations, no official ROMs, registry hacks and restored backups done from older builds upon upgrade. The alarm bug in old WM version was also known, but I have not experienced it on newer versions.
There can be some issues with the notification database by times, but as said above, it is almost every time due to customisations.
I am not saying that we should keep our phones without applications, third party software, cooked ROMs, customisation etc. But the goal is to find out what is the reason, and believe me. It is the best if not only way.
If you post the list of applications and hacks that you have in your phone, I can try to see if there is any I could identify like guilty one, based on my own experience.
Complementary, I recommend you to install and use these two applications in attachment. They have worked for me on WM5, 6, 6.1 and 6.5 so far. They are freeware and therefore you can use them without problems.
Good luck!
Thanks for taking the time to reply. All very good advice. I'll have a go when I've got some free time again. In the meantime, has anyone come across a screensaver that actually powers off the screen please?
Thanks again.
ClearOutLoft said:
Well, it's actually to solve another long-running problem that has made me almost lose the will to live....
Alarms don't go off reliably on my TP2.
Sometimes, randomly, the alarm doesn't go off until I press the power button to wake it up. The the alarm instantly goes off. So, if I set an alarm for 6am, sometimes the phone wakes up and the alarm sounds, sometimes not. And if I switch the phone on manually sometime later, at 6:15 say, the 6am alarm sounds then.
It will work fine for a few days, then fail.
It happened on WM6.1 and still continues after upgrading to WM6.5.
I have spent countless hours googling and searching XDA-Dev. I have tried probably ten different alarm apps, with no luck. I have hard-reset various times. I have tried various recommended registry tweaks. I've tried checking the notification queue regularly for any errors. I've tried so many different suggestions, for example, never pressing the power button to turn the phone off, only ever let it hibernate automatically. Warm-resetting it each day. And the list goes on.
So, I'm experimenting with just leaving the phone on forever. But turning the screen off at night to save power / not shorten the life of the screen hardware.
Which leads me to the question about screensavers which actually power off the screen automatically after a set delay. Just like a normal screensaver on a PC.
It's hard to easily convey the frustration I have for the TP2. An excellent phone. But a phone which I can't trust to do the simplest thing: to wake me up in the morning?
It'll end up in the bin at some point very soon now.....
Click to expand...
Click to collapse
do you turn your ringer to silent or vibrate when you go to bed? if so,
go to start/settings/clocks&alarms/more and make sure that the "sound alarms box" is checked. this will make sure that even if your phone ringers/alerts are off, your alarm will ring. also, if you charge your phone while you sleep, go to the backlight settings and uncheck the "turn screen off on ac power" box. if you cant sleep with the phone light on, set it to max dim on ac power and flip it over. i always had this issue when i had the tmobile wing.
ClearOutLoft said:
Hi,
I've searched for several hours now in these forums and on Google, with no success.
I need an app that leaves the device switched on, but powers off the screen.
In settings/power I can dim the screen, but there is no setting to dim it completely or just switch it off.
I've found screensavers that can show a blank screen, but the screen is still actually powered up, just showing a black image presumably.
I've found apps that can switch off the screen. But you have to manually click on them to switch off the screen.
Does anyone know of a screensaver that after a set interval will leave the device running, but power off the screen please?
Suspend is no good, the device must be up and running apps.
Thanks for your help.
Click to expand...
Click to collapse
S2U2 on this forum.
try g alarm.it worked perfect for me with tilt
I have similar Issues with my TP2;
I notice that it is more to do with HIBERNATING than screen off.
My TP2 has go to the point where allowing it to go to hibernation means Screen of Death.
Overnight I charge it and do not let the screen go off and it seems ok (so far).
Guess I will have to Hard reset and test my freeware.
Cheers
G
I had the exact same problem. When the phone goes to sleep, it is ASLEEP. I didn't use the alarm too much but the phone would never notify me when SMS arrived. I'd hit the power switch to check, and bam, three messages arrive at once, some from hours ago. Immensely frustrating, but the problem went away when I installed Energy rom.

[Q] Deep sleep investigation app ?

Hi,
i tryed to investigate what app/process is always waking my phone from deep sleep.
is there may an app out there wich can do that ?
as u see in the screenshot theres something triggering like every minute ... while screen is off.
i can exclude my sync settings (exchange mail, gmail, facebook, greader, weather)
as i tryed disabling them all and no change
also checked logcat, but theres alot happening ...
thanks ahead
last time in sgs1, i use to be able to do that with Spare Parts. Under battery history, you can select to see which apps were keeping the cpu awake. But it doesnt work in sgs2 and seems to have ceased development.
Someone else wrote Spare Parts+, but the same battery history functions says something about incompatible rom.
CPU Spy does exactly what you want.
prodygee said:
CPU Spy does exactly what you want.
Click to expand...
Click to collapse
huh, i use cpu spy here, but cant find an option wich apps causing no deep sleep ...
all i see which modes been active and how long, like 40 min deep sleep, 5 min 200 mhz, ...
may a hint where to look ?
thanks ahead
someone has posted "battery history for gingerbread" you can use that to check partial wake usage - OR id suggest looking at logcat. ignore everything that scrolls at the beginning logcat will show only a few lines every minute or so - you should be able to find out whats happening there.
ok, after a long search what this could be i finally found it (1 day marathon installing ...)
its the latitude in maps wich is causing this ...
bad thing is, doesnt change when only turning it off, have to kill process and clear
data in app to solve the 1 min wakeup ... then maps is working normal and no more
wakeup´s from deep sleep, the reason why i didnt figured before ...
i hope google will fix this one day or give a choice how often it syncs ...
just in case someone is interested.
alturismo said:
ok, after a long search what this could be i finally found it (1 day marathon installing ...)
its the latitude in maps wich is causing this ...
bad thing is, doesnt change when only turning it off, have to kill process and clear
data in app to solve the 1 min wakeup ... then maps is working normal and no more
wakeup´s from deep sleep, the reason why i didnt figured before ...
i hope google will fix this one day or give a choice how often it syncs ...
just in case someone is interested.
Click to expand...
Click to collapse
Thanks for creating the thread.
How did you check that Latitude was awaking the device? By what app?
Everything was going fine for me till yesterday night it started to Awake again while screen is off. Believe me it really pisses me off. It's a disgrace of Android OS, ehh.
Here, why the underlined Reds are there? (Nothing is set to Auto Sync, No Widgets, No push-pull Email)!!!
I tried to see what's running and awaking the device and used these software's, SeeCPU, CPU Spy, 3G Watchdog, but none of them shows anything.
i know its a pain
also tested system panel, quick system info (logcat), ...
at the end i made an trial and error, installed one by one, started, rebooted, checked.
after each setting change same procedure ... after almost a whole day i activated
latitude and checked in there ... voila, only way to get rid of afterwards is clear data
on googlemaps app and turn latitude off ...
sorry that i cant help u further, but i gave up on all kinda apps checking ...
It's a PITA. I so hate it. Well I also will try to get rid of this damn Latitude stuff and see what happens further and post back.
Regards.
PS- Well how do you turn this latitude off? I can only Sign Out of it!
Try BetterBatteryStats.
I have similar battery graph like you, alturismo, but with the difference that it's not consistent 1min wake always, but certainy most of the time. Also tried different tools to find that out, but the only thing I figured is that maps are trigered by certain app_84 and app_68, but didn't found out what apps these are.
Nevertheless, I never checked to Latitude and the odd thing is that I have a high % usage on maps and Sygic (navigation) even though I haven't used them for weeks. So I'll try to clear data on maps now, thanks for the hint.
Update: I was indeed checked into Latitude. Seems that it was automatially set up after registering the google account. :S
dont forget to clear data in app settings from maps, otherwise the wakeups keep ...
then u can use maps normally again
Strange .. I simply sign off latitude (well it's a bit hidden option, but it is there) .. and latitude is KO. Also when I am on latitude, maps shows in apps in battery stats.

Not getting certain notifications when my phone is locked + screen off?

Hey guys,
I've noticed something since I got my phone and that is that certain notifications (Snapchat and Messenger are the main 2 for at the moment) will not make a sound unless my phone is either: Unlocked or locked with the screen turned on. Sometimes I won't get even get the notification until I actually unlock my phone which then all the notifications (sometimes 10+ messages in a facebook group) will pop up and vibrate my phone multiple times.
Is anybody else experiencing this or know how to fix it?
Thanks in advance!
How long is your phone sitting still for? This might be Doze stopping those apps from syncing until you pick up the phone. Or Greenify, if you're using that.
fury683 said:
How long is your phone sitting still for? This might be Doze stopping those apps from syncing until you pick up the phone. Or Greenify, if you're using that.
Click to expand...
Click to collapse
Hi, thanks for responding. Unfortunately this occurs during testing the issue after ~20seconds or less, so It doesnt seem to be an issue with Doze, and I don't use greenify.

Problem with push notifications when phone is sleeping / idle

Hello!
I'm running a stock Verizon HTC 10 with the latest OTA updates. This phone seems to have a problem with push notifications after it has been "sleeping" or idle for awhile. I don't know exactly what that time period is, but it seems to be about 30 minutes. Once the screen goes black and the phone has been idle in this state for this time period, the phone stops getting (or checking for-however that works) push notifications. There is no blinking LED or sound notification that mail has come for gmail or Outlook. The phone will still answer calls and notify upon receipt of text messages. Usually within a few seconds of turning the screen on from the idle state, the gmail and Outlook notifications come. When the phone screen is on, or within a few minutes of turning the screen off, the push notifications will still come, but then stop.
I googled about this, and there seems to be quite a bit of discussion about it. I have tried the suggested remedies, but they don't work (unsync/sync gmail, clear data/cache for the apps, turn battery optimization off, delete/re-add accounts, along with some others). For work, I have a Samsung Galaxy S7, and it doesn't have this problem. Furthermore, my wife also has an HTC 10, and her phone doesn't seem to have the problem either (although I have not tested it thoroughly).
I've been through various settings, checked the do not disturb settings, but I can't seem to figure this out. I am probably missing some setting. It seems that the phone is going into some deep sleep mode after a period of time and disabling these apps, but keeping others, like the phone and SMS functions, alive.
Any suggestions?
Thanks!
jbhtexas said:
Hello!
I'm running a stock Verizon HTC 10 with the latest OTA updates. This phone seems to have a problem with push notifications after it has been "sleeping" or idle for awhile. I don't know exactly what that time period is, but it seems to be about 30 minutes. Once the screen goes black and the phone has been idle in this state for this time period, the phone stops getting (or checking for-however that works) push notifications. There is no blinking LED or sound notification that mail has come for gmail or Outlook. The phone will still answer calls and notify upon receipt of text messages. Usually within a few seconds of turning the screen on from the idle state, the gmail and Outlook notifications come. When the phone screen is on, or within a few minutes of turning the screen off, the push notifications will still come, but then stop.
I googled about this, and there seems to be quite a bit of discussion about it. I have tried the suggested remedies, but they don't work (unsync/sync gmail, clear data/cache for the apps, turn battery optimization off, delete/re-add accounts, along with some others). For work, I have a Samsung Galaxy S7, and it doesn't have this problem. Furthermore, my wife also has an HTC 10, and her phone doesn't seem to have the problem either (although I have not tested it thoroughly).
I've been through various settings, checked the do not disturb settings, but I can't seem to figure this out. I am probably missing some setting. It seems that the phone is going into some deep sleep mode after a period of time and disabling these apps, but keeping others, like the phone and SMS functions, alive.
Any suggestions?
Thanks!
Click to expand...
Click to collapse
Are you using power saver mode? What about the boost+ app?
Also a lot of people started having similar issues after the first update to Nougat for U.S Unlocked. Later updates fixed the issue, but it sometimes still happening with Gmail for me.
Tarima said:
Are you using power saver mode? What about the boost+ app?
Also a lot of people started having similar issues after the first update to Nougat for U.S Unlocked. Later updates fixed the issue, but it sometimes still happening with Gmail for me.
Click to expand...
Click to collapse
I am not using power saver mode, and the Verizon version doesn't have the boost+ app installed.

Notifications wonky after Pie update

Has anyone else noticed that notifications seem to be super slow in coming after the Pie update? Line and Email can take up to two hours to exhibit a notification. I've looked at the notifications area of the apps, and nothing appears to have changed that I can see, and I can't find anywhere in Pie to tell it to allow more background time for these apps. I've tried force stopping and restarting with no change.
If anyone has any idea on what is going on, and how to fix it, your help would be most appreciated. Being told your wife left you a Line message 2 hours after she did so, or that your kid sent an email 2 hours earlier, is NOT conducive to a happy home life.
Nobody else has this issue? It appears to be connected to the fact that the phone is sitting undisturbed for a long period of time. If I am carrying the phone around with me, the notifications seem to come as expected, but if the phone is just sitting on my desk for a while, they seem to come from minutes to hours later.
You could try to whitelist those apps on Battery Optimization
I'm no expert, but from what you describe sounds like the phone is entering into Doze and notifications cannot come until the next maintenance window
If a user leaves a device unplugged and stationary for a period of time, with the screen off, the device enters Doze mode. In Doze mode, the system attempts to conserve battery by restricting apps' access to network and CPU-intensive services. It also prevents apps from accessing the network and defers their jobs, syncs, and standard alarms.
Click to expand...
Click to collapse
https://developer.android.com/training/monitoring-device-state/doze-standby
I think white listing the app prevents this behaviour
It does sound like you are correct and the phone is entering Doze mode, delaying the notifications. Thanks for that!
I will check into how to add the email and Line app to a whitelist for Doze. Hopefully it's a simple task, but I don't see anything under Battery doing a quick scan.
Just a follow up. After much searching and reading, I finally found where to turn off battery optimization for the two apps I needed notifications from. FYI:
Most things on the web say to go to Settings->Battery, then hit the three dot menu and select Battery Optimization. This does not appear on my phone. (see screenshot) To get to the list of optimized apps, you need to Search->Battery Optimization, select Battery Optimization from the results (it will take a few seconds to load), then tap Not Optimized and select All Apps. Find the app you want, tap it, then select Don't Optimize. You can also go to Apps and Notifications->Advanced->Special app access->battery optimization.
Whether this will actually fix the problem is another question entirely as most posts say that Doze continues to work. I guess we shall see.
I hope this saves someone the aggravation of trying to find something directly relating to Pie. Most things out there are for older builds.
Also, I turned off Adaptive Battery to see what the actual difference is in my light usage use case. If you are interested in the results of this test, let me know and I will post here.
Glad you were able to whitelist those apps.
I think it's weird anyway, as far as I know deep doze takes hours to trigger and the device has to be completely still. Any movement would take the device off deep sleep and enter a less aggressive doze (where notifications would be checked more often)
You did mention this is your case (you were leaving your device on your desk) but just for curiosity, how long approx would you leave your phone unattended?
Thanks and I hope this solves your issue.
Tepig said:
Glad you were able to whitelist those apps.
I think it's weird anyway, as far as I know deep doze takes hours to trigger and the device has to be completely still. Any movement would take the device off deep sleep and enter a less aggressive doze (where notifications would be checked more often)
You did mention this is your case (you were leaving your device on your desk) but just for curiosity, how long approx would you leave your phone unattended?
Thanks and I hope this solves your issue.
Click to expand...
Click to collapse
Unlike some folks, I am not tied to my phone. It often sits on the desk undisturbed for 3 or 4 hours during the day unless a notification comes in and I pick it up to look at it. Most of my screen time is on my computer, so the phone is the external brain when out and about, but not used much otherwise. At night, I turn on airplane mode until I get up the next day, then turn it off. I'm a retired software engineer, so have no real need for constant communication anymore, and I like it that way.

Categories

Resources