Android OS wakelock, phone won't sleep or Doze - Nexus 5X Q&A, Help & Troubleshooting

Hi guys,
Got my Nexus 5X on Monday and since then I've been experiencing some odd battery drain from "Android OS" under battery stats. I've uploaded a set of images from the stock android battery manager and 2 images from GSAM. Does anyone have any idea what's going on and how I can fix it? Thank you so much
Please compare "Screen" and "Held awake" in the GSAM image & take a look at the Android OS stats in the 3rd image in the top row if you can
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

I'm experiencing this exact same thing. Could this be related to the apps we have installed at all? Or is it just android

i'm not sure I was experiencing the same drain in safe mode so it seems to be an android issue to me

Yes, that is an android issue, in mostly cases that is a device kernel.
Sent from my Nexus 5 using Tapatalk

It's happening to me as well. My top battery drain app is always Android OS and keep awake for a long time.
Worst case is I can't get any insight which part of Android OS is doing this.

Check Google's Account sync, some items may be stuck (has the refresh icon)

Connect via adb and run the command "dumpsys power", post the result here.

doitright said:
Connect via adb and run the command "dumpsys power", post the result here.
Click to expand...
Click to collapse
Code:
POWER MANAGER (dumpsys power)
Power Manager State:
mDirty=0x0
mWakefulness=Awake
mWakefulnessChanging=false
mIsPowered=true
mPlugType=2
mBatteryLevel=19
mBatteryLevelWhenDreamStarted=19
mDockState=0
mStayOn=false
mProximityPositive=false
mBootCompleted=true
mSystemReady=true
mHalAutoSuspendModeEnabled=false
mHalInteractiveModeEnabled=true
mWakeLockSummary=0x0
mUserActivitySummary=0x1
mRequestWaitForNegativeProximity=false
mSandmanScheduled=false
mSandmanSummoned=false
mLowPowerModeEnabled=false
mBatteryLevelLow=false
mDeviceIdleMode=false
mDeviceIdleWhitelist=[10007, 10013, 10072]
mDeviceIdleTempWhitelist=[]
mLastWakeTime=33405646 (53768 ms ago)
mLastSleepTime=33385681 (73733 ms ago)
mLastUserActivityTime=33408522 (50892 ms ago)
mLastUserActivityTimeNoChangeLights=33068861 (390553 ms ago)
mLastInteractivePowerHintTime=33408522 (50892 ms ago)
mLastScreenBrightnessBoostTime=0 (33459414 ms ago)
mScreenBrightnessBoostInProgress=false
mDisplayReady=true
mHoldingWakeLockSuspendBlocker=false
mHoldingDisplaySuspendBlocker=true
Settings and Configuration:
mDecoupleHalAutoSuspendModeFromDisplayConfig=false
mDecoupleHalInteractiveModeFromDisplayConfig=true
mWakeUpWhenPluggedOrUnpluggedConfig=true
mWakeUpWhenPluggedOrUnpluggedInTheaterModeConfig=false
mTheaterModeEnabled=false
mSuspendWhenScreenOffDueToProximityConfig=true
mDreamsSupportedConfig=true
mDreamsEnabledByDefaultConfig=true
mDreamsActivatedOnSleepByDefaultConfig=false
mDreamsActivatedOnDockByDefaultConfig=true
mDreamsEnabledOnBatteryConfig=false
mDreamsBatteryLevelMinimumWhenPoweredConfig=-1
mDreamsBatteryLevelMinimumWhenNotPoweredConfig=15
mDreamsBatteryLevelDrainCutoffConfig=5
mDreamsEnabledSetting=true
mDreamsActivateOnSleepSetting=false
mDreamsActivateOnDockSetting=true
mDozeAfterScreenOffConfig=true
mLowPowerModeSetting=false
mAutoLowPowerModeConfigured=true
mAutoLowPowerModeSnoozing=false
mMinimumScreenOffTimeoutConfig=10000
mMaximumScreenDimDurationConfig=7000
mMaximumScreenDimRatioConfig=0.20000005
mScreenOffTimeoutSetting=600000
mSleepTimeoutSetting=-1
mMaximumScreenOffTimeoutFromDeviceAdmin=2147483647 (enforced=false)
mStayOnWhilePluggedInSetting=0
mScreenBrightnessSetting=104
mScreenAutoBrightnessAdjustmentSetting=0.0
mScreenBrightnessModeSetting=0
mScreenBrightnessOverrideFromWindowManager=-1
mUserActivityTimeoutOverrideFromWindowManager=-1
mTemporaryScreenBrightnessSettingOverride=-1
mTemporaryScreenAutoBrightnessAdjustmentSettingOverride=NaN
mDozeScreenStateOverrideFromDreamManager=1
mDozeScreenBrightnessOverrideFromDreamManager=-1
mScreenBrightnessSettingMinimum=1
mScreenBrightnessSettingMaximum=255
mScreenBrightnessSettingDefault=78
mDoubleTapWakeEnabled=false
Sleep timeout: -1 ms
Screen off timeout: 600000 ms
Screen dim duration: 7000 ms
UID states:
UID 1000: 0
UID 1001: 0
UID 1027: 0
UID 1037: 16
UID u0a9: 10
UID u0a13: 3
UID u0a24: 16
UID u0a29: 0
UID u0a31: 3
UID u0a57: 3
UID u0a78: 10
UID u0a91: 10
UID u0a92: 10
UID u0a108: 3
UID u0a111: 16
UID u0a116: 10
UID u0a133: 10
UID u0a134: 10
UID u0a142: 10
UID u0a145: 10
UID u0a149: 2
UID u0a150: 10
Wake Locks: size=0
Suspend Blockers: size=4
PowerManagerService.WakeLocks: ref count=0
PowerManagerService.Display: ref count=1
PowerManagerService.Broadcasts: ref count=0
PowerManagerService.WirelessChargerDetector: ref count=0
Display Power: state=ON
Wireless Charger Detector State:
mGravitySensor={Sensor name="Gravity", vendor="Google", version=1, type=9, maxRange=1000.0, resolution=1.0, power=0.0, minDelay=5000}
mPoweredWirelessly=false
mAtRest=false
mRestX=0.0, mRestY=0.0, mRestZ=0.0
mDetectionInProgress=false
mDetectionStartTime=0 (never)
mMustUpdateRestPosition=false
mTotalSamples=0
mMovingSamples=0
mFirstSampleX=0.0, mFirstSampleY=0.0, mFirstSampleZ=0.0
mLastSampleX=0.0, mLastSampleY=0.0, mLastSampleZ=0.0

Any luck finding a answer? I have the same problem. Android OS - Keep awake 9h 19min - basically since plugged it from charger this morning. Phone doesn't dose at all.

Having the same problem. Do you think that it a hardware issue? I am starting to get a bit worried.

Also having the same issue. Thought at first it was cause by me doing a restore from a nexus 5 to the 5x when I first got it. So I did a complete factory reset and added all the apps back manually. Still draining at about the same amount.

Any solution guys?
Also, do any of you have problems with your wifi connecting and disconnecting randomly? I am having that problem and I think that that might be the reason for the Android OS drain because it does not let the phone sleep. Also in the battery section, the phone stays awake for long periods of time compared to the screen on time. I do not have any other idea of what might be causing such big wakelocks. I am also not rooted so I cannot determine what is causing them.
Honestly, getting very annoyed here. My old optimus g holds the wifi connection well but this new phone cannot.
Edit: I also did a complete factory reset but the problem still remains. However, I disabled "Keep wifi on during sleep" and did see the Android OS drop down in the battery list. But the wifi does not automatically connect when I wake up the phone. I have to turn off wifi and turn it on again to connect. Do you think it might be a kernel problem or hardware? I am on 6.0.1, everything stock with locked bootloader.

friendlyguy55 said:
But the wifi does not automatically connect when I wake up the phone. I have to turn off wifi and turn it on again to connect. Do you think it might be a kernel problem or hardware? I am on 6.0.1, everything stock with locked bootloader.
Click to expand...
Click to collapse
Seems like a software problem: http://forum.xda-developers.com/nexus-5x/help/6-0-1-wifi-sleep-issue-t3271788

trondisaksen said:
Seems like a software problem: http://forum.xda-developers.com/nexus-5x/help/6-0-1-wifi-sleep-issue-t3271788
Click to expand...
Click to collapse
Yeah, I read that afterwards. I do hope that Google fixes it soon.

Does anyone know if there's progress in fixing this wakelock? I bought a new Nexus 5X a couple of days ago and immediately noticed the battery drain due the Android OS keeping the phone awake anywhere from 5 to 7 hours each day. A restart seems to momentarily resolve the issue, but it starts up again a few hours later. Very frustrating!

Bit of a bump, I am having the same issue with my Motorola X Play on 6.0.0 or 6.0.1 the cause appears to be linked to casting the screen (well audio) with a Google Chromecast Audio. After disconnecting from casting it appears to keep a connection all the time for 9 hours + causing the phone to be in a constant massive battery draining wakelock.

I agree. Chromecast audio causes a massive wakelock issue. Just throw it in the trash. You get less battery drain using aux cable connection.

tjrocks91 said:
Hi guys,
Got my Nexus 5X on Monday and since then I've been experiencing some odd battery drain from "Android OS" under battery stats. I've uploaded a set of images from the stock android battery manager and 2 images from GSAM. Does anyone have any idea what's going on and how I can fix it? Thank you so much
Please compare "Screen" and "Held awake" in the GSAM image & take a look at the Android OS stats in the 3rd image in the top row if you can
Click to expand...
Click to collapse
Same problem here. My battery drains in about 3 hours. I did a factory reset tonight. No help. I'm sick of this device after 8 months. Too many issues.
Sent from my Nexus 5X using XDA-Developers mobile app

Has anyone found this battery draining/doze solution?
I also was playing around with my n5; obviously it wasn't connected to cellular because my sim card is in my 5x, but the battery while I'm using the device with the screen on lasts so much longer than the 5x.
I can't figure out why with my brightness almost completely down, my battery drains right before my eyes on my 5x. I literally watch the percentage drop.
This is really frustrating especially after the factory reset.
Sent from my annoying Nexus 5X

Related

"Android OS" consuming battery [POTENTIAL SOLUTION]

EDIT
I was able to solve my battery issue by formatting my SD card. Something on there was causing the battery to drain 2-3 times more quickly than normal. After formatting, I went from 6-8 hour battery life to around 20 hours with significant usage (Google, Exchange, IMAP, Facebook all on push, 3G+Bluetooth+GPS on, 4G and wifi as needed for extra speed).
Important to note, I am not entirely convinced that the Android OS and battery drain are related since I still have Android OS near if not at the top of my battery consumption screen, but the improved actual longevity is very significant. I recommend anyone having their battery run out format their SD card (and possibly USB storage) and see if that helps (obviously back up any important data first!). Good luck!
ORIGINAL POST
I'm getting pretty bad battery life, and it looks like "Android OS" is consuming most of it. I've rebooted (as suggested in other threads), checked OS Monitor for high-CPU usage processes, but nothing stands out. This is un-rooted, stock OS with no third party launchers installed.
I have a feeling if this issue was fixed, I'd be getting great battery life. This happening to anyone else?
Screenshots show the device at 38% after 6.5 hours off the charger.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
if u using a 2.3.3 based rom is normal, that bug is fixed at 2.3.4 and 2.3.5
Sent from my GT-I9000 using Tapatalk
Dfolt said:
if u using a 2.3.3 based rom is normal, that bug is fixed at 2.3.4 and 2.3.5
Click to expand...
Click to collapse
xak944 said:
This is un-rooted, stock OS with no third party launchers installed.
Click to expand...
Click to collapse
My device is running 2.3.4.
That's an awful lot of awake time with no screen on time. Do you have things updating in the background frequently? I.e. social hub, Facebook, news widgets?
And not to be too obvious, but is your 4g antenna turned on?
Sent from my SPH-D710 using XDA App
MoMatt said:
That's an awful lot of awake time with no screen on time. Do you have things updating in the background frequently? I.e. social hub, Facebook, news widgets?
Click to expand...
Click to collapse
No, I don't. I have fewer widgets and fewer accounts (haven't set up my work Exchange yet) than I previously had on my EVO, which got great battery life.
I've been on Android over a year and am quite familiar with how it works... I'm just unfamiliar with Samsung specifically and unrooted devices and was hoping someone might have a similar experience.
I have the same thing. Significantly more awake time then screen on time, and Android OS eating the battery. Also stock.
Same here too
I had this exact issue and no longer do. Here is what I did and posted in another thread:
OK I hope someone finds this useful and/or can verify. I was one of those people getting awful battery life, meaning lucky to last 8 hours from 100% to 0%. The "Android OS" process would take hours of CPU time. Now it will take up maybe 30 min over the course of the day. Here is the only thing I did between the time it went from bad to good. I changed the wifi sleep policy. It is by default (for me at least) set to never. I changed it to "when the screen turns off" and left it there for about an hour. Then went in and changed it back to never. From the point of doing this my battery life has been great.
I know it sounds strange but it seems to have worked for me so I thought I would share.
mjdoran said:
I had this exact issue and no longer do. Here is what I did and posted in another thread:
OK I hope someone finds this useful and/or can verify. I was one of those people getting awful battery life, meaning lucky to last 8 hours from 100% to 0%. The "Android OS" process would take hours of CPU time. Now it will take up maybe 30 min over the course of the day. Here is the only thing I did between the time it went from bad to good. I changed the wifi sleep policy. It is by default (for me at least) set to never. I changed it to "when the screen turns off" and left it there for about an hour. Then went in and changed it back to never. From the point of doing this my battery life has been great.
Click to expand...
Click to collapse
Thanks for the suggestion!
I made the change, hopefully it will help, although I'm reluctant since I haven't had wifi on all day and my battery has been dropping like a rock. Here's hoping... will report back if it helps.
xak944 said:
Thanks for the suggestion!
I made the change, hopefully it will help, although I'm reluctant since I haven't had wifi on all day and my battery has been dropping like a rock. Here's hoping... will report back if it helps.
Click to expand...
Click to collapse
I rarely use wifi as well but this setting seemed to affect the phone in general, if your using wifi or not. I might just be crazy though. Either way I no longer have the issue so
does the google voice widget pull data in the background or is it a push thing?
I'm seeing high usage (60+%) by AndroidOS also (stock, unrooted, not using WiFi, not using 4G), although battery life has not been bad that I have noticed.
Watchdog Lite indicates that this is primarily due to two processes:
events/0
suspend
mjdoran said:
I had this exact issue and no longer do. Here is what I did and posted in another thread:
OK I hope someone finds this useful and/or can verify. I was one of those people getting awful battery life, meaning lucky to last 8 hours from 100% to 0%. The "Android OS" process would take hours of CPU time. Now it will take up maybe 30 min over the course of the day. Here is the only thing I did between the time it went from bad to good. I changed the wifi sleep policy. It is by default (for me at least) set to never. I changed it to "when the screen turns off" and left it there for about an hour. Then went in and changed it back to never. From the point of doing this my battery life has been great.
I know it sounds strange but it seems to have worked for me so I thought I would share.
Click to expand...
Click to collapse
I'm having the exact same issue. Stupid question here (I've already tried to find it and googled it too, but no success.
Where do you change the wifi policy? I don't see it under wifi settings
limeaid said:
Where do you change the wifi policy? I don't see it under wifi settings
Click to expand...
Click to collapse
Wifi Settings > Menu > Advanced
limeaid said:
I'm having the exact same issue. Stupid question here (I've already tried to find it and googled it too, but no success.
Where do you change the wifi policy? I don't see it under wifi settings
Click to expand...
Click to collapse
Settings >> Wireless and Networks >> Wi-Fi settings
Then press the menu button and then advanced.
Should then be the first option "Wi-Fi sleep policy".
Thanks. Like everyone else, I'm going to try this out and report back after a day or so
I'm trying to get into the 'INFO' section to view wake locks for battery usage clues. I've tried *#INFO*1111# (as mentioned here) and the old *#*#INFO*#*# to no avail. Anyone been able to get to the diagnostic screen from the dialer?
Are people with battery problems using widgetlocker?
JoeBruin32 said:
Are people with battery problems using widgetlocker?
Click to expand...
Click to collapse
Interesting. I installed it yesterday. Will try removing it if the wifi setting doesn't work...
Is anyone with the "Android OS" battery drain not using widgetlocker?
xak944 said:
Interesting. I installed it yesterday. Will try removing it if the wifi setting doesn't work...
Is anyone with the "Android OS" battery drain not using widgetlocker?
Click to expand...
Click to collapse
I am not and was not using it.

Massive drain battery

Hi,
I have huge problem which hasn't occurred for the first time. I left my t520 with 92% and fell asleep. When I woke up it was at 40%. I had wifi off, and turned off wifi scanning when eve n off (which caused drain esrlier). According to wake lock detector the process which keeps running can be seen under. Please help me. In settings it only says that android process (97% usage of battery) has used CPU for 10h42mi and stood awake for 7h45min
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
http://imgur.com/wNEhSFt
P.s. This tab is complete rubbish....
i would suggest go into settings....->battery. this should show u what is using your battery the most. if its a app delete it and see if it works. if not i would recomend doing a factory reset. this is what i do when something eats my battery alot.
foxracer89 said:
Hi,
I have huge problem which hasn't occurred for the first time. I left my t520 with 92% and fell asleep. When I woke up it was at 40%. I had wifi off, and turned off wifi scanning when eve n off (which caused drain esrlier). According to wake lock detector the process which keeps running can be seen under. Please help me. In settings it only says that android process (97% usage of battery) has used CPU for 10h42mi and stood awake for 7h45min
http://imgur.com/wNEhSFt
P.s. This tab is complete rubbish....
Click to expand...
Click to collapse
foxracer89 said:
Hi,
I have huge problem which hasn't occurred for the first time. I left my t520 with 92% and fell asleep. When I woke up it was at 40%. I had wifi off, and turned off wifi scanning when eve n off (which caused drain esrlier). According to wake lock detector the process which keeps running can be seen under. Please help me. In settings it only says that android process (97% usage of battery) has used CPU for 10h42mi and stood awake for 7h45min
http://imgur.com/wNEhSFt
P.s. This tab is complete rubbish....
Click to expand...
Click to collapse
Are you using Songza? It has big problems right now with battery drain. The deal is, is probably not the device. There is an app that is causing your issue.
Sent from my SM-T320 using XDA Premium 4 mobile app
The tab yesterday got from 30% to complete 0% with everything off (aeroplane mode, sync off etc.) just laying on the desk.
In settings its shows that battery is drained only by Android process.
I was thinking about what might be the cause and just realised that it started to happen just affter purchase of original samsung case for this tab. Is it possible that it had impact on one of the processes? Cause CPU is active almost all the time despite neither app running in the background... Maybe it's due to the magnetic thingy which wakes the screen?
foxracer89 said:
I was thinking about what might be the cause and just realised that it started to happen just affter purchase of original samsung case for this tab. Is it possible that it had impact on one of the processes? Cause CPU is active almost all the time despite neither app running in the background... Maybe it's due to the magnetic thingy which wakes the screen?
Click to expand...
Click to collapse
If the magnet is turning the tablet on, the screen would be on, and you can see that even with the cover of the case closed. So if you can see the screen if off, then I would say no, the magnet is not causing your drain problem.
Do you have Skype installed? This is a known battery drain problem on Kitkat as well. Its a bug within Kitkat itself, so maybe that is why its being reported as the Android process, and not one of your apps.
take a screenshot of you battery
redpoint73 said:
If the magnet is turning the tablet on, the screen would be on, and you can see that even with the cover of the case closed. So if you can see the screen if off, then I would say no, the magnet is not causing your drain problem.
Do you have Skype installed? This is a known battery drain problem on Kitkat as well. Its a bug within Kitkat itself, so maybe that is why its being reported as the Android process, and not one of your apps.
Click to expand...
Click to collapse
I don't think it's an app problem. I have only few apps installed (news reader, 2 games, fb and few random apps. I'll upload the screenshot when I'll be at home
Yep, my battery has started playing up. It likes to say it's 21% but then goes to 15, then between 2 and 4 within a couple of minutes. Sometimes runs on 1% for ages. But then dies, I turn it back on and it says 21%
Don't know if is root related. Our if I just need a hard reset. Going to try draining battery fully, then charging to full with device off
Sent from my SM-T520 using XDA Premium HD app
I also have never seen such a huge battery drain on any samsung or android device. For once, if you dont need it, go into settings and location services. Just disable it completly with that switch. This reduces the drain a lot, but is still way to high...
For me, it drains about 20% overnight with location on (completly offline) and about 10% without location services.
I have the same problem as well. It will continuously drain from 90-50 in minutes and then 50-15 and so on. 1% sometimes lasts for 30 minutes+ and when I restart it will be 15+% again. I thought it might be because of custom roms so I reset it back to stock many times and same problem. The only apps I have installed are adobe reader and es file manager.
JAIMEREYES said:
I have the same problem as well. It will continuously drain from 90-50 in minutes and then 50-15 and so on. 1% sometimes lasts for 30 minutes+ and when I restart it will be 15+% again. I thought it might be because of custom roms so I reset it back to stock many times and same problem. The only apps I have installed are adobe reader and es file manager.
Click to expand...
Click to collapse
boy, you're digging out a two year old thread!!
if you have such a battery drain you have different (unsatisfying) choices:
1. try battery calibration or other roms
2. throw you tab away + buy a new one
3. buy a new battery
4. accept it (like me)
5. wait until someone brings an awesome new rom which will give an awesome battery life
(sorry for hidden sarcasm but this tablet is just a big disappointment (for me))
I don't think you should throw away devices or buy new batteries without first analyzing what the problem could be. If you are rooted, download an app such as Wakelock Detector and BetterBatteryStats first, make sure there isn't some rogue app or process that is constantly running in the background. Also, if you are running the 8.4 (or perhaps it also works with the 10.1 / 12.1), check out the link in my signature on how to reseat your battery. Many people have found success with all kinds of battery problems.

Sudden battery drain - how to tell what caused it?

My Zenwatch usually consumes <50% of its battery during a typical day. Today however it was completely dead by 7pm, even though there was nothing unusual about the day - it was worn at the same location all day, and was in close proximity to my phone all day.
Is there any way of tracing what causes this sort of sudden battery drain?
Hello,
same Problem here.
You can use the "Android Wear" app, connect to your watch and press the gear wheel on the upper right, then press on the first entry " Asus Zenwatch 2" and then you see the option "Battery of the watch" in the middled of the screen. It looks the same as you can see it on the telephone but for you watch battery.
I made a few screenshots today:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
looks ok for me...
still ok...
now there has something started sucking the battery empty....
now it has stopped... but only for a moment - later it came back and at 15:30 I had only 13% left. I noticed that the temperature display still was showing 7°C but my car display shows 16".
I restarted the watch now and voilá the temp changed to 16°... very stange
And this is the second watch - the first one I send back to Amazon because of the same "bug" ....
For some reason I can't see any of your screenshots. Any chance or re-uploading them?
itm said:
For some reason I can't see any of your screenshots. Any chance or re-uploading them?
Click to expand...
Click to collapse
better now?
Still nothing
???
I think he was trying to upload a screenshot like the one I attached to this post, it's basically a similar battery usage indicator like the one for the Android phone itself. I don't have anything on here really, yet, because it hasn't been too long since I took it off the charger.
Asus Zentalk forum has walkthroughs
The Asus ZenTalk forum has a walk-through with pictures on how to get to the battery use screen. (I'd post the link for you, but I don't have enough posts yet to post links).
I just had the same problem happen this evening. Everything was fine until about 8pm, with 70% remaining, then two hours later it had plummeted to 15%. I checked the battery stats in the Android Wear app, as suggested, but they didn't help: there were only 2 lines:
- Watch Idle: 5%
- Screen: 2%
Screenshot is here:
https://www.dropbox.com/s/jd8x74gbhs78uih/Screenshot_2015-10-29-21-47-19.png?dl=0
???
itm said:
I just had the same problem happen this evening. Everything was fine until about 8pm, with 70% remaining, then two hours later it had plummeted to 15%. I checked the battery stats in the Android Wear app, as suggested, but they didn't help: there were only 2 lines:
- Watch Idle: 5%
- Screen: 2%
???
Click to expand...
Click to collapse
That is a pretty drastic and sudden drop. What watch face were you using? Did the watch do (vibrate?) or alert you to anything (view messages, receive a call, etc) during that time?
What are each of your settings in the settings area (what features do you have turned on or off)? If you have wifi turned on where you in an area where it may have been attempting to connect to nearby wifi networks and repeatedly failing (like trying to connect to networks where there are sign-on pages where you have to agree to a user agreement before connecting to a free wifi network)?
If you look at your phone battery usage during that same time (if you still can) does it show anything highly active on your phone during that time? (For example could the phone have been trying to update any of the files or apps on your watch during that time?).
To answer your questions:
- What watch face were you using? Perfection (although the last time I had this problem I was using the Explorer watchface)
- Did the watch do (vibrate?) or alert you to anything (view messages, receive a call, etc) during that time? No - I just got a few notifications when emails came in
- What are each of your settings in the settings area?
- Brightness: 3
- Font size: Normal
- Always on screen: Off
- Wrist gestures: On
- Screen lock: Off
- If you have wifi turned on where you in an area where it may have been attempting to connect to nearby wifi networks and repeatedly failing - No, I was at
home in my study and lounge (within 15 feet of my wifi router at all times)
- If you look at your phone battery usage during that same time (if you still can) does it show anything highly active on your phone during that time? I don't have the ability to look at yesterday's phone battery stats, but I know that there were no app updates or unusual notifications on the phone during that period yesterday
???
itm said:
To answer your questions:
- What watch face were you using? Perfection (although the last time I had this problem I was using the Explorer watchface)
- Did the watch do (vibrate?) or alert you to anything (view messages, receive a call, etc) during that time? No - I just got a few notifications when emails came in
- What are each of your settings in the settings area?
- Brightness: 3
- Font size: Normal
- Always on screen: Off
- Wrist gestures: On
- Screen lock: Off
- If you have wifi turned on where you in an area where it may have been attempting to connect to nearby wifi networks and repeatedly failing - No, I was at
home in my study and lounge (within 15 feet of my wifi router at all times)
Click to expand...
Click to collapse
In the days that have followed did the problem of sudden drain continue to occur, or does it appear to have been an isolated incident?
In that time period it experienced the drastic drop were you doing anything repeatedly? (ex: eating food, exercising, reading a book?) Repetitive tasks where you wrist was moving a lot may have been turning on your watch using the wrist gestures, and it seems that wrist gestures (where the brightness level 3, color, etc are activated) may use more battery than always on in its timed-out dim mode does. If you're continuing to experience the problem try going a day with always on screen turned on, wrist gestures turned off, and see if there is a difference in your battery use at the end of the day.
Your watch may also be preforming syncing with your phone at a particular time, and transfer of data across wifi between the two may be draining the battery. You could try turning off the sync setting on your phone for a day, and see if that makes a difference.
Finally you can try turning off wifi, and see how much longer your battery lasts with wifi switched off on the watch.
In the period when it dropped drastically I was sitting on the sofa watching TV. There were no repetitive tasks. In fact I could probably not have been less mobile!
I now have "always on" mode enabled, and have disabled tilt-to-wake. So far it has maintained the usual (low) battery usage, so I'll wait and see if I get a recurrence of the problem.
The problem with turning off sync for a day is that it's unlikely to prove anything. This problem only happens every few weeks, so if it doesn't happen on the day that I have sync turned off then I'll be no wiser.
I'm not sure what you mean by turning off wifi on the watch - do you mean putting it into airplane mode? If I do I would fully expect my battery life to improve, but how would that prove whether it was the potential cause of the rapid 2-hour drain?
I'm watching my watch battery levels very closely at the moment, but if I do notice a sudden drain again what can I do to establish exactly what is happening on the watch at the time? If the watchface is displayed as usual, and there's no evidence of any specific app running on the watch, what other options do I have for finding the cause of the excess battery drain?
After 4 weeks I've just had the same problem on 2 consecutive days. At the end of the first day I notiiced that the "tilt-to-wake" option had become re-enabled (I'm not sure how, as I don't remember enabling it). I disabled it again last night, but today my battery was pretty much dead by 9pm. I tried a reboot earlier in the day, but it didn't seem to help.
The latest version of the Android Wear app seems to have removed all info on battery usage, so this is impossible to diagnose. As things stand, the watch has gone from being an all-day device to a device that won't last a whole day in the last days (
Rather than trouble shooting you should just go for a completely new set up of the watch. Uninstall the wear and ZenWatch manager apps, factory reset the watch and reinstall everything.
I've gone from just under a day to an insane 3-4 days battery life. (I don't use any fitness trackers or ambient mode btw)
Sent from my ASUS_Z00AD using Tapatalk
So today the problem seems to have gone away. For the first time since the weekend I got through the whole day with only 40% battery usage. This battery drain issue seems completely random, and it's annoying that there's no way of diagnosing it.
Surprised that more people aren't seeing this.
itm said:
The latest version of the Android Wear app seems to have removed all info on battery usage
Click to expand...
Click to collapse
The new version of Wear from yesterday has the battery usage option again.
CSX321 said:
The new version of Wear from yesterday has the battery usage option again.
Click to expand...
Click to collapse
Hmmm....I'm not seeing an update with that option in it yet.....maybe tomorrow...
itm said:
Hmmm....I'm not seeing an update with that option in it yet.....maybe tomorrow...
Click to expand...
Click to collapse
For reference, the version I got yesterday (as shown on the phone) is 1.4.0.2470307.gms
CSX321 said:
The new version of Wear from yesterday has the battery usage option again.
Click to expand...
Click to collapse
CSX321 said:
For reference, the version I got yesterday (as shown on the phone) is 1.4.0.2470307.gms
Click to expand...
Click to collapse
Ah OK I'm still on 1.4.0.2462440.gms and the Play Store isn't showing an update available yet. Fingers crossed I'll get it soon, and that the battery info actually gives me some useful information when I see it draining fast next time.

[MM] Got Poor Battery Life? No Deep Sleep - Possible reasons, and possible fix inside

Like a lot of people I found myself with battery woes on the G4, at first my battery was comparable to my G3, if not a little bit better but over time, and certainly since MM was released, my battery life was quite frankly awful.
Long Story
I was losing power rapidly, even when I was barely touching the phone - so I finally decided to look into it. After carefully monitoring apps, wakelocks etc nothing looked out of place, everything was working normally until I installed my old faithful app - SetCPU, this is a nice basic app that just shows what your CPU has clocked too and how long it spent there in a given timescale and one thing alarmed me greatly. I was getting less than one minute of deep sleep in every 60 minutes the phone was running - now if I had been using the phone for 58 minutes of that hour I would expect this, only I hadn't!
I did more testing, and more testing and more testing but the results were the same, the phone barely entered deep sleep, and when it did it didn't stay there very long.
Now as I said, using all the other apps, and android stats, nothing looked particularly out of place and after a few days of trying everything under the sun to fix the problem I decided to go nuclear. I wiped the phone, installed no third party apps but setcpu and began testing. I left the phone for a period of 10 minutes to see what the deep sleep value was (looking for it to be somewhere between 80 and 100% of time, which it was!) and it seemed to be back to normal, working fine. So then I started to install my core apps, one by one running the same 10 minute test between each one, idea being eventually I would hit whatever app it was that caused me problems.
So I installed upwards of 30 apps, and everything was still fine, in 10 minutes of not using my phone I was getting around 9 minutes of deep sleep, which is what you would expect.
And then came facebook, now I know there are lots of reports of facebook being a bad app blah blah blah, but I have never seen facebook react like this before, and I don't know if it was marshmallow or a mixture of marshmallow and LG - but when facebook is installed my phone stopped sleeping again, at first it wasn't a huge change, but was noticeable it dropped to deep sleeping at about the 40% mark so I had 4 minutes deep sleep in my 10 minute test - force closing facebook made no difference, I tested it again and again, rebooted and again - same results.
I then installed facebook messenger, and my deep sleep dropped again, to about 20%.
I then uninstalled messenger - no change.
I then rebooted - back to 40%
I then removed facebook - no change
I then rebooted - back to 80+ %.
TLDR: The "Solution"
Now for some of you this won't be a solution as you will claim you need the apps, but there are third party alternatives out there that work pretty well without causing this issue.
Facebook (and facebook messenger) on stock MM builds (at least on the G4) causes the phone to hardly ever enter "deep sleep", this means it is always running a CPU clock, albeit the lowest setting, but it consumes far more power than it needs too especially when the phone is not in use.
After removing them my phone is now sleeping fine and my battery life is back to being very good - lost 4% in the last 8 hours (albeit idle, I was asleep), which is much better than losing 4% an hour that I was before facebook was removed.
Go give it a try, install setcpu, reset the timer close go back to your home screen then leave your phone for 10 minutes then check your deep sleep values, then try it after removing facebook (and rebooting).
Let me know how you get on.
Hold your horses!
You should try Amplify:
https://play.google.com/store/apps/details?id=com.ryansteckler.nlpunbounce&hl=en_GB
http://forum.xda-developers.com/xposed/modules/mod-nlpunbounce-reduce-nlp-wakelocks-t2853874
I have used it to disable Facebook services and limit the wakelocks and alarms to every 3600 seconds. Last night I had 5hrs of deep sleep with no interruption whatsoever.
dtective said:
Hold your horses!
You should try Amplify:
https://play.google.com/store/apps/details?id=com.ryansteckler.nlpunbounce&hl=en_GB
http://forum.xda-developers.com/xposed/modules/mod-nlpunbounce-reduce-nlp-wakelocks-t2853874
I have used it to disable Facebook services and limit the wakelocks and alarms to every 3600 seconds. Last night I had 5hrs of deep sleep with no interruption whatsoever.
Click to expand...
Click to collapse
only any use if you have root
So interesting...
Can you do those tests again after disabling the Marshmallow battery optimizing for Facebook app ?
Sent from my LG-H815 using Tapatalk
I was having these issues too after upgrading to MM. My battery life was appalling and Facebook was keeping the phone awake for hours at a time. I simply did a full factory reset, and then restored my phone from the most recent backup. My battery life is now excellent, even with Facebook and Messenger installed
There was a wakelock introduced with the new version of facebook about a week ago not sure if it is still relevant. It goes by the name of bugreporting service. Something like that. The same goes with FB messenger. I got pissed off with the official app because of this and got Metal instead
I don't run Facebook (never have) or any messaging other than Hangouts and battery is always great (2-3 days). If you don't need it...uninstall it.
Kindle app was always a great one for running constantly in the background for no reason. So I bought an actual Kindle and didn't use the app.
I totally agree with the OP, I started having the exact issues after I updated to the latest facebook and messenger apps and my phone was entering deep sleep at all. I removed them last night and its much much better now.
My girlfriend's g3 with mm gets this message lots of time
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my LG-H818 using Tapatalk
Until a few weeks ago, the Facebook app had a setting where you could choose the sync frequency and I was able to set mine to every 4 hours.
This setting appears to have disappeared now. Could this be the problem?
Nope. It's not the solution. I uninstalled Facebook but am barely getting 2+ hours of screen-on time on v20b.
A Redditor mentioned that some process called 'logd' is eating up resources and killing battery life. I used Terminal Emulator to verify it.
Sent from my LG-H815 using Tapatalk
logd is a separate issue that no one has quite worked out what is causing it - it is to do with error reporting, either from LG or Google apps.
That redditor here. Logd isn't actually logging anything when its CPU usage hits 16% (the problem). You can verify by running logcat in adb shell while watching cpu usage in terminal emulator on phone.
I removed logd by renaming the binary, it's over doubled by SOT from 1-2h to 4+h. As this is my first post on xda I can't link the thread I made on reddit about it -- but you'll find it on /r/lgg4 on the first page ("PSA: How to fix 6.0 / marshmallow logd battery drain (TWRP/root)")

Deep Sleep vs. Awake (Screen Off)

I installed BetterBatteryStats on my phone and was checking some of the stats today.
The following information called up my attention:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
During this period, the phone screen was off most of the time (at least 5 hours), but the phone remained in "Deep Sleep" mode for just a short period (12 minutes). The rest of the time, the phone was in a state called "Awake (Screen Off)", which I don't recall from my previous Android phones.
Did anyone else notice a similar behavior? Is that normal or should I be looking for apps that may be causing wakelocks?
My phone is still unrooted and running OxygenOS 3.2.7.
I was wondering if this behavior may be related to the OnePlus 3 gestures, which I have enabled on my phone.
Any ideas?
Not normal. Try installing wakelock detector and see what is causing this
OK, thanks.
I'm now running both Wakelock Detector and BetterBatteryStats. I don't have root, but I figured both apps have a way of detecting wakelocks on non-root devices.
My first suspicion was WhatsApp Web, which I had been using lately. So I stopped using it for a while. I also disabled the OnePlus Screen Gestures to see if there was any change.
Even then, my phone is not going to Deep Sleep as much as it should. I took some new measurements overnight. The phone was not connected to the charger and was idle the whole time (screen off, no use). I expected at least 6 hours of Deep Sleep. But I got 1 hour of Deep Sleep and 7 hours of Awake (Screen Off). I'm attaching several screenshots of this scenario. During this time, the phone was connected to my Wifi network and bluetooth was enabled (the phone was connected to an Android smartwatch). Do you think that might be preventing the phone from going to Deep Sleep? Any other ideas?
Thanks a lot
Mmm... I guess I finally found the culprit!
I decided to uninstall the Android Wear app, the Google Fit app and disable bluetooth. My phone is now going to Deep Sleep as it should. The battery usage decreased from 5,3% per hour to 0,9% per hour, which is just a massive difference! I'm attaching screenshots of the battery stats after getting rid of Android Wear.
Too bad Android Wear is actually an app I wanted to use... Anyone had similar issues? Anything I can do to keep using Android Wear and have a decent battery usage?
Actually, I'm not really sure if the culprit was Android Wear or Google Fit (or a combination of both).
I'll perform a few more tests and report my findings here.
I'm confirming that Android Wear / Bluetooth is causing the battery issues.
Google Fit is responsible for a few wakelocks as well, but the battery drain is not significant.
I'm attaching a few screenshots showing that a process called bluedroid_timer is preventing the phone from going to deep sleep. This wakelock is related to the bluetooth connection in Android Wear. This is very annoying because I can't use my watch and have my phone's battery lasting a full day. Anyone else having this issue? Suggestions?
I googled the issue and found similar reports, but none of the workarounds seem to work:
https://forums.oneplus.net/threads/bluedroid_timer-wakelock-battery-drain.463468/
https://code.google.com/p/android/issues/detail?id=87778
http://en.miui.com/thread-281577-1-1.html
https://www.reddit.com/r/oneplus/comments/33l0ys/bluedroid_wakelock_large_battery_drain_on_opo_and/
https://www.reddit.com/r/AndroidQuestions/comments/2obk9i/bluedroid_timer_wakelock/
Thanks a lot
I performed a few more tests and realized that the battery issue is indeed related to Bluetooth, but not to Android Wear!
I had the following app installed on my device:
https://play.google.com/store/apps/details?id=br.com.edeploy.gol.checkin.activities
After uninstalling this app, the bluedroid_timer wakelock disappeared and my phone is going to Deep Sleep as it should (even if I enable Bluetooth and use Android Wear). It appears that this specific app uses the android-beacon-library (BLE beacons), which causes wakelocks even if I'm not using the app.
Problem solved for now!
info wld statistics window
tiagobt said:
I'm confirming that Android Wear / Bluetooth is causing the battery issues.
Google Fit is responsible for a few wakelocks as well, but the battery drain is not significant.
I'm attaching a few screenshots showing that a process called bluedroid_timer is preventing the phone from going to deep sleep. This wakelock is related to the bluetooth connection in Android Wear. This is very annoying because I can't use my watch and have my phone's battery lasting a full day. Anyone else having this issue? Suggestions?
I googled the issue and found similar reports, but none of the workarounds seem to work:
https://forums.oneplus.net/threads/bluedroid_timer-wakelock-battery-drain.463468/
https://code.google.com/p/android/issues/detail?id=87778
http://en.miui.com/thread-281577-1-1.html
https://www.reddit.com/r/oneplus/comments/33l0ys/bluedroid_wakelock_large_battery_drain_on_opo_and/
https://www.reddit.com/r/AndroidQuestions/comments/2obk9i/bluedroid_timer_wakelock/
Thanks a lot
Click to expand...
Click to collapse
Hello @tiagobt,
could you explain me how did you show up the statistic window containing total awake time, deep sleep, screen ontime, awake time, etc ?
https://dl.xda-developers.com/3/9/3....png?key=YWuq_rrWQ8oq8AOaPWZqVQ&ts=1491603260
thanks a lot
enigma14 said:
Hello @tiagobt,
could you explain me how did you show up the statistic window containing total awake time, deep sleep, screen ontime, awake time, etc ?
thanks a lot
Click to expand...
Click to collapse
Just tap the orange/green bar on top of the screen.
In betterbatterystat my Awake (screen off) is 100%. What does it mean? Is it the lower percentage better or higher percentage like 100% better? I've attached the screenshot.
Atharkhan101 said:
In betterbatterystat my Awake (screen off) is 100%. What does it mean? Is it the lower percentage better or higher percentage like 100% better? I've attached the screenshot.
Click to expand...
Click to collapse
Awake(screen off) means that the screen was off but the phone was active and this value should be as low as possible. However this screenshot doesn't establish anything since it is not equal to an idle dump in BBS.
Visit the BBS thread, learn how to produce an idle dump and then post one in that thread and seek help.
I've attached the screensho, why everything shown as 100%? is it that if battery level is below 10%, or shoes like that?
Atharkhan101 said:
I've attached the screensho, why everything shown as 100%? is it that if battery level is below 10%, or shoes like that?
Click to expand...
Click to collapse
The screenshot shows the "from" reference as "Unplugged" but no "To" reference is shown. Go into the BBS settings and enable the options to show the "From" reference as "screen on" , and the "To" reference as "current" and "screen off" etc. That should sort out the issue.
tiagobt said:
I performed a few more tests and realized that the battery issue is indeed related to Bluetooth, but not to Android Wear!
I had the following app installed on my device:
https://play.google.com/store/apps/details?id=br.com.edeploy.gol.checkin.activities
After uninstalling this app, the bluedroid_timer wakelock disappeared and my phone is going to Deep Sleep as it should (even if I enable Bluetooth and use Android Wear). It appears that this specific app uses the android-beacon-library (BLE beacons), which causes wakelocks even if I'm not using the app.
Problem solved for now!
Click to expand...
Click to collapse
Can you please tell us how did you figure out which app is causing this? I have a similar issue where most of the battery is going for Android System and Google Play Services. I am on Mi9T with MIUI 12.

Categories

Resources