Recent S-health update creates wakelocks - Galaxy Note 4 Q&A, Help & Troubleshooting

Updated S-health app yesterday and today I discovered a 17h. wakelock by the S-health app. Can't make the phone sleep without killing S-health. I have S-health going in the background all the time to have the stepcounter going, but never had wakelock issues before updating. I had a backup of old S-health and rolled back and now all is well again.
Anyone having a remedy or am I to wait for fix/update?
N910FXXU1ANK4
(I have xposed framework installed and thus S-health secure server disabled. Busybox also installed)
Sent fra min SM-N910F via Tapatalk

i dont use s health very often (sometimes in the gym for my heartrate)
but i updated it yesterday, and at the end of the day my SOT was only 1 h and 20 minutes or less, and my battery was around 60% !!
normally i allready have 2 or 3 hours of SOT when i reach 60 %
i dont know if it has anything to do with S Health (could not find it in battery stats tough)
but all i know is that it sucked.

S-Health battered my battery from the day I got my phone so I turned it off and my battery improved a lot. The steps function was so easily cheated simply by shaking the phone that it didn't seem worth having.

... you don't sit around shaking your phone do you really? The step counter works quite all right and can be relied on as any other step counter device. And it uses no battery to speak of. Really!
In Samsung app store many has complained about the same wakelock issue draining battery like h... the last days. I guess we'll have to wait for fix.
So, DO NOT UPDATE TO RECENT S-HEALTH BEFORE FIX HAS BEEN MADE!
Sent fra min SM-N910F via Tapatalk

I updated to the latest S-Health but I see no extra wakelocks coming from it, even though I wear a Gear Fit all day so S-Health is frequently syncing and gathering data from it. However, yesterday I noticed a rapid battery drain, with Android OS and Android System shown as the culprits, leaving the Screen at the 3rd place in battery stats, which is really weird. Maybe it is S-Health acting up after all.

Same problem here. After update, I was having a hugh battery drain. Installed Wakelock Detector and it showed more than 1500 wakelocks in 12 hours (most of them were alarm manager). I have uninstalled the update, waiting for a fix...

It seems it woun't sync properly on autosync and then hangs for hours. When I did manual sync in settings/accounts it is fine again, but everytime it autosyncs, it's a new hang. In Samsung store it got a new date on it now, Jan. 30. I don't know if it's an attempt to fix, but it's not a success. Reverted to old backup yet again
Sent fra min SM-N910F via Tapatalk

mikkelrev69 said:
Updated S-health app yesterday and today I discovered a 17h. wakelock by the S-health app. Can't make the phone sleep without killing S-health. I have S-health going in the background all the time to have the stepcounter going, but never had wakelock issues before updating. I had a backup of old S-health and rolled back and now all is well again.
Anyone having a remedy or am I to wait for fix/update?
N910FXXU1ANK4
(I have xposed framework installed and thus S-health secure server disabled. Busybox also installed)
Sent fra min SM-N910F via Tapatalk
Click to expand...
Click to collapse
I also checked out my battery behaviour this night and was very disappointed. Although my phone was in flight mode and every peripherals and services shut down, today morning my phone was crying for energy. So I made a quick investigation in my power diagram and found out, that "Android OS" requested a wakelock during the whole power-on time. So I installed "CPU Spy" to check in which states the phone was really over the whole charging period. I couldn't believe my eyes. Although the kernel should do it's job good, cause most of the CPU times are in lower freqeuncy states, the deep sleep mode was never activated.
Therefore I installed an app called "Wakelock Detector" to check out which apps could cause that. I found out, that S Health had a big amount of wakelocks and also active-time, so the first thing was to disable S Health. After some minutes I checked back, but nevertheless still no deep sleep time in "CPU Spy".
So I searched around and found another one arguing about the wakelocks and that they could be the products of some programming issues concerning WiFi. The should be gone, after turning off WiFi and rebooting yout phone. And it seems that he was right. I waited some time and hooray, "CPU Spy" listed the phone state "Deep Sleep" the first time as an active state and also with the major active-time. So at least that was some step ahead. (I have to remark, that S Health was already unfrozen at this time, so S Health should not be responsible in any way.)
The next step was to reactivate WiFi, leave it on and set the phone on standby. After some time I checked back again the phone showed even more deep sleep time. So that was an improvement. I reactivated everything and waited some time... Deep Sleep all over the time. Can't figure out for now, if it was S Health, WiFi, or anything else that caused the wakelock for sure. At least the reboot helped. I'll check that out on a long-term test, maybe I get some further conclusions.

Related

Excessive Deep Sleep Battery Drain

Some of you may have noticed that battery life on this phone can be both unbelievable and mediocre. I've been trying to figure out what can trigger and cause mediocre performance and I'm at a loss. The problem is, there doesn't appear to be a smoking gun. No obvious wake locks. No rogue Apps. I have Carrier IQ disabled by System Tuner. Google Now is off. What I'm running right now is pretty bare bones. And the kicker is my phone is sleeping, as can be seen in the shots below. The vast majority of the time my phone was off the charger it was in deep sleep mode.
I noticed my phone in excessive drain mode Saturday so I let it run over night and into the next day, so that BBS and GSam could pick up as much data as possible, including sitting idle overnight and very little use throughout yesterday.
Here are some shots to show the story. The graph, which is definitely steeper than when idle drain is normal, which resulted in idle drain of about 6% per hour. Also as can be seen in these shots, there is not a wakelock problem. Deep sleep shows as 12 hours 38 minutes, Awake time of 1 hour 8 minutes, and screen on time of 1 hour. So, my phone was only "awake" for 8 minutes when the screen was off out of almost 14 hours according to BBS.
I did notice and oddity here though. BBS listed the unplugged status as 13 hours 47 minutes, while the phone's battery meter listed it at 12 hours 13 minutes.
Attached are the shots I took at 19%, as well as a final battery meter shot after charging the phone to full while powered off and restarting, where it's been purring like a kitten in deep sleep.
Part of me is beginning to believe there is a bug with the battery gauge. What do you guys think is going on?
Try clearing data for google play services,google services framework and playsore than reboot and check if things changed.
And i would recommend uninstall the updates related to those apps and let them update itself again.
Sent from my LG-D802 using xda premium
gm007 said:
Try clearing data for google play services,google services framework and playsore than reboot and check if things changed.
And i would recommend uninstall the updates related to those apps and let them update itself again.
Sent from my LG-D802 using xda premium
Click to expand...
Click to collapse
Done. Although I won't know if any attempts to resolve the issue have worked until the idle drain triggers again (or doesn't).
Thanks for the advice.
Well unfortunately that didn't solve the issue. The heavy deep sleep drain again triggered after a bit over one full day. I charged to full last night and let sit over night where it drained 6% per hour with no obvious culprit. Anyone else have any suggestions?
It seem that your signal is week, did you get stable signal and have you tried airplane mode, to find out how much battery drain in this mode?
Also, did you disable LG MLT? This is a massive app from LG, can consumed about 150 MB RAM.
This might sound boneheaded, but what about just resetting the phone. Maybe some system app is causing some type of memory leak and thus draining your battery. Also disable wifi when you're not using it.
I don't think it's signal related. I get an excellent signal at work and the idle drain still occurs. Also, it happens whether wifi is on or not. I have not disabled MLT, as I'm not concerned about RAM, just running processes. Rebooting the phone eliminates the issue, so something is obviously getting hung. The really odd thing is I was draining 6%/hr overnight, all while the phone was in deep sleep, yet my top battery consuming category was the screen at 35%, with just 1 hour of screen on time of 10 hours off the charger. If something was cranking in Android System that caused 40% drain overnight I would have expected Android System to be higher. It doesn't make any sense.
I may just have to factory reset.
My battery's been great until couple of days ago when I turned on GPS and Voice Notification (for speaking out names when phone call/message comes in). After I noticed the abnormal battery drain, I turned off those two options, because that's the only thing I did differently before noticing the drain. However, that didn't help... yet. I needed to do a reboot and battery's been fine again. Not sure if those two were the actual culprit, or just coincidence.
Have you changed any settings right before you noticed the drain? Just a thought.
had the same issue., wakelock detector, BBS, GSAM nothing could show what was eating the battery. i use mobile browsing a lot and almost 8/10 times this battery drain was happening with chrome , chrome beta and firefox browsers.
Only thing thats helping me is the Greenify app . Greenified the chrome and firefox and almost all the cloud apps and the battery is now much much better.
still ...IT IS AN PROBLEM to be found..
To provide a bit more info on this, attached is a pic of my reboot a couple hours ago (marked by the thin white vertical line). The change in the slope of the drainage line is drastic. Also, notice the small hump after the reboot? The line actually increased a bit, fell, then flat lined. More and more I'm beginning to suspect the battery gauge, but I just don't know.
Sent from my LG-D800 using Tapatalk
I have the same situation after charging. Even in"deep sleep" it would chew through the battery. Now I just reboot the phone after charging and it plays nice. The gerbil on the wheel seems to take a break and rest.
To all who have excessive battery drain, did you charge your phone while it is on or off?
Some where in this forum (if not mistaken), I read that there is a bug while charging G2 when it is on. You should reboot your phone after it is fully charged otherwise you will experience excessive battery drain.
Mine always charged it while it is off and never had problem with battery life.
i got the same issue which is very annoying, have over 85% deep sleep, no wake lock, battery draining like crazy, and it happens randomly. I wonder if factory rest fixes the problem, or hardware issue
i have done a bit testing for this random drain,
with mobile signal on ==> huge drain
without mobile signal on and only phone signal ==> huge drain
airplane mode ==> no drain
so i believe it is a bug within the phone software, actually sometimes the random drain started after a phone call
I've been getting the drain too in the past few days. Last time i could fix it by factory resetting, but obviously I don't feel like doing that once per month. What I do know is that flashing another stock ROM (kdz) without factory resetting doesn't fix it. However last night I figured i'd try disabling WiFi (kept it on during the night until now) and I only drained 1% in 5 hours, down from 3% per hour. Perhaps this bug is related to WiFi.
Have you disabled LG MLT? It acts like CIQ for internal LG purposes. I have personally seen it cause mass wakelock in unexplained situations. If I leave everything on overnight under 95% battery, I will get around a 3% drain in about 7 hours. Pretty normal. The first 5% on these batteries seem magical. At 100%, with everything on, I wake to 100%.
Yup, frozen in TiBu. Will be factory resetting however when I get home as GSAM grabbed my attention. Never were system things so high up the list when i had no drain.
https://db.tt/Pw8bJ3CM
Sent from my LG-D802 using xda app-developers app
htcm7 said:
To all who have excessive battery drain, did you charge your phone while it is on or off?
Some where in this forum (if not mistaken), I read that there is a bug while charging G2 when it is on. You should reboot your phone after it is fully charged otherwise you will experience excessive battery drain.
Mine always charged it while it is off and never had problem with battery life.
Click to expand...
Click to collapse
I been struggling with this since I got the phone (almost a month now). I've done all the usual:
Removing bloat
Disabled CIQ
Disabled Google Now, Location, GPS
and I have the same apps as my Nexus 5
Just last night I realized that this battery drain only happens after taking it off the charger. This got me to add the word "charging" in my search and I found this thread.
Is this hardware related, or would a custom ROM resolve this? I have the AT&T version.
Ok and which stock rom does not do that?
shilent said:
I been struggling with this since I got the phone (almost a month now). I've done all the usual:
Removing bloat
Disabled CIQ
Disabled Google Now, Location, GPS
and I have the same apps as my Nexus 5
Just last night I realized that this battery drain only happens after taking it off the charger. This got me to add the word "charging" in my search and I found this thread.
Is this hardware related, or would a custom ROM resolve this? I have the AT&T version.
Click to expand...
Click to collapse
Probably this is a software issue. Never heard this problem on latest firmware or custom ROM.
htcm7 said:
Probably this is a software issue. Never heard this problem on latest firmware or custom ROM.
Click to expand...
Click to collapse
Guys could you write which stock rom does this wakelocks for you so we could eliminate corrupt firmwares?
For example I experience these wakelocks on latest F international version.

Massive battery drain

Hey guys. Recently my battery has been dying at an alarming rate. According to BBS it's from a process called diagnostics.client.Wakelock, does anyone have an idea what could be causing this?
I started noticing the drain after setting up my Galaxy Gear, don't know if that may have something to do with it.
Thanks!
Dan
Sent from my SAMSUNG-SM-N900A using xda app-developers app
dankind64 said:
Hey guys. Recently my battery has been dying at an alarming rate. According to BBS it's from a process called diagnostics.client.Wakelock, does anyone have an idea what could be causing this?
I started noticing the drain after setting up my Galaxy Gear, don't know if that may have something to do with it.
Thanks!
Dan
Sent from my SAMSUNG-SM-N900A using xda app-developers app
Click to expand...
Click to collapse
Same issue here. Not sure what it is. Google didn't help much either (besides finding this post)
schwiing said:
Same issue here. Not sure what it is. Google didn't help much either (besides finding this post)
Click to expand...
Click to collapse
I am seeing the same wakelock keeping my device awake and hence draining the battery while in standby. Found nothing else on the web other than this forum
Why don't you ask in the BBS thread, i think you'll get more responses there.
Sent from my Galaxy Note 3 using Tapatalk
uf21 said:
Why don't you ask in the BBS thread, i think you'll get more responses there.
Sent from my Galaxy Note 3 using Tapatalk
Click to expand...
Click to collapse
Thanks! I'll give that a shot.
I am facing a huge battery drain as well after the recent update was pushed. I don't have the "diagnostics.client.Wakelock" in BBS but Samsung Push Service was hogging a lot so I turned that off. It was 80% at 11PM and today morning it was down to 59% .. that's 21% in standby mode. Is it not going into sleep mode or is something else causing this? I have almost everything turned off. Any ideas guys? Thank you.
MJ7? (not sure why but like other people remarked - the battery life looks to have somewhat declined - 30-60% less?)
svyr said:
MJ7? (not sure why but like other people remarked - the battery life looks to have somewhat declined - 30-60% less?)
Click to expand...
Click to collapse
Yes MJ7. I hope this is a bug that can get fixed sooner than later. It's horrible. I just got 1h 37mins of screen time and now I am down to 12%. Just a few calls and some Instagram. Nothing else. Would removing the battery for a while or something help? I haven't installed any app since updating to MJ7 (2 days ago).
I've had this issue with MI7 and MJ7 so the update is not the problem. My guess is me freezing most of the samsung bloat on the phone through Titanium is causing this. Maybe there's a process trying to find something thay I froze?
Sent from my SAMSUNG-SM-N900A using Tapatalk
I fixed it by charging my battery up to 90% then removed the battery and kept it aside for a while ~10 mins and then plugged it back in and charged it to 100%. Now it seems to be normal again. No drain last night. Moved only 1% from 12AM to 9PM. Cheers!
I have the same issue with MJ7 firmware; the phone sometimes doesn't get into deep sleep while the screen is off.
A possible cause of the issue: switch off wifi when data are off.
So now I switch data on before turning wifi off.
Anyone ever find a solution to this? It's killing me.
Same here, my battery declines almos 1% every 5 minutes just texting via Whatsapp and I know Whatsapp is not the guilty. Using Wakelock monitor shows 30% Android System usage with a lot of entries in Gpslocationprovider (even with GPS off and everything on Location settings off), SyncloopWakelock and AlarmManager... MJ7 here too... My Note2 wasn't like this... I finished the day with 5% of baterry after heavy use from 8am til 10pm (including 45' watching videos)... With my Note3 at mid-day I have my battery death!! I can't believe it! and I don't know what is happening (I only have 4 days with my new Note 3) and I have tried almost everything (deactivating) except wipe data/factory reset (I've tried soft reset and nothing)
Anyone ever find a solution to this wakelock?
anyone find a solution?
Delete Google search from system apps and deleted Google play services. Redownload both from play store. Seems to help.
Sent from my SM-N9005 using XDA Premium 4 mobile app
pham818 said:
anyone find a solution?
Click to expand...
Click to collapse
I noted that my GN3 would have great and then poor battery drainage. It seemed to happen right after my first long call of the day. I noted in my wakelock app that diagnostics.client.wakelock was using a lot of time.
I decided to take more drastic action by doing a factory reset and restoring apps one by one. I first used Kingo Root to root my GN3. I had to uninstall Kies and the Samsung driver to get the rooting to work.
Then I backed up with Helium and Titanium backup.
After a factory reset, my battery usage was about 0.2 percent per hour. I use only data and no wifi.
I have now restored most of my apps and still have 0.3 percent per hour usage. I have not updated any Samsung or ATT apps.except for ATT code scanner. i have not "used" any of the google apps except for gmail, search, google+ (signed out). Google music is turned off.
Diagnostics.client.wakelock still shows up but with low time now.
After twelve hours, the GN3 is at 96 percent including a two minute phone call and email updates.
------
After a long phone call, I once again saw my battery usage increase and stay up after the phone call.
-----
I re-started with a factory reset and only restored the minimum apps that I use to browse, email, text, phone, and backup.
So far it is performing well in battery usage.
I will be adding more apps until I find the one that breaks the good performance.
-----
So far I have been able to make it through 24 hours using only TEN percent battery usage. I have added TextPlus, BofA, drippler, Helium, Titanium Backup Pro, CPU Spy Plus, Wakelock Detector, System Tuner Pro, Battery Monitor Pro, AutoBluetooth, Maps, Youtube, YP, Total Commander, Visual Voicemail, Quick Boot, Root Checker, Turn Off Screen. Everything else is stock without updating AT&T apps or Samsung apps.
I am seeing an idle usage of less than 0.3% and that is with two widgets for Battery Monitor and System Tuner. They and Textplus use up the most power. I also talked on the phone via bluetooth for about 30 minutes.
I still get the diagnostic.client.wakelog but only getting about 5 percent awake time.
-----
I did another factory reset. This time I did not allow any app updates.
I installed Titanium Backup, CPU Spy Plus, Wakelock Detector, Battery Monitor Widget Pro.
I have not seen a diagnostic.client.wakelock at all after one hour of use.
-----
I added TextPlus, System Tuner Pro. I put the widgets to System Tuner pro and Battery Monitor on the home screen.
I have not updated any apps since the reset.
I have counted about 7 diagnostic.client.wakelocks for a total of 4 seconds of wake time. My wake time percentage since yeaterday is around 1 percent.
I plan to update apps one at a time to see which one kills the battery usage with wake locks.
I just added AT&T Visual Voicemail, PayPal, BofA, and Evernote to my GN3.
The diagnostics.client.wakelock started climbing and keeping my phone from sleeping.
Uninstalling the four apps did not help.
I think that the problem is with the Visual Voicemail.
----
Factory reset my phone and am back to 1 percent wake state and very low battery drain.
----
The cause of the bad wakelock was due to restoring APP+DATA in Titanium Backup. I did that to save setup steps.
I had restored BofA and Shazam with data and the wakelocks started up.
After I factory reset again, I installed apps the normal way and have been seeing a 0.3 percent use per hour.
Samsung's own software is most garbage in my opinion.
If you use ChatOn and Samsung Hub, etc, disabling this may have an impact.
Here's how I've solved the problem with this pig of an app.
1) go to application manager under settings.
2) go to the "ALL" tab
3) find that "samsung push service"
4) uninstall - this will only uninstall the updates. Once all the very useful updates are gone, the option changes to disable.
5) disable and good riddance.
On a side note, search for this on the playstore. the reviews are hilarious.
c.
Nothing I had tried up to today has fixed my battery drain and diagnostics.client.wakelock issue.
However, today, I got a software update OTA (nb4) on my phone and it appears the problem is fixed.

[Q] Exynos KitKat Battery Drain - gpsd & l2_hsic

Hi Guys,
I upgraded my Exynos Note 3 to Kitkat about 1 month ago, and everything was fine till about 3 days ago when I started experiencing some really bad battery drain. For the last three nights, my phone does not go into deep sleep mode at all. I first noticed this because I usually switch off data and wifi at night. Normally, I'd loose 3% battery overnight, which is good. About two nights ago, I woke up in the morning and I had lost 40% battery (90% down to 50%) overnight! When I checked out the battery stats, "gpsd" had used 80% of the battery.
Since we no longer have batterystats access in Kitkat, I installed the desktop version of WakeLock Detector, enabled USB debugging mode and connected my phone. Phone had basically been awake 97% of the time. Under kernel wakelocks, "l2_hsic" was shown as being the culprit. Now I have searched through various forums online (including xda) to try and find a solution to this. Suggestions vary from home screen replacements (nova launcher) to mobile tracking software (cerberus/findmymobile etc) to generally anything that uses location services. Some even suggest clearing application caches, disabling location services etc. I have tried every suggestion with no change. I uninstalled all mobile tracking apps, turned off location reporting, location history, and eventually location services. I've removed all battery stats apps. I uninstalled all my apps and re-installed them one by one, all with no change. Finally, I backed up my phone and did a factory reset. That seemed to work at first, but after about 3 minutes, "gpsd" was back again, and my phone would not go into deep sleep.
I've done 3 factory resets, and with no google account or samsung account configured, I still get "gpsd" rearing it's ugly head, preventing the phone from going to deep sleep and draining my battery. I'm at wits end.
Anyone know how to fix this? Would appreciate any help!
Anyone!?
OK, so I decided to take out my SIM card, just to see it'd make a difference, and what do you know! "gpsd" no longer takes up CPU time! So this is somehow related to my SIM card? Funny though, coz I'd even tried putting the phone in Airplane mode, but "gpsd" was still taking up CPU time. Does that give anyone an idea as to how this can be fixed?
bump
I'm having exact same issue with my exynos Galaxy S5, shame Samsung.
For the record, my issue fixed itself. Didn't do anything at all. It just went away and never recurred. I'm on the Russian lollipop ROM now, loving it!
Almost a year after the issue fixed "itself"... I have the same problem with my SM-N900 running offical lollipop, Im afraid I cannot wait a year to let the issue fixes itself... and cannot find a solution either.
Anyone that have managed to solve this?
THANKS IN ADVANCE!!

Unexplainable battery drain

For a month or more I'm facing totally unexplainable battery drain.
As seen on the screens below, the phone is awake, but it is not detected anywhere - not by android nor by GSam. In any case the battery draws faster.
I have one observation tho - this happens after I make phone calls. Not every time, but once per 2,3 days.
Any ideas?
Spo0f said:
For a month or more I'm facing totally unexplainable battery drain.
As seen on the screens below, the phone is awake, but it is not detected anywhere - not by android nor by GSam. In any case the battery draws faster.
I have one observation tho - this happens after I make phone calls. Not every time, but once per 2,3 days.
Any ideas?
Click to expand...
Click to collapse
You have this problem
http://forum.xda-developers.com/note-4/general/explanation-horrible-note-4-battery-t3004274
I'm pretty sure that I don't have this issue. Yes, the percentage in GSam maybe high, but I don't believe this reflects what is happening.
First of all - I don't have bad battery life. Usually my over night drain is less than 1%/1h.
Second - the issue appears sporadically.
Third - in the provided thread I don't see the issue appearing in stock battery monitor, while mine appear.
At last - my battery drains faster only while the issue is present and before I restart. After that it is back to normal ...
@Spo0f
Just some suggestions maybe you're using 3g I always have that turned off and switch it on when I use it my guess is that some apps are causing your drain after a call maybe like you said if you're not fimiliar with greenify I suggest you use it to stop all those apps and system apps also uninstall all those bloatware you don't need or at least freeze them if you don't mind lower the resolution to 1080p with nomone app use power save or disable dvfs and use an app to lower and raise the CPU to save juice when not needed....
Thanks for the suggestions, but as I said - this problem appear sporadically - home when using WiFi as well as outside when using 3G.
All of the rest is done - I'm no newby
Spo0f said:
Thanks for the suggestions, but as I said - this problem appear sporadically - home when using WiFi as well as outside when using 3G.
All of the rest is done - I'm no newby
Click to expand...
Click to collapse
Oh sorry mate well I don't use much 3g so I can't help you there but if you're having drainage when you're using WiFi in general then maybe you should reconsider investigating the post above with the link I don't have so much drainage on connectivity with 3g or WiFi....viewing the pics you uploaded it seems suspicious.... Maybe an app? I don't know...
Use wakelock detector
Spo0f said:
I'm pretty sure that I don't have this issue. Yes, the percentage in GSam maybe high, but I don't believe this reflects what is happening.
First of all - I don't have bad battery life. Usually my over night drain is less than 1%/1h.
Second - the issue appears sporadically.
Third - in the provided thread I don't see the issue appearing in stock battery monitor, while mine appear.
At last - my battery drains faster only while the issue is present and before I restart. After that it is back to normal ...
Click to expand...
Click to collapse
My overnight drain was also very low, but that was because the faulty device on the network was asleep at night too (my desktop).
If you're not rooted, use the PC version of Wakelock Detector at the end of your day and post screenshots of your highest drainers for the various categories. In my case, the device was being woken up by something on the network and it showed.
Bear in mind that actively downloading something in the time period will also raise wifi power used but more stats will help.
The fact that you're still experiencing a lot of drain even when outside suggests it might be a rogue app
One phone call today and after it the phone stayed awake.
Because I had issue with the PC WLD the screen shots are from 11 minutes after one of the disconnects. The device was awake all of them.
Spo0f said:
One phone call today and after it the phone stayed awake.
Because I had issue with the PC WLD the screen shots are from 11 minutes after one of the disconnects. The device was awake all of them.
Click to expand...
Click to collapse
I also checked out my battery behaviour this night and was very disappointed. Although my phone was in flight mode and every peripherals and services shut down, today morning my phone was crying for energy. So I made a quick investigation in my power diagram and found out, that "Android OS" requested a wakelock during the whole power-on time. So I installed "CPU Spy" to check in which states the phone was really over the whole charging period. I couldn't believe my eyes. Although the kernel should do it's job good, cause most of the CPU times are in lower freqeuncy states, the deep sleep mode was never activated.
Therefore I installed an app called "Wakelock Detector" to check out which apps could cause that. I found out, that S Health had a big amount of wakelocks and also active-time, so the first thing was to disable S Health. After some minutes I checked back, but nevertheless still no deep sleep time in "CPU Spy".
So I searched around and found another one arguing about the wakelocks and that they could be the products of some programming issues concerning WiFi. The should be gone, after turning off WiFi and rebooting yout phone. And it seems that he was right. I waited some time and hooray, "CPU Spy" listed the phone state "Deep Sleep" the first time as an active state and also with the major active-time. So at least that was some step ahead. (I have to remark, that S Health was already unfrozen at this time, so S Health should not be responsible in any way.)
The next step was to reactivate WiFi, leave it on and set the phone on standby. After some time I checked back again the phone showed even more deep sleep time. So that was an improvement. I reactivated everything and waited some time... Deep Sleep all over the time. Can't figure out for now, if it was S Health, WiFi, or anything else that caused the wakelock for sure. At least the reboot helped. I'll check that out on a long-term test, maybe I get some further conclusions.

Massive wake lock and battery drain

Hi guys,
I have been having an issue with my Motorola X Play (UK Single Sim) I have only owned it for a few months from new.... The battery is draining fast and I can see in the battery stats that it's not sleeping, otherwise the battery usage page shows nothing of interest, apart from perhaps Mobile Standby which is quite high, above the screen but the signal bar is all green...
I rooted my phone to better find out what was causing these issues, otherwise stock Marshmallow. Unfortunately Motorola now are not interested as they say my phone is rooted and now has no warranty - useless idiots!
Using GS Sam battery monitor (rooted) I can see that the following is keeping the phone awake, no other app is.
48.3% of battery consumed by Kernel (Android OS)
Keep awake over 2 hours
CPU usage 59m 53s
Number of Wake Locks: 1
Byes sent: 246.21KB
Bytes Received: 5.70MB
App UID: 0
Wakelock Detail:
Google_C2DM 0.0s (1)
I have tried safe mode but it appears to be the same, I have hardly any apps installed apart from Facebook and Facebook messenger and I have even tried it without them...
I have tried turning off/on WiFi / Location / GPS is now disabled. WiFi Scanning is off. Restarts make no difference... I have even done a factory reset about a month ago.
Any ideas, this phone is having the same battery life or less than my Nexus 5 which had a much smaller battery...
Many thanks
here's a way to avoid it http://forum.xda-developers.com/galaxy-s2/help/google-c2dm-checkin-services-t1321520
i'll update if i find anything else.
don't tell them your device is rooted. if you go to service center just re-lock the bootloader and its back to normal.[it won't get your warranty back but they don't check that much]
can you post a screenshot of gs sam.
1 - Install BetterBatteryStats (BBS) - this will give you detailed information on what is draining your battery. Get it from XDA v2.2.0.0B6 - this gives you the detailed breakdown in the UI that you are after, the google play version doesn't do it in the UI (older version).
Get baseline results (charge it full, don't touch it for 5-6 hours) I like to do this while sleeping.
2 - Install Greenify (you don't need the Xposed module if you don't want to fiddle with that yet, alto I highly recommend it) set the working mode to root. If applications are still not sleeping, add the widget and force sleep everything before you turn off your screen
Get BBS results (do the 5-6 hours while sleeping) - improved?
3 - Install Naptime from the google play store (by Fransico Franco)
Get BBS results - improved?
Getting anal about battery usage?
4- Read up on Amplify - this yielded even more results for me. But this can take a bit of work to get right. There's a lot of great threads on XDA for setting this up.
5 -Smart network - allows you to control data, networks, wifi, bluetooh, nfc, gps on/off with a ton of great features for auto. management.
I have all the above and yield a 0.4%/hr drain on stand by (see signature for phone build).
Amplify is a god sent app. It has been 4 hours now, and I have been using whatsapp on and off (about 20 seconds each time) and I still have 97% left in the tank.
LaurenceGough said:
Hi guys,
I have been having an issue with my Motorola X Play (UK Single Sim) I have only owned it for a few months from new.... The battery is draining fast and I can see in the battery stats that it's not sleeping, otherwise the battery usage page shows nothing of interest, apart from perhaps Mobile Standby which is quite high, above the screen but the signal bar is all green...
I rooted my phone to better find out what was causing these issues, otherwise stock Marshmallow. Unfortunately Motorola now are not interested as they say my phone is rooted and now has no warranty - useless idiots!
Using GS Sam battery monitor (rooted) I can see that the following is keeping the phone awake, no other app is.
48.3% of battery consumed by Kernel (Android OS)
Keep awake over 2 hours
CPU usage 59m 53s
Number of Wake Locks: 1
Byes sent: 246.21KB
Bytes Received: 5.70MB
App UID: 0
Wakelock Detail:
Google_C2DM 0.0s (1)
I have tried safe mode but it appears to be the same, I have hardly any apps installed apart from Facebook and Facebook messenger and I have even tried it without them...
I have tried turning off/on WiFi / Location / GPS is now disabled. WiFi Scanning is off. Restarts make no difference... I have even done a factory reset about a month ago.
Any ideas, this phone is having the same battery life or less than my Nexus 5 which had a much smaller battery...
Many thanks
Click to expand...
Click to collapse
Facebook app has been known to cause serious battery drain in the past. Uninstall it and test again.
In 99% of the cases it is caused by an app. Try to find out which one is causing the drain.
Hi all,
Sorry for the delay and thanks for the replies. I performed a factory reset again, after clearing the cache etc, the same as I did last time. The only difference is I then installed Android 6.0.1
The battery drain has now gone. I didn't perform a restore of apps etc, and the only apps I have installed so far in addition have been Facebook and Facebook messenger but I have found these have had no effect at all on the battery drain. I haven't even updated the stock apps (apart from the security ones).
I now get two days of use easy. It also seems to be running slightly faster. I will update apps one by one, over the course of a few days to make sure nothing causes it again...
http://forum.xda-developers.com/android/general/guide-extreme-battery-life-t3095884
I use this guide, works really great to limit wake locks.
And I don't use Fb app but use the browser instead, battery lasts easily two days of "heavy" usage !
I found the problem, or at least a major bug. Whenever you cast to Google Chromecast Audio and then stop casting completely there is a massive wakelock until you next restart the phone. My phone was awake all night and down to 20% battery life. Android OS takes a massive portion of the battery life and under keep awake stats it's 9 hours +. It seems that when it says disconnected it is not. A major bug! I'll try and report it using Google's bug reporter...
LaurenceGough said:
I found the problem, or at least a major bug. Whenever you cast to Google Chromecast Audio and then stop casting completely there is a massive wakelock until you next restart the phone. My phone was awake all night and down to 20% battery life. Android OS takes a massive portion of the battery life and under keep awake stats it's 9 hours +. It seems that when it says disconnected it is not. A major bug! I'll try and report it using Google's bug reporter...
Click to expand...
Click to collapse
not even Doze could kill it? perhaps you could try Servicely and see if it could stop the thing from running.
pijes said:
not even Doze could kill it? perhaps you could try Servicely and see if it could stop the thing from running.
Click to expand...
Click to collapse
Nope, Doze had no affect at all but it should be as it was sitting stationary overnight - normally the drain overnight is a few percent at the most, last night it was around 65% and I was left with 20% in the morning and this was I think the first time I had used Google Chromecast Audio since the factory reset with great battery life up to last night... I could try Servicely but I am not sure on the service to kill and I'd like to keep it 100% stock for now so I can help out Google to fix the bug (or Motorola if they bother)... What a pain as I just bought 4x Google Chromecast Audios!!
I have reported it here in the Android bug tracker, feel free to comment / star the issue to bring it to Google's attention.
https://code.google.com/p/android/issues/detail?id=208324
However I am not sure if this is a Motorola Issue or a Google Marshmallow / Chromecast issue?? Motorola support have been very unhelpful so no luck if that is the case...
If anyone else with Chromecast Audio could confirm the bug that would be great.
Thanks
Laurence
There's a post on reddit about battery drain with chromecast audio about a year ago, not sure if it's the same issue though.
Sent from my XT1562 using XDA-Developers mobile app
https://forum.xda-developers.com/general/general/fix-fix-systemupdateservice-wakelock-t3060548
maybe this help, on moto g this helped
apart from greenify and naptime...i dont think we have something like amplify yet for nougat devices, also with the governor scripts they are providing better results now
yep
miss5tability said:
i dont have root etc but on my just buy moto x play with stock android 6 i dont have 2 sensors working and deep sleep is gone so battery drain... even after cler cache. reset etc, this phone is pure ****
Click to expand...
Click to collapse
If you bought it brand new just go back to the shop for replacement
pijes said:
If you bought it brand new just go back to the shop for replacement
Click to expand...
Click to collapse
yep

Categories

Resources