Huawei P9 lite - wakelock problems / battery drain - Huawei P9 Lite Questions & Answers

Hi everyone,
since last weekend i own a p9 lite and i am quite happy with it. But what keeps me a little bit confused is the battery usage of the phone. I see people posting awesome battery life for this phone.
I don't see that i get near to this (they have about 5h of DoT and about 2 Days of usage).
After taking a look into the batterymanager i see that my phone stays awake almost all the time and i don't know why. Even with wakelock-detector i can get behind the massive wakelocks i get.
Is there any way i can fix this problem? Thanks in adwance for your help

ok, i digged a little bit deeper and found some quite interesting behaivor.
It looks like i am getting those wakelocks only when the phone is connected to the wifi network.
Without an active wifi connection everything is fine, even with active wifi module (wifi not deactivated in phone).
I am currently not shure how this could even be possible. If anybody has an idea about that, i would be very happy.

johnwho2410 said:
ok, i digged a little bit deeper and found some quite interesting behaivor.
It looks like i am getting those wakelocks only when the phone is connected to the wifi network.
Without an active wifi connection everything is fine, even with active wifi module (wifi not deactivated in phone).
I am currently not shure how this could even be possible. If anybody has an idea about that, i would be very happy.
Click to expand...
Click to collapse
Well if you want to save your battery and make it last for two days.. Turn off..wifi.. mobile data..gps..nfc..wifi hotspot.. just turn off everything if you don't need them.. and open phone manager..turn off all the protected apps that you don't want to get notifications from..like games.. and the apps that works offline..they will stay closed till u open them and that saves battery.. and change the power plan to Smart.. Also if you have Xposed installed... uninstall it

johnwho2410 said:
ok, i digged a little bit deeper and found some quite interesting behaivor.
It looks like i am getting those wakelocks only when the phone is connected to the wifi network.
Without an active wifi connection everything is fine, even with active wifi module (wifi not deactivated in phone).
I am currently not shure how this could even be possible. If anybody has an idea about that, i would be very happy.
Click to expand...
Click to collapse
Same problem.
The wakelocks are not specific to this phone.
It is a universal Android problem
If you are on Wi-Fi. And your wifi network has a lot of devices in it that always broadcasts, like in work or in public places, it will cause your phone to always be awake and receive packets.
To isolate if this is a problem. Use Connectify and create a wifi hotspot if you can. Then connect only your phone in it. If your phone sleeps in the 30 minutes of no usage. Then you found out your real cause.

Thanks for these information. It looks like it was exactly this problem.

Related

Battery drains 50% a day...whilst idling!

Guys,
pretty much as the topic says...it drains about 40 to 50% a day when it is idle....if I am using it it can be anything up to a 1% a minute.
Any hints on where to look - tried using battlog to log the usage but i cannot open the subsequent file at all.
Wiggz said:
Guys,
pretty much as the topic says...it drains about 40 to 50% a day when it is idle....if I am using it it can be anything up to a 1% a minute.
Any hints on where to look - tried using battlog to log the usage but i cannot open the subsequent file at all.
Click to expand...
Click to collapse
Wiggz,
Try checking if you're in a dead-zone with no reception? (Your phone may be constantly trying to search for a signal). Do this for Wi-Fi too. Make sure it is not constantly scanning for a network.
Similarly, open up your task manager. How many programs do you see running in the background? Remember that pressing X in Windows Mobile does not mean it closes the application, it only means that the application is minimized.
Cheers.
Wifi is hardly ever on. My signal is always constant, but I have my data connection on 24/7 for emails. The only program I ever see consume CPU power when idle is "changescreen". I always check that a program has closed properly when I click the 'x'.
I know data connection on eats some battery but jesus - not that much surely?
Wiggz said:
Wifi is hardly ever on. My signal is always constant, but I have my data connection on 24/7 for emails. The only program I ever see consume CPU power when idle is "changescreen". I always check that a program has closed properly when I click the 'x'.
I know data connection on eats some battery but jesus - not that much surely?
Click to expand...
Click to collapse
Wiggz,
The question remains, how many programs do you see when you open up the task-manager? You did not answer the question.
From what I've observed with my friend's Toshiba Portege, he lost 30% in an hour. He did not realize that he had 15-ish programs "idling" in the background with very little RAM use. Long story short: Turn everything off if you don't need it and just keep the Task Manager running. He now goes through the night with 1 ~ 2% loss.
Good day.
PoisonWolf said:
Wiggz,
The question remains, how many programs do you see when you open up the task-manager? You did not answer the question.
From what I've observed with my friend's Toshiba Portege, he lost 30% in an hour. He did not realize that he had 15-ish programs "idling" in the background with very little RAM use. Long story short: Turn everything off if you don't need it and just keep the Task Manager running. He now goes through the night with 1 ~ 2% loss.
Good day.
Click to expand...
Click to collapse
When I open up task manager I see 4 applications running (taskmgr, manila, cprog x2) - when I check the processes I have many more obviously. However these are all processes I'd expect to be running (gwes.exe, cprog.exe, device.exe, services.exe etc...)
Any more advice?
Wiggz said:
When I open up task manager I see 4 applications running (taskmgr, manila, cprog x2) - when I check the processes I have many more obviously. However these are all processes I'd expect to be running (gwes.exe, cprog.exe, device.exe, services.exe etc...)
Any more advice?
Click to expand...
Click to collapse
Wiggz,
Unfortunately, that's all from me (I dont even have this phone yet, I'm saving up for it in the next couple of weeks). Try turning off your data and see how it goes. But damn, 50% loss just on idling, something in the background is definitely killing the battery.
Cheers!
Thanks for the help anyway - annoying the crap out of me. My Artemis used to go for days without needing a charge...I suppose my battery could be screwed but I want to troubleshoot first before I bite the bullet on that one - suppose I could hard reset and see what the drain is?
Things idling in RAM should not have any significant hit on the battery life. However, having the data connection on 24/7 will indeed kill your battery life, especially if you're using 3g or higher (Edge drains alot aswell, but not as much as 3g and higher). Since emails seem important to you, I'm guessing you have it set to dl every 5min (which is the most frequent setting). If applicable, change it to 10 or 15; granted it's possible you do need to get your emails ASAP and you need the 5min frequency. Now regardless whether you changed the frequency of the auto dl or not, set your data connection to terminate after a 1min of not being used. This should help you get a good bit more out of your battery.
(I have emails dl every 30min and RSS feeds and push pages once an hour. Data enables itself when needed and then terminates after a minute of not being used. This allows me to get much more than a days usage out of the phone. The only way I kill the phone is if on top of all that, I listen to music/radio for about 6 hours)
Hope it helps
oh, and in case you don't know, HD Tweak is one way to terminate data after X amount of time of not being used.
do you have stock or cooked rom btw? duttys v3 xt, for example, is known to drain battery a lot.
Svegetto said:
oh, and in case you don't know, HD Tweak is one way to terminate data after X amount of time of not being used.
Click to expand...
Click to collapse
Cheers for this. I have HD Tweak and have tried that data connection termination setting before, however there is a little comment along with it that it can stop data and/or voice calls. Has anyone had any issues with it?
Thanks
i had similar problem, battery got drained overnight or during the day with a speed of light... but in my case the bad boy was Palringo (IM) which was auto starting with every phone reset and did not show on taskbar...it is so bad that it drained fully charged battery in aprox. 6-7 hours. so now i hardly use it, and whenever i do i make sure its closed properly....
Wiggz said:
Cheers for this. I have HD Tweak and have tried that data connection termination setting before, however there is a little comment along with it that it can stop data and/or voice calls. Has anyone had any issues with it?
Thanks
Click to expand...
Click to collapse
personally I have had no issues whatsoever. The voice calls that I'm guessing they're referring to is VOIP which uses your data plan to make the call as I don't see why it would interfere with normal calls. I think the easiest thing is just to give it a try, and if it doesn't work for you, then let us know and hopefully we'll be able to come up with a different solution.
Svegetto said:
personally I have had no issues whatsoever. The voice calls that I'm guessing they're referring to is VOIP which uses your data plan to make the call as I don't see why it would interfere with normal calls. I think the easiest thing is just to give it a try, and if it doesn't work for you, then let us know and hopefully we'll be able to come up with a different solution.
Click to expand...
Click to collapse
Well the reason I mentioned it was that I enabled that as one of a number of weaks and ended up having to hard reset as I wasn't getting Texts in a timely manner etc....it was probably another setting but I couldn't be sure.
Will try again. Only other thing is that data connection on 24/7 is great for a quick browse here and there and stock updates etc...
crashDebug said:
do you have stock or cooked rom btw? duttys v3 xt, for example, is known to drain battery a lot.
Click to expand...
Click to collapse
why is that, by the way?
You haven't got Sprite Virtual Mobile installed have you? I tried it out on my HD and it sucked the life out of it for some strange reason. And it wasn't even showing up in task manager.
Is there a list of processes, services etc that we can safely remove/disable to work in the background? What say all?
glad this thread came up - my blackstone has been absolutely fine until I had the genius idea of "optimising" everything about 2 weeks ago with HD Tweak...
Now it's not HD Tweaks fault, but whatever I have changed means that it can drain a full charge overnight, and by morning its nigh on empty, i'm going to try and change it all back today, but for sure some setting I've changed is sucking juice like no-ones business.
FWIW - I havent installed anything during this time, the only thing i've changed is some of the settings - so it's not a "rogue" app draining the battery.
OT - sorry for the semi-hijack - I guess my point is that i'll have a play with the settings and see if I can determine what's eating the battery and then compare with other people.
that's fine (re: hijack) I think the two topics are closely connected.....not sure of the answer though
Wiggz said:
that's fine (re: hijack) I think the two topics are closely connected.....not sure of the answer though
Click to expand...
Click to collapse
ta - me either - i've changed a few settings and made a note - will post if it doesnt eat the battery overnight over the next couple of days.

So... is the LEO finally an Always-On device?

Hi everyone!
I'm having a tough time deciding whether to get an HD2 or a Nokia N900, mainly because of one main feature on the N900: As far as I can tell, the Nokia N900 allows you to stay online (Instant Messaging, VoIP) permanently, even when the device is in standby - so ICQ, Skype, SIP, MSN are all connected, and if you get a new message or a call, the device will notify you.
I haven't used many modern WinMo devices, so I'm not sure if anything similar to this is possible with WinMo 6.5 (I've used WM6.5 ROMs on my Prophet, but I'm guessing a lot of features were stripped out to make them run at all )... is it possible to do this on the Leo?
I want the device to _always_ be online - if there's WiFi it should connect to that, and if not then it should connect to cellular data. This should obviously also be automatic, so that I don't have to manually log onto the WiFi every time I get home or to university...
Is this use supported? Or would it be more of a hack that runs down the battery like crazy (IIRC you can turn on WiFi permanently, so that it doesn't turn off when you put the phone in standby - not sure if the apps would stay connected, though)...
Thanks in advance!
I think the HD used to turn wifi off when the phone went into standby (I don't think I ever used wifi), but it used to stay connected over 3g for IM and the like when you turned the phone off (stand by)
Oh really? I thought 3G was turned off too... well, I guess that's a step in the right direction.
Anyone know about WiFi and automatic switching?
By default the WIFI is switched off when in standby, but it's possible to change it.
However, having WIFI always on will drain the battery completly.
Regarding to the automatic change, no idea!
And there's no way to lower the WiFi signal strength enough so that it doesn't drain the battery? What if you set WiFi power mode to best battery? On my Prophet it's unusable because the signal is nearly nonexistant, but I was hoping that they'd have changed this for the HD2...
Ideally it'd lower the signal strength as far as possible without dropping the signal when in standby, and then power up to a sufficient speed when the device is actually on...
Wi-Fi only turns off if you want ot too. You can change the way Wi-Fi works in the settings and let it be always on, even if you turn off the screen.
Is this new on the Leo?
Does that drain the battery quickly? Or is it in a low-power mode?
Even with the Best battery setting it won't last too long, I'm afraid. Or, as you have said, it won't have good enough reception to actually connect to anything.
I have no idea how this is implemented in Nokias, it actually sounds like a kind of magic if you're saying it doesn't kill the battery.
I've never heard about an automatic switching solution (or even about the problem, for that matter). It's relatively easy to implement periodic polling but even that will have serious adverse effect on your battery.
bemymonkey said:
Is this new on the Leo?
Does that drain the battery quickly? Or is it in a low-power mode?
Click to expand...
Click to collapse
It's been on WM since times immemorial - it's a registry setting, and there are programs that allow you to change it without manually tweaking your registry.
Yes, it does drain your battery, even in low-power mode.
vangrieg said:
Even with the Best battery setting it won't last too long, I'm afraid. Or, as you have said, it won't have good enough reception to actually connect to anything.
Click to expand...
Click to collapse
Ah, so the Best Battery setting is still completely useless. Good to know.
vangrieg said:
I have no idea how this is implemented in Nokias, it actually sounds like a kind of magic if you're saying it doesn't kill the battery.
Click to expand...
Click to collapse
I'm not quite sure myself, but that's what a few of the nice people over at talk.maemo.org told me . I just hope I didn't misinterpret what they were saying
vangrieg said:
I've never heard about an automatic switching solution (or even about the problem, for that matter). It's relatively easy to implement periodic polling but even that will have serious adverse effect on your battery.
Click to expand...
Click to collapse
Meh. Think 12 hours is doable with polling?
vangrieg said:
It's been on WM since times immemorial - it's a registry setting, and there are programs that allow you to change it without manually tweaking your registry.
Yes, it does drain your battery, even in low-power mode.
Click to expand...
Click to collapse
OK, so it's the same feature that's existed for a long time... I thought it was something new, that actually made sense (i.e. didn't drain the battery so frikken fast...).
Please note that I don't have HD2 myself, so I can only guess how it's going to work there.
Meh... you sounded so authoritative that I figured you must have one
bemymonkey said:
Ah, so the Best Battery setting is still completely useless. Good to know.
Click to expand...
Click to collapse
Who says it's completely useless? It does save battery, I use this mode all the time on HD. Speed is lower though.
bemymonkey said:
Meh. Think 12 hours is doable with polling?
Click to expand...
Click to collapse
It definitely should last 12 hours unless you poll every 5 seconds or so, but what will happen if it connects to Wi-Fi while in your pocket?
vangrieg said:
Who says it's completely useless? It does save battery, I use this mode all the time on HD. Speed is lower though.
Click to expand...
Click to collapse
Oh. I thought you said there were problems with getting enough reception to connect
That's usually the case on my Prophet...
vangrieg said:
It definitely should last 12 hours unless you poll every 5 seconds or so, but what will happen if it connects to Wi-Fi while in your pocket?
Click to expand...
Click to collapse
It's supposed to connect, and disconnect 3G to save on data costs (probably getting a plan with a 200mb cap...)
bemymonkey said:
Oh. I thought you said there were problems with getting enough reception to connect
That's usually the case on my Prophet...
Click to expand...
Click to collapse
I think I said the Best Battery mode still drains your battery. A much lower power mode would have trouble connecting.
bemymonkey said:
It's supposed to connect, and disconnect 3G to save on data costs (probably getting a plan with a 200mb cap...)
Click to expand...
Click to collapse
Sure, but you'd also drain your battery without noticing. I would certainly be cautious about it - I can connect to WiFi at work, at shopping malls, cafes, and sometimes even in the streets. I don't want to end up being unable to make a call because I saved a couple bucks. But maybe that's just me...
BTW, I did a quick poll here at my office - all Nokia owners have this feature disabled, they say it drains battery rather quickly. This is not in any way a scientific research, but I don't believe in miracles anyway.
vangrieg said:
I think I said the Best Battery mode still drains your battery. A much lower power mode would have trouble connecting.
Click to expand...
Click to collapse
vangrieg said:
Even with the Best battery setting it won't last too long, I'm afraid. Or, as you have said, it won't have good enough reception to actually connect to anything.
Click to expand...
Click to collapse
That's what I meant
vangrieg said:
Sure, but you'd also drain your battery without noticing. I would certainly be cautious about it - I can connect to WiFi at work, at shopping malls, cafes, and sometimes even in the streets. I don't want to end up being unable to make a call because I saved a couple bucks. But maybe that's just me...
Click to expand...
Click to collapse
Hmmm, there should be a way to limit which networks it should connect to
vangrieg said:
BTW, I did a quick poll here at my office - all Nokia owners have this feature disabled, they say it drains battery rather quickly. This is not in any way a scientific research, but I don't believe in miracles anyway.
Click to expand...
Click to collapse
Uh... what Nokias? I doubt it's the same thing, because the N900 is the first Maemo phone
E-something Nokias primarily - they have this auto WiFi feature, don't they?
Don't know anything about this Maemo thing you're talking about, obviously.
http://maemo.nokia.com/n900/
That's what I'm trying to decide... N900 or HD2
I leave MSN loged in on my diamond all the time. Wifi is on. it turns wifi off in standby, but msn stays logged in over the normal network connections, I alerts me I receieved a msg in the same way it does with a text. When it comes out of standby it auto reconnects to wifi.
Does that work on Fring as well?

Possible cause and solution to X10 Battery? -"No Sleep Bug"

Hey guys,
Just updated to the x10 after my samsung galaxy died on me, so far i am rather happy - except for the lack of root, but that will come.
I have noticed many complaints on the forum about battery life, and have experienced the same thing myself. From my experience, i think this looks like the same issue that was faced on a leak of 1.6 for the galaxy - it was referred to as the "No Sleep Bug".
TBH, the name says it all - for some reason, in many builds of android 1.6, phones were not sleeping correctly. There are many theories as to why, from cpu not being allowed to sleep, to permanent communication with google servers.
Despite all these different theories, one thing seemed to fix the problem - turning off all location services. Some people argue that a different carrier build, turning off just 'share with google' under location, turning off just AGPS etc. would fix it, but from my experience, the only real way to fix the issue was to turn off all GPS usage unless you need it. The once you have used it, reboot your phone.
This fix obviously sucks, and a new fix has recently been released by a veritable android-demigod around the Galaxy.
HERE IS A THREAD ABOUT NO SLEEP ON i7500 GALAXY;
(ok, some stupid rule says i can't post links - can a mod help me out?)
HERE IS THE FIX FOR THAT PARTICULAR BUG;
(ok, some stupid rule says i can't post links - can a mod help me out?)
LINKS ARE IN POST #5 - THANKS TO ONDOTEAM (would still be nice to get them in this original post though)
Now, from my experience, no sleep behave exactly the same way on the x10 as it does on the Galaxy;
1) I turn of all location services, and my battery life at least doubles.
2) After said turning off of services, 'spare parts' no longer says 100% running time under battery usage - in fact it can be as low as 10%.
These two factors are identical to my experience with Galaxy. SO; is there any way drakaz's fix can be applied to our X10's? It seems to me that the files he mods are standard Android system files, not sony/samsung specific.
Now i am no developer, so i dont know it this is possible - the first question that comes to mind for me is "do we need root access, or can this be done through developer tools using the android SDK?"
Can anyone help shed anymore light on this?
Seems to work for me. I disabled all location services. Spare Parts went down from 100% to 7.6%.
I'll just have to enable GPS when I need to use it..
Awesome! Glad to hear it has helped.
Let's keep testing this guys - if it does show up to be a big cause, then perhaps the devs around this place can help is figure out a patch for Drakas' mod to make it work with our x10's!
n3man said:
Awesome! Glad to hear it has helped.
Let's keep testing this guys - if it does show up to be a big cause, then perhaps the devs around this place can help is figure out a patch for Drakas' mod to make it work with our x10's!
Click to expand...
Click to collapse
Hello send me a PM with links, I will try to post it
http://androidforums.com/samsung-i7500/61168-no-sleep-has-nothing-do-anything.html
http://androidforums.com/samsung-i7500/78471-no-sleep-bug-fixed-drakaz.html
Links from n3man
No sleep is easy to fix, took me a while to figure it...
Turn your screen brightness from manual to auto, spare parts will now start showing proper running stats, no more 100% running.
The screen is a little dark in auto but it will cure the 100% running.
GPS and location services etc make no difference to my X10i, I am running the 1.6 version unbranded UK handset, the only thing to stop mine running 100% is to put the screen on Auto.
ronnyuk said:
No sleep is easy to fix, took me a while to figure it...
Turn your screen brightness from manual to auto, spare parts will now start showing proper running stats, no more 100% running.
The screen is a little dark in auto but it will cure the 100% running.
GPS and location services etc make no difference to my X10i, I am running the 1.6 version unbranded UK handset, the only thing to stop mine running 100% is to put the screen on Auto.
Click to expand...
Click to collapse
LOL... this is already going the way of the Galaxy thread!
My phone came out of the box with auto-brightness and i never changed that option, yet i still had no sleep.
Drakaz has done some fairly deep digging and is next to certain that it is an artefact of the geolocation bug discussed in the thread in which the problem was fixed.
I can't see "Spare Parts" in About Phone -> Battery Info
tuxStyle said:
I can't see "Spare Parts" in About Phone -> Battery Info
Click to expand...
Click to collapse
Me neither.. I was wondering about that myself!..
Although I'd half assumed that they were referring to the total "up-time" figure which you can see at the bottom of the "about phone"; "Status" screen.. But perhaps not.?
Spare Parts is a standalone Program ...
(i don't know for sure if it is in the market or downloadable as .apk from somewhere here in the forum ...)
Bax
im_iceman said:
Me neither.. I was wondering about that myself!..
Although I'd half assumed that they were referring to the total "up-time" figure which you can see at the bottom of the "about phone"; "Status" screen.. But perhaps not.?
Click to expand...
Click to collapse
You can download it here
Spare parts is indeed available from the market - it is a much more powerful tool for indicating battery usage than the regular android methods. The galaxy stared on 1.5 which had NO indicator of battery usage statistics at all, so we all learned about spare parts very fast.
Perhaps that is why no x10 users have realised about the potential no sleep bug; because so far only the android usage indicators have been used?...
Anyway, hopefully this can help us all understand the way our phones are working better together
n3man said:
Spare parts is indeed available from the market - it is a much more powerful tool for indicating battery usage than the regular android methods. The galaxy stared on 1.5 which had NO indicator of battery usage statistics at all, so we all learned about spare parts very fast.
Perhaps that is why no x10 users have realised about the potential no sleep bug; because so far only the android usage indicators have been used?...
Anyway, hopefully this can help us all understand the way our phones are working better together
Click to expand...
Click to collapse
14% it's mine value for running time, not 100%. By the way thats 30 minutes of 210 in total :S
I'm also experiencing "No sleep bug" after i used GPS. I use Battery Graph to plot my power consumption and after I use GPS, I can clearly see that power consumption is high even if i turn the phone in plane mode.
In addition SE widget, used to turn on/off GPS, seems to not work very well for me. So, to fix the bug, i manually disable GPS in parameter menu and restart my phone. After that power consumption is hardly null (20% in 8h with MP3 on almost all the time).
mimok said:
I'm also experiencing "No sleep bug" after i used GPS. I use Battery Graph to plot my power consumption and after I use GPS, I can clearly see that power consumption is high even if i turn the phone in plane mode.
In addition SE widget, used to turn on/off GPS, seems to not work very well for me. So, to fix the bug, i manually disable GPS in parameter menu and restart my phone. After that power consumption is hardly null (20% in 8h with MP3 on almost all the time).
Click to expand...
Click to collapse
Do you have 3G always on?
My phone has no trouble sleeping.
Gps hasn't really been an issue but I keep it off when not needed.
Here's my solid settings:
1) No auto sync
2) No moxier
3) Gps off
4) Restart after using wireless
As long as it's like this my phone lasts 2 days easily
ondoteam said:
Do you have 3G always on?
Click to expand...
Click to collapse
Yes, but I made a lot of test with and without 3G enabled and 3G seems not to be a problem for me. I think my problem comes from GPS.
ondoteam said:
Do you have 3G always on?
Click to expand...
Click to collapse
3G always on.
n3man said:
LOL... this is already going the way of the Galaxy thread!
My phone came out of the box with auto-brightness and i never changed that option, yet i still had no sleep.
Drakaz has done some fairly deep digging and is next to certain that it is an artefact of the geolocation bug discussed in the thread in which the problem was fixed.
Click to expand...
Click to collapse
I have been playing with mine for a month to work out what caused mine to not go into sleep, I keep GPS wifi etc on 24/7 but in spare parts I was running 100%, after numerous reinstalls and removing everything i chanced on turning on auto screen brightness, now when i unplug my x10 the running sits at the correct level.
No Geolocation bug here
I have this problem with 100% on and off. Sometimes when I check its under control (~10%), other times its at 100%. I have GPS off, no WiFi, auto brightness... don't know why it sometimes just gets stuck at 100% :/

[Q] Android OS wakelocks

Hi all, just came here from many days spent on S3...
To get to the thing, recently I bought myself a shiny new G2, stock kitkat 4.4.2, and the problem is, Android OS is showing Stay Awake very very long.
I tried disabling almost everything, from nfc, motion, knock on, all the 'smart' features, wifi, mobile data, and the phone still doesn't sleep normaly.
Currently, it is on 73%, 1:54h Screen on time, 4:54h on battery and 3:20h Android OS stay awake.
What could be the problem? I tried googling but nothing, and i see many users have this problem.
I'm still cathing up with the LG community so point me out if I am missing something.
And oh, I don't want to root it yet, I wouldn't be asking this question, BBS could solve my problem, but, if it is a common problem to almost 70% users out there, someone could know the answer.
Cheers!
Is WiFi Scanning off? (Settings>WiFi>Advanced; untick 'WiFi scanning always available')
LooseSeal said:
Is WiFi Scanning off? (Settings>WiFi>Advanced; untick 'WiFi scanning always available')
Click to expand...
Click to collapse
Yup, it is...
To note, Screen on time is really good, approx 3h on 50%, which equals approx. 5:30-6h of SoT, but the phone sleeps bad, the apps running in the background are Facebook, Whatsapp and Viber, almost all Lg bloatware is freezed, and i really don't have idea what the heck could use the phone when locked.
I read somewhere that LG's battery stats are a bit different than by other vendors, maybe that's the cause, i simply don't know, it's hard to know when unrooted.

[Q] Device occasionally loses Internet connection for both WiFi and cellular

Now that I've got the Moto X Pure Edition activated, I've been able to work out some of the kinks inherent using it as a daily driver. One noteworthy issue that remains is an odd bug where the device will completely lose connection to the Internet on both a WiFi and cellular data connection, usually after transitioning between types of connections. When this happens, an exclamation point is displayed next to the icon representing whichever connection is currently active and nothing is able to transmit data to or from the Internet or even my local network.
Rebooting the device always fixes the problem, but this issue is materializing a bit too often for my liking, which is usually once every time that I return to a WiFi network after being disconnected from one for some time (more testing may have to be done to confirm exactly what triggers it).
The device is running the stock rom (rooted) and the stock kernel along with the usual tweaks (ad-blocking, Xposed framework, audio fixes, etc.). Anybody seen this before or know what might be causing it?
UPDATE (3/1/2017)
Figured it out! The problem appears to have been caused by my failure to whitelist certain applications in PowerNap. After following the instructions found in the Moto X Pure Edition power optimization thread, the problem appears to have vanished. I don't know if it was the Google Services Framework, JavaTcmdHelper, Android System, or some combination of those that needed to be whitelisted, but the problem has vanished. At least one of those must be responsible for verifying the validity of an Internet connection in sleep mode, which would cause the device to become confused when it would wake up with a different connection that it hadn't verified (that's my theory at least).
At any rate, it is no longer an issue.
Update (Later on 3/1/2017)
Well, it looks like it might not be fixed so well after all. A couple hours after arriving home today, I went to use the device and saw the dreaded "!" next to the network indicator. Still, two days is longer than it's ever lasted before. I've cleared the cache and dalvik/ART cache to see if something in there might be gumming it up and will add another post to this thread if the problem returns.
Still an issue
Looks like it might not be fixed after all. I lost connection again the other day in a parking lot and once more today after getting home. Any ideas as to what could be causing this?
I just recently got my x pure. I've seen this issue on mine too.
Another one!
inkdaddy66 said:
I just recently got my x pure. I've seen this issue on mine too.
Click to expand...
Click to collapse
Interesting. Are you running the stock Rom? Rooted? Amplify/Greenify/PowerNap?
Bill720 said:
Interesting. Are you running the stock Rom? Rooted? Amplify/Greenify/PowerNap?
Click to expand...
Click to collapse
I'm unlocked and rooted. Running validus 7.1.1 ROM.
does your configuration look anything like this?
inkdaddy66 said:
I'm unlocked and rooted. Running validus 7.1.1 ROM.
Click to expand...
Click to collapse
That too is interesting. I'm running the stock Rom, (rooted) so we can probably eliminate that as a potential cause. Given how little reference there is to this on the web at large, the problem is probably caused by a common app or setting (or some kind of unfortunate combination) running on both of our phones.
All we need to do is figure out what kind of "unusual" stuff our devices have in common. I'll rattle off a list of software and settings that might be out of the ordinary or network-related; you tell me if you're running anything like it on your phone.
AdFree
A.R.I.S.E. audio
FolderSync
Ice Box (Motorola Update Service is the only frozen app)
TOTAL Wireless My Account App
Pebble, MyTracks, and Pebble MyTracks
SlingPlayer (this one sometimes wakelocks)
Titanium backup (I tried restoring some WiFi access points once, but it didn't work)
Xposed Framework with Amplify, Greenify, and Power Nap installed and configured as instructed in the Moto X Pure Edition battery life guide thread OP. I've also got MinMinGuard and YouTube AdAway.
As far as settings go, I've not got much in the way of unusual configurations. I enabled the system UI tuner to get the battery percentage and the extended developer options to try out multi-window, (and to change the animation scales to .5X) but everything in there is still pretty much stock.
Does your configuration have anything in common with mine?
Close, but no cigar
It got almost 8 days this time before it happened again. I thought that maybe switching to the legacy DHCP client had done the trick, but that was apparently not the case. Any ideas as to what could be causing the issue or how to fix it?
Or, if you're having the same problem, can you look at my list in the previous post and tell me if any of the software or settings are similar so that we can narrow down the cause?
I have had this problem appear about three times over my 13 months of ownership and all three times was when my bootloader was still locked (obviously running stock not rooted). Never found a solution except to reboot.i only unlocked and rooted my device about a month ago.
Anything familiar?
aybarrap1 said:
I have had this problem appear about three times over my 13 months of ownership and all three times was when my bootloader was still locked (obviously running stock not rooted). Never found a solution except to reboot.i only unlocked and rooted my device about a month ago.
Click to expand...
Click to collapse
Interesting. Between that, my findings, and the fact that @inkdaddy66 was having the problem on a non-Motorola Rom, I want to think that we can eliminate the Rom software as a cause. Did you see any familiar software on my "potential troublemakers" list up in post 6? I'm thinking that if we can find a common program or workflow, then we'll be able to narrow down the cause of the problem.
In the meantime, I'll try posting in the general Android troubleshooting forum here on XDA and see if anybody there has seen the problem or has any troubleshooting tips.
Bill720 said:
Interesting. Between that, my findings, and the fact that @inkdaddy66 was having the problem on a non-Motorola Rom, I want to think that we can eliminate the Rom software as a cause. Did you see any familiar software on my "potential troublemakers" list up in post 6? I'm thinking that if we can find a common program or workflow, then we'll be able to narrow down the cause of the problem.
In the meantime, I'll try posting in the general Android troubleshooting forum here on XDA and see if anybody there has seen the problem or has any troubleshooting tips.
Click to expand...
Click to collapse
Nothing used from your list except system UI tuner when I experienced the problems. That would leave either a ROM and/or hardware issue IMO.
Cause and effect differential diagnosis
aybarrap1 said:
Nothing used from your list except system UI tuner when I experienced the problems. That would leave either a ROM and/or hardware issue IMO.
Click to expand...
Click to collapse
Hmmm... That's also interesting, but I just don't see how system UI tuner could be harming anything. Do you have any other apps or settings at all that you think could be causing the issue?
If this were anything other than my primary, I'd hard reset and troubleshoot that way, but I don't exactly have the time to pull the rug out of an otherwise-working setup right now, so this is going to have to be done the hard way (or, in the case of hardware glitch, lived with).
At any rate, I discovered a new symptom earlier in the week. This time, Internet connection was lost, but only for WiFi, so the connection would actually fall back to Cellular and still continue to work. As before, toggling the connection had no effect, but rebooting the device "fixed" it. I thought maybe it was a fluke, since we'd had an AP hiccup over the weekend, (I refuse to reboot that thing because I'm going for an uptime record) but it happened again on Wednesday, so I'm not sure what to make of it.
Side-issue aside, I'm beginning to wonder if it's some kind of combination of network behavior and usage pattern that brings the issue about. It seems like if I stay within range of the WiFi network, no issue develops, but if I move out of its coverage and don't touch the phone for a while, that allows for ideal conditions under which to replicate the problem (sometimes). I haven't nailed down a consistent pattern yet, but the problem does emerge more often when I'm returning home than at other times. Any thoughts?
Update (3/24/2017; 12:32PM)
Scratch that last part about the issue only being triggered upon "arriving home." The problem happened again this morning, in the same general area. First, no WiFI, then, after resetting the connections, no cellular either. I captured a LogCat before rebooting this time though. Anyone want to take a crack at sifting through that to see if it offers any clues?
I lose cellular data, from time to time, I don't kow if I'm losing WiFi capability also, because I'm on the road when this happens.
It takes a reboot or switching in and out of airplane mode to regain data.
I have had this happen on TruPureXMM ROM and stock-rooted Marshmallow.
I have not spent much time on stock-unrooted, so i don't know if it would happen then, also.
Possible fix
Just to follow up on this again, I have finally reached the eighth day of uptime without the problem materializing, which is the longest that I was able to go before without it happening. This time, I went in to the developer options and disabled "Cellular data always active." I'd give it another couple days to know for sure, but if this sticks, then I think we might've found the fix!
pizza_pablo said:
I lose cellular data, from time to time, I don't kow if I'm losing WiFi capability also, because I'm on the road when this happens.
It takes a reboot or switching in and out of airplane mode to regain data.
I have had this happen on TruPureXMM ROM and stock-rooted Marshmallow.
I have not spent much time on stock-unrooted, so i don't know if it would happen then, also.
Click to expand...
Click to collapse
If your trouble is isolated to just one connection and/or cycling the connection brings it back, then the issue you are experiencing is unrelated to the one described in this thread.
Bill720 said:
Just to follow up on this again, I have finally reached the eighth day of uptime without the problem materializing, which is the longest that I was able to go before without it happening. This time, I went in to the developer options and disabled "Cellular data always active." I'd give it another couple days to know for sure, but if this sticks, then I think we might've found the fix!
If your trouble is isolated to just one connection and/or cycling the connection brings it back, then the issue you are experiencing is unrelated to the one described in this thread.
Click to expand...
Click to collapse
Cellular data always active should never be on (it's disabled in stock rom), except if you have VoLTE only with no fallback to 3G or 2G (Jio is the only provider that comes to mind, but this phone doesn't support their service anyway) or otherwise unusual scenarios I can't really think of.
Huh, and CELLULAR DATA ALWAYS ACTIVE (for faster network switching) sounds like such a good thing.
Mine was selected on.
My loss of data happens in the same spot, usually, but is not leaving wifi. Perhaps it is a tower to tower handoff spot.
I turned it off. Time will tell.
Thanks, fellas!
pizza_pablo said:
Huh, and CELLULAR DATA ALWAYS ACTIVE (for faster network switching) sounds like such a good thing.
Mine was selected on.
My loss of data happens in the same spot, usually, but is not leaving wifi. Perhaps it is a tower to tower handoff spot.
I turned it off. Time will tell.
Thanks, fellas!
Click to expand...
Click to collapse
Always on is not necessarily a good thing. Reality is that when you lose or turn off WiFi, mobile data should only be delayed only by a second or two. There is no real benefit to having it on except for maybe VOLTE.
pizza_pablo said:
Huh, and CELLULAR DATA ALWAYS ACTIVE (for faster network switching) sounds like such a good thing.
Mine was selected on.
My loss of data happens in the same spot, usually, but is not leaving wifi. Perhaps it is a tower to tower handoff spot.
I turned it off. Time will tell.
Thanks, fellas!
Click to expand...
Click to collapse
Actually, it's a battery killer more than anything else... It keeps cellular data active even when on WiFi.
It is possible it's a tower thing though. I have noticed at this one hotel I stay at frequently people tell me they call and it rings or just goes to voicemail even though I have good signal. After investigating it a bit, I'm in a spot that has nearly identical signal strength from 3 towers and it's a metro area so there are 4+ bands accessible... I've seen times watching LTE Discovery where it keeps switching bands and towers for 30 to 120 seconds or so, like it can't make up it's mind what to talk to because it's confused, then it locks on for a while before it starts it's cycle again. During those cycles I think is when people​ can't call me, can't really say if it affects internet or not since I tend not to use my phone too much in the evenings when I'm on the road (usually on laptop).
Uptime record, but... it's back
acejavelin said:
Cellular data always active should never be on (it's disabled in stock rom), except if you have VoLTE only with no fallback to 3G or 2G (Jio is the only provider that comes to mind, but this phone doesn't support their service anyway) or otherwise unusual scenarios I can't really think of.
Click to expand...
Click to collapse
Interesting. I thought for sure that I had the default settings checked in there, but maybe I did change it early on and just forgot. Either way, waiting an extra five seconds to establish a data connection isn't that huge of a deal for me, so I'll leave it off anyway in exchange for battery life when the signal's poor.
At any rate, however, the problem has returned. I was just a few hours short of 9 days of uptime and really thought that I was out of the woods with this problem, but it has returned once again upon returning into range of the home access point. Looks like we're back to the drawing board on this one.
pizza_pablo said:
Huh, and CELLULAR DATA ALWAYS ACTIVE (for faster network switching) sounds like such a good thing.
Mine was selected on.
My loss of data happens in the same spot, usually, but is not leaving wifi. Perhaps it is a tower to tower handoff spot.
I turned it off. Time will tell.
Thanks, fellas!
Click to expand...
Click to collapse
So you're having the same problem too? That makes at least four of us now. Do you mind sharing what Rom and flashed tweaks (Xposed Framework, A.R.I.S.E. audio, root, etc.) you're using as well as any unusual software or settings? Anything in common with my list on page 1?
Bill720 said:
So you're having the same problem too? That makes at least four of us now. Do you mind sharing what Rom and flashed tweaks (Xposed Framework, A.R.I.S.E. audio, root, etc.) you're using as well as any unusual software or settings? Anything in common with my list on page 1?
Click to expand...
Click to collapse
I think we've established that my issue is different, but it has occurred on TruPureXMM and stock but rooted Marshmallow, both with Substratum, Xposed (Gravity Box only) and Viper Atmos.
Same as you =Titanium Backup
*another* new strategy (sigh)
For this week's shot in the dark, I'm going to try manually switching WiFi off before I leave anyplace covered by an access point. Since the problem seems to occur most often when connected to WiFi or when connecting to it, maybe this will make some kind of a difference.
pizza_pablo said:
I think we've established that my issue is different, but it has occurred on TruPureXMM and stock but rooted Marshmallow, both with Substratum, Xposed (Gravity Box only) and Viper Atmos.
Same as you =Titanium Backup
Click to expand...
Click to collapse
I see now; my mistake.

Categories

Resources