Battery drain.. Phone always on - Nexus 6P Q&A, Help & Troubleshooting

Hi.
Running stock Marshmallow, with root and used wakelock detector and battery monitor to find that when not in airplane mode, three kernel wake locks (see screen shots) as far as I can tell, seem to be causing my phone to stay awake all the time and hence use battery.
I also use Greenify BTW.
How do I remedy this?
Thanks
Im333

I had the same issue. I found out that it was because I had blocked a Bluetooth wake service and it freaked the phone out keeping it awake. I would suggest enabling each service you disabled one by one going through them to find out which one is causing your issue. Or you can uninstall greenify and any other apps that disable services like amplify and servicely. I found that my battery life had gotten better after doing so.

Related

Nlpwakelock causing device to stay awake

Google services is to battery consumer because it keeps phone awake. Something to do with location services causing it based on screenshot below. I'm latest nightly CM and seems to be the only one affected by this issue since nobody else complained about it
Sent from my SGH-I337 using Tapatalk 4 Beta
Same crap here as well. As u can see I'm on a totally different device. There was another thread on it with no solution I think.
---Sent from a viperx-ed OneX
Turn network location off. You really don't need it on all the time. That's the only way I know of getting rid of that wake lock.
I just realized. Location reporting turned itself back on, on maps app
I turned it back off. Will see if that helps.
When it was off I'd probably get 1min of that wakelock for the entire day.
---Sent from a viperx-ed OneX
mibtnt said:
I just realized. Location reporting turned itself back on, on maps app
I turned it back off. Will see if that helps.
When it was off I'd probably get 1min of that wakelock for the entire day.
---Sent from a viperx-ed OneX
Click to expand...
Click to collapse
If its of from boot, I don't get any.
jd1639 said:
Turn network location off. You really don't need it on all the time. That's the only way I know of getting rid of that wake lock.
Click to expand...
Click to collapse
x-actly.
NLP stands for Network Location Provider I would guess as it appeared to me first when Google Location Services asked me to switch on the WLAN location detection for "more accurate results".
Might be helpful if in some building where you don't get GPS locked but isn't really needed that much otherwise.
i have location access OFF and have HUGE DRAIN on Nlpwakelock
I had a similar problem on my Nexus4 - after I turned location services on and off again, the NlpWakelock would keep my phone awake and not go to deep sleep.
However, I found a fix for this issue. The culprit service is called GoogleLocationManagerService, and the solution is to disable this service only (I have no idea what other complications may arise from this, but at least my phone now goes to deep sleep). This service can be disabled with ROM Toolbox or a similar app.
In ROM Toolbox you go to App Manager, find Google Play Services and select Advanced Freeze. Now find the service (has a red border) called GoogleLocationManagerService and disable it. Now I can switch on and off location and still go to deep sleep, and location IS working.
ameinild said:
I had a similar problem on my Nexus4 - after I turned location services on and off again, the NlpWakelock would keep my phone awake and not go to deep sleep.
However, I found a fix for this issue. The culprit service is called GoogleLocationManagerService, and the solution is to disable this service only (I have no idea what other complications may arise from this, but at least my phone now goes to deep sleep). This service can be disabled with ROM Toolbox or a similar app.
In ROM Toolbox you go to App Manager, find Google Play Services and select Advanced Freeze. Now find the service (has a red border) called GoogleLocationManagerService and disable it. Now I can switch on and off location and still go to deep sleep, and location IS working.
Click to expand...
Click to collapse
i've been searching for a solution for ages and even followed the advice of another thread to disable location finding on both maps and google now and for some reason the nlpwakelock is still showing up. i'm going to try your fix but i was wondering if you've encountered any issues ever since disable googlelocationmanagerservice?
I often noticed nlpwakelock being the main culprit for Google Services battery usage. I even saw that it kept my phone awake for hours some days...
I tested some fixes and found that disabling the "use wireless networks" in the location services settings completely removed that wakelock.
Personally, I'd rather have that feature than save the little battery it uses. Despite keeping my phone awake for 1-2 hours on most days, as reported by GSAM Battery Monitor and Wakelock Detector, it uses a pretty small amount of battery:
Typically my phone's battery monitor will report about 20-30% of the battery used by Google Services. GSAM Battery Monitor seems to break that down into two parts: about 10% Google Services and 15% kernel, on average. However, these numbers are deceiving. That 10% that Google Services is only 10% of "App Usage" as reported by GSAM. Furthermore, App Usage is often only about 50% of my battery usage.
If my battery is at 50%, that means Apps only usage 50% * 50% = 25% of my 100% battery. Then, Google Services only used 10% of that 25%...so 2.5% of my overall battery capacity. I found this quite surprising considering the report that the wakelock keeps my phone awake for 1-2 hours...
So while Google Services is often shown as my #1 or #2 battery user in the App Sucker page, at 10-15% usually, that's only like 2-5% of the total 100% battery capacity each day. If I'm really going to be pushing my battery limits I might disable it to save some juice, but generally I find it's not worth disabling the feature to save such a small portion of my battery.
ender127 said:
i've been searching for a solution for ages and even followed the advice of another thread to disable location finding on both maps and google now and for some reason the nlpwakelock is still showing up. i'm going to try your fix but i was wondering if you've encountered any issues ever since disable googlelocationmanagerservice?
Click to expand...
Click to collapse
Hi. No, I've not had any issues,*but unfortunately the fix doesn't always work - but if the wakelock still persists, shutting down the service or location service again removes the wakelock, but it takes the manuel action of re-disabling the service again. Still better than having a wakelock though..

[Q] Finding out Battery Draining Cause

Hi Everyone,
Is there any way to find out the culprit of excess battery drain without rooting my device? I am losing around 3% an hour on standby (not excessive I know) and getting around 3.5hrs of on screen time. An app must be the culprit, I generally turn off location services unless I need them and Andoid OS/Systems are a fairly high in % of usage.
Any help (whether it is not possible or how it can be found out WITHOUT rooting) would be great.
Sam
I have same problem. turning off wifi or changing it to only stay on when plugged in seems to help but I find this annoying as then my phone won't update!!
And I cba to root to find the problem
I use a combination of Battery Doctor and Clean Master to figure out what is eating up my battery. I normally don't actually use them to kill apps and services, but instead use it to find the problem, and then take care of the issue myself.
I use wakelock detactor (wld) in combination with batterystats. Normally i find the reason for battery drain in standby in wld.
Why not install root? There is no reason for not using it.

Google Play Services Keep awake

Hi
I don't know since when, my phone battery starts to drain so quickly. Initially I though is the apps that I installed causing this, but looking into the battery statistics, it is actually google play services, it keeps awake for so long!!
I then did a search on google and found out that it is not a recent problem, and possibly the best (or true) solution is to disable keep awake. Hence I went to "Privacy Guard", found out google play services, and turn off "Keep awake". However it doesn't help!!!
I also installed WakeLock Detector to see which app is waking up the device, and what it is reporting is different to the battery statistic, it reports a communication app that I use, "WeChat", it keeps wake up my phone, but since it is a chatting up, I don't want to disable its function.
Other solution I found is to disable google location history, which I have also done it. I have also installed Amplify from Xposed to try to extend my battery life. GPS is completely turned off.
BUT, all these steps didn't help and the battery statistics still reporting that google play services use a lot of battery and most of the time it keeps awake.
Can someone help me please?
Many thanks!
I am using Carbon ROM with Hell's core kernel, stock settings.

Terrible battery life? What gives?

Hey guys...
Just here to say that I unplugged this phone at around 5 in the morning, and around 5 hours later its already down to 74%.
What did I do? Only about 10 minutes of mobile hotspot, a 2 minute phone call, and three text messages. The rest just idling...
1/4th of my battery life for just that?
What the heck?
Everything is disabled and the screen brightness is low... Whats the matter with this phone?
Looks like something is keeping your device awake.
Can you please add some screenshots of your battery graph?
In addition, you can try to boot into safe mode. If your problem is gone in safe mode, a third party app is interfering.
If you're rooted, try installing Wakelock detector or BBS (Better Battery Stats) and check out what is waking up your device.
If you use Gas Buddy, it was known to be causing massive bluetooth wakelocks. Either uninstall it or update it to the latest version.
Set your wifi to 2.4 ghz only. On 6.0 and 6.0.1, the 5 ghz band has been causing abnormal battery drain and keeping phones from entering doze mode. Here's the issue being reported: https://code.google.com/p/android/issues/detail?id=197460
If neither of these make a big improvement, you'll have to use your battery stats (and if rooted, use Better Battery Stats or Wakelock Detector) to specifically see what's keeping the phone awake. In either of these apps, filter the view by "Alarms" or "wakeup triggers" and you'll see what the heavy hitters are.
Be sure to go into Location>Settings and turn off wifi and bluetooth scanning.
Hi.the maps app isvuding WiFi and gps even though both are disabled and I'm not using it... Any ideas?

No deep sleep and high battery usage

Hi everyone,
most of the time, my Axon 7 eats the battery absurdly fast, when only lying around (Standby). I opened a different thread that I caught it once discharging the battery even when turned off, but several other times, it did not do that again.
I noticed that BetterBatteryStats tells me that there is almost 0 time for "Deep Sleep" (3s) while it is "Awake (Screen Off)" almost all the time. Since I have no root, I do not know how reliable the data is (100% Awake + 21% Screen On + 0% Deep Sleep = 121% = lol).
I have checked the power management for all apps. All have "Allow deep sleep" activated.
The battery discharging is so heavy that one charge is not enough for one day of usage (with some hours screen on time).
Do you have experienced something like this, even with a different phone? Any ideas are welcome.
Regards,
Puni
You must have some app eating your battery. Try to remove some latest apps and reboot. If that doesn't work clear cache.. After that is only factory reset left...
FATPunisher said:
I noticed that BetterBatteryStats tells me that there is almost 0 time for "Deep Sleep" (3s) while it is "Awake (Screen Off)" almost all the time.
Click to expand...
Click to collapse
Okay, this is not really specific to the Axon 7, but it will work anyway. I precise I'm NOT ROOTED as well.
First :
- you better also install Gsam Battery Monitor, you'll have access to a better looking stats for Doze Mode. However, under Battery Manager (sorry, doesn't know how it is in english) / Battery Usage / Time battery used, you should have "Awake time" and monitor it here as well
- install Greenify as well, to try to apply Doze mode asap.
Second:
- Wifi on the axon, even when "turned off while screen is off", isn't. Manually switch the wifi off if needed.
- The same is for the GPS/Location services. Even when the toggle is OFF, you are still being tracked. Long-clic on the toggle, and make sure location is disabled (unless you need it). It will reset if you 'allow' Google Maps to enable location for yourself. Don't do it.
Third :
- Fiddle with Energy management, and learn about the 4 available toggles (disallow at startup, force close when screen is off, delay wake up, do not allow wakeup when in doze mode). Be careful about notifications tho, activating some switches might remove or delay them
- Go to security, administrators : do you have an app that shouldn't be there (which can wake up the phone)?
- Go to acessibility, same
- Do a reboot
- Watch what happens next
- Please report back here with BBStats + Gsam + Energy manager screenshots at least
Thanks a lot!
I will try your hints.
But disabling Wifi and GPS/Location is not really useful for me, because I need both all of the time. Could try it for seeing if it helps though.
Activating Air Plane mode allows Deep Sleep. Not useful, but nevertheless interesting.
I noticed that my Medion tablet with Android 4.4.2 (!) has the same issue. Must be an app installed on both I guess.
Wakelock Detector says it's Android System, AlarmManager. That is not too helpful.
On my Axon 7, Bluetooth triggers the Wakelock. It's 100% reproducible. Cannot be the whole story though, there must be more. The battery lasts at least twice as long without Bluetooth.
Solved!
Solved it!
It was the app MeinVodafone. It causes Wakelocks when Bluetooth is enabled.
I found a forum posting by somebody else confirming that.
Very nasty.
Thanks everybody!
P.S.: My tablet is a different story. Bluetooth is never active there. The wakelock vanished, but I have no idea what happened. Doesn't matter, unrelated.

Categories

Resources