Overnight charging wake lock issue? Airplane mode? - Nexus 5 Q&A, Help & Troubleshooting

OK guys so I have a serious issue with the battery not charging at nights, when I plug my phone in. I frequently wake up to a hot phone with only 35% charge and it's been on the charger for 8+hours.
I have a strong feeling this has something to do with it being on airplane mode... Which by the way I have done for years at bed time with no issues until recently.
I need some help with this because I can't figure it out.
Here are my better battery stats from boot when I wake up and it's still on the charger. (Please note I can't do it from unplugged as the issue is charging)
{
"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"
}

your wakelocks have nothing to do with it not charging, check your usb chord or charger(use a different chord and charger). when your plugged in, does it say AC or USB?

It says AC and my charging cord is perfectly fine.
LOOK at the battery stats man, it's 2.27GHz while phone is supposed to be sleeping.
In the stats I've posted is the issue, I just need help to figure out which part
Partial WakeLocks audioIn. Maybe with the new Google now has WakeLocks on airplane mode trying to fetch data??

yea, and 55% is way to high. its normal to wake for a minute here and there, but 55% is extreme. reboot your phone, it looks like a stuck process.

Not sure bout the n5 but other phones I've had stay awake whilst charging not deep sleep.
Obviously something is wrong here but I can't see that no deep sleep is the cause.
Sent from my Nexus 5 using Tapatalk

Took a nap again. While sleeping:

what rom/kernel are you using? havevyou considered a factory reset?

Unusual issue for sure. I'd just fastboot stock on it, and see how it is before installing anything. Rule out hardware. ?

Purity ROM/code blue kernel.
It's certainly not hardware issue because my phone has gained 3-4% in the last 5 minutes while checking this forum and replying to this msg. After a fresh restart with the phone still plugged in, sometimes that gets past the issue.
It has something to do with airplane more and charging I think..although it also wasn't getting past 0% while using phone earlier today without airplane mode.... :s
I'm gonna do have to do a wipe and fresh install of ROM and Kernel

So full wipe and reinstall ROM and Kernel. Problem still exists.
Wakelocks are coming from
Google Search/AudioIn primarily.
I have "ok google" enabled from any screen including lock screen. This may have something to do with it however what's the point in making this a option with Google Now if you can't even charge your phone above 40%.. Due to constant wakelocks..
Either that or it has something to do with Google now trying to use data in combo with AudioIn when airplane mode is on

THE_KINGDOM said:
So full wipe and reinstall ROM and Kernel. Problem still exists.
Wakelocks are coming from
Google Search/AudioIn primarily.
I have "ok google" enabled from any screen including lock screen. This may have something to do with it however what's the point in making this a option with Google Now if you can't even charge your phone above 40%.. Due to constant wakelocks..
Either that or it has something to do with Google now trying to use data in combo with AudioIn when airplane mode is on
Click to expand...
Click to collapse
"From any screen - Responds to your voice. Works when the screen is on or the device is charging."

Lethargy said:
"From any screen - Responds to your voice. Works when the screen is on or the device is charging."
Click to expand...
Click to collapse
Clearly.. Understood. I know what it does man..
But if one can't charge their phone with an 1.2A AC adapter during the night over an 8h period.. is this really a viable option to use "OK google" from any screen??
Others with this option enabled are you experiencing charing issues?
Doesn't this phone have a "sub processor" used for this type of activity in order to avoid full CPU usage?
It's using the top CPU freq and I've been trying to figure out this issue for a few weeks now.

THE_KINGDOM said:
Clearly.. Understood. I know what it does man..
But if one can't charge their phone with an 1.2A AC adapter during the night over an 8h period.. is this really a viable option to use "OK google" from any screen??
Others with this option enabled are you experiencing charing issues?
Doesn't this phone have a "sub processor" used for this type of activity in order to avoid full CPU usage?
Click to expand...
Click to collapse
Honestly, is it really a useful option to use in the first place, other than for showing off?
The low-powered core in the Nexus 5 is used for a hardware pedometer (ask Google why) rather than for audio listening or music playing capability. Unlocking/modifying it's capability would be diving into legal ramifications without permission. Hence why it uses a wakelock, which in turn makes it useless unless you don't care about battery at all.

Lethargy said:
Honestly, is it really a useful option to use in the first place, other than for showing off?
The low-powered core in the Nexus 5 is used for a hardware pedometer (ask Google why) rather than for audio listening or music playing capability. Unlocking/modifying it's capability would be diving into legal ramifications without permission. Hence why it uses a wakelock, which in turn makes it useless unless you don't care about battery at all.
Click to expand...
Click to collapse
Ok so anybody with this option enabled with a Nexus 5 will experience the same charging issues I've been having then I suppose?

THE_KINGDOM said:
Ok so anybody with this option enabled with a Nexus 5 will experience the same charging issues I've been having then I suppose?
Click to expand...
Click to collapse
I'm not the one to tell you that since I've had it entirely disabled since day one.
It could be that the AudioIn wakelock that Google Search is using also wakes Google Play Services, which then wakes your device even more. Looking at your screenshots in the first post, Google Play Services woke your device "619 times over 13hrs 39mins, 45.3 per hour".

Although not a solution, but using some kind of quiet hours app may appease your need for airplane mode
Sent from my Nexus 5 using Tapatalk

People that just love this Google now any screen issue are going to have to just accept it's a battery hog. Or get a moto X and have this feature even when the screen is off. No wakelocks and no real battery drain.
As far as having trouble charging, one solution is turning the feature off, charge the phone, then turn it on again.
Google puts features like this out cause of a demand... And they probably don't care if it's hard on the battery. People wanted it and they gave it to them.

THE_KINGDOM said:
Ok so anybody with this option enabled with a Nexus 5 will experience the same charging issues I've been having then I suppose?
Click to expand...
Click to collapse
i have all google now enabled, and no charging issues what-so-ever. i charge from 0-100 in about 90 minutes.
and google now isnt a battery hog like you all think, i still get 5h sot every single day, with it fully enabled.

simms22 said:
i have all google now enabled, and no charging issues what-so-ever. i charge from 0-100 in about 90 minutes.
and google now isnt a battery hog like you all think, i still get 5h sot every single day, with it fully enabled.
Click to expand...
Click to collapse
And back to the unresolved mystery..
Could you try airplane mode one night please lol

THE_KINGDOM said:
And back to the unresolved mystery..
Could you try airplane mode one night please lol
Click to expand...
Click to collapse
Do you really need airplane mode?
ふかつどう

Related

ICS - Deep Sleep issue... Related to Charging?

I've seen similar comments on this, but not necessarily the same issue I'm seeing...
As with many issue's with the ICS install, this is one of those where it "suddenly" began with no explanation as to why when previously everything was working fine. I have two Skyrockets and one started to experience this while the other did not... then suddenly, just as though an internal timer had been set, it also began to experience the same issue. I will add that the second phone is my test phone and has nothing installed other than what came with the original ROM.
SUMMARY:
Initially my battery life was awesome, but then suddenly saw a huge drop off; I confirmed it to be a problem with the phone not entering a deep sleep state; obviously I began looking to see what app may be causing this, disabling services, putting phone in airplane mode, etc.... nothing resolved it and as far as I could determine there was nothing unusual about any app running... a reboot ALWAYS resolved the problem.
ANALYSIS:
I determined that making a connection to any charging source "triggered" the issue... Using CPU Spy I could confirm that the phone would enter Deep Sleep mode; I did this multiple times (resetting timers) without fail. I then plugged in the phone to the charging source (I've tested both the power block and USB connection), waited until the phone detected the source then unplugged the cable. I then repeated the same steps to confirm Deep Sleep using CPU Spy and this time, the phone would never enter Deep Sleep, but instead would only drop down to 384MHz.... once again a reboot will resolve the issue until the next time a power source is plugged in.
One note to mention, on one of my phones, I have to charge it to 100% before it exhibits the issue while the other will always see the issue regardless of battery level.
I have also confirmed this to occur with a default install of ICS; no apps installed, etc. Is anyone else experiencing a similar situation and if so, any ideas as to what may causing the problem?
The phone doesn't sleep when plugged in
If you read my post, I didn't say I was expecting it to sleep when plugged in, I said, plugging in a power source triggered the problem. I then remove the cable and re-confirm whether the phone is not able to enter a Deep Sleep state...
xcrazydx said:
The phone doesn't sleep when plugged in
Click to expand...
Click to collapse
RiPpeR_dUdE said:
If you read my post, I didn't say I was expecting it to sleep when plugged in, I said, plugging in a power source triggered the problem. I then remove the cable and re-confirm whether the phone is not able to enter a Deep Sleep state...
Click to expand...
Click to collapse
Is wifi involved?
I think i see the same issue here. after a reboot battery life is better. next day battery life short. Phone will not go in to deep sleep. Is there an easy way to trouble shoot deep sleep issues?
---------- Post added at 02:52 PM ---------- Previous post was at 02:44 PM ----------
xcrazydx said:
Is wifi involved?
Click to expand...
Click to collapse
WiFi and GPS are off for me.
Wifi doesn't appear to make a difference as one phone is in airplane mode while the other is my daily phone. I do have it shutting off wifi when sleeping.
Again, to reiterate, the issue is seen ONLY AFTER connecting the phone to any power source... even if for only a few seconds. Until this connection is made, the phone will ALWAYS enter Deep Sleep.
Very easy to test:
1. Using an app to monitor CPU states (I used CPU Spy), I reset timers and put phone into sleep mode (hitting power button).... wait a few seconds to allow the timers to populate.
2. Bring phone out of sleep mode (press power button) and confirm CPU states... In this case, Deep Sleep is the majority of the time, with some usage seen on 384MHz
3. Connect power source, let phone detect it, then UNPLUG cable. At this point, phone is not charging.
4 Using app, confirm CPU states; in my case it shows various speeds used (majority 384) but Deep Sleep is no longer seen and listed as an unused state
5. Just to confirm, reset timers again, put phone to sleep, let sit a few seconds to allow timers to populate.
6. Confirm CPU states again, once again, Deep Sleep state is NOT used and listed under unused CPU states.
7. Reboot phone and repeat steps 1 & 2 and you will again see the phone is able to enter Deep Sleep state.
xcrazydx said:
Is wifi involved?
Click to expand...
Click to collapse
Tested with various usb cables?
Various cables and source; e.g. power block and/or USB connected to PC. It would appear, as far as I can tell, that any power source "triggers" something to prevent it from entering a Deep Sleep state.
xcrazydx said:
Tested with various usb cables?
Click to expand...
Click to collapse
Got me thinking on this and it reminded me of the troubleshooting we were doing with the battery getting stuck at 100%...
Although I've tested this with multiple chargers, cables, etc.... I just tested using a very short USB cable I have, approx. 8" or so. Good news, it appears to "reset" whatever is causing the problem and I now get my Deep Sleep state back. I also re-tested this same setup with the OEM USB cable (which I already done), but still still the problem. So, something about the short cable is different; guessing signal impedance or something similar.
RiPpeR_dUdE said:
Various cables and source; e.g. power block and/or USB connected to PC. It would appear, as far as I can tell, that any power source "triggers" something to prevent it from entering a Deep Sleep state.
Click to expand...
Click to collapse
RiPpeR_dUdE said:
Got me thinking on this and it reminded me of the troubleshooting we were doing with the battery getting stuck at 100%...
Although I've tested this with multiple chargers, cables, etc.... I just tested using a very short USB cable I have, approx. 8" or so. Good news, it appears to "reset" whatever is causing the problem and I now get my Deep Sleep state back. I also re-tested this same setup with the OEM USB cable (which I already done), but still still the problem. So, something about the short cable is different; guessing signal impedance or something similar.
Click to expand...
Click to collapse
At the house i have a 5 inch cable. I will test with that later tonight. Glad you made a post about this. It was driving me crazy. Maybe its a work around. It sure would be nice to figure out what is causing this issue so that all cables work.
Well this sucks. Most likely an unfinished kernel, which we can't fix without the source.
Sent from my SAMSUNG-SGH-I727 using XDA
I don't know what ya'll are talking about, i constantly charge USB at home USB at work, charge block at home.....
And I get this....
{
"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"
}
Well I'm going to deep sleep...
Sent from my SAMSUNG-SGH-I727 using XDA
Glad things are working for you, are you rooted? This would be the only scenario I've not tested.
To clarify, everything was working fine for me for awhile on two phones, then suddenly this issue surfaced. I've reinstalled, wiped cache, etc with no resolution... Although the short cable work around resolves the issue, I travel 100% of the time for work and don't want to have to worry about battery life, so I've gone back to 2.3.6 (Nexus4) and no longer experience the problem.
fongz27 said:
I don't know what ya'll are talking about, i constantly charge USB at home USB at work, charge block at home.....
And I get this....
Click to expand...
Click to collapse
I'm rooted. And just installed rr's kernel with tweaks. I'm going to see how that affects battery. If battery doesn't improve, I'm going back to GB until it's improved. I can't stand bad battery.
Sent from my SAMSUNG-SGH-I727 using XDA
I'm running a rooted I flashed with the OneClick .exe and rooted it. My phone is entering deep sleep even after being plugged in. I am using the charger that came with my Nexus One with the OEM Dock. I will test it again at work where I use the same charger without the dock and see if it changes.
The short cable does seem to do something. I have two longer cables and after using one of those the phone will not go to deep sleep until a reboot. below is what i am using.
[ROM] MHX-SUPERLITE-3.1 Stable *Latest UCLA3 Base* ~Get Longer Battery Life~
Kernel]Skyrocket[2.6.35.14](010)OC~1.73GHz/GPU OC/OTG/UV/SLQB/BLN[Mar-09]
Just check at work. Phone will still go into Depp sleep after charging with the charger that came with my HTC Nexus One. I have not tried cgarging it with the cable and AC / USB converter that came with it.
Update on this issue....
I did a Darkside wipe to see if I could clean things up and while all issue's I was experiencing, such as power off/reboot hang, etc have been resolved, I still see this issue when I do not use a Samsung charger (power block) of any kind.
I can now easily reproduce this issue 100% using an Apple power block with the OEM cable. The good news is, I no longer need to use my short USB cable connected to my PC (Mac) to correct the problem; if I simply use the OEM power block it will also reset the problem... very strange behavior.
They had a problem similar to this over in the at&t Note forum. The phone would not enter deep sleep after charging. They were able to enable deep sleep by turning on the screen before unplugging the phone from the charger. It wasn't a real fix but it allowed deep sleep to happen every time. Maybe you are having a similar issue with your kernel. Hope this helps.
Sent from my SGH-I777 using xda premium

[Q] Moto G idle battery drain

Hi,
I have searched the forum for this and even though there are a number of cases they all seem different from this one. Instead of confusing matters more I decided to open a separate thread.
My Moto G (European version, en. DE, Android 4.4.2) so far had always been running for 7-10 days on a charge. Mobile data is off, GPS is off, data is off, WiFi is on only occasionally, no calls at all.
This has changed. My use is the same but the battery now drains at around 1.5-2% per hour, effectively cutting running time in half.
The only thing I (consciously) changed was to install SwiftKey. I have read that there have been issued like this with a previous version of it but that seems to have been fixed since 4.4 or so. Either way my other android device handles SwiftKey well so I am really not sure what might be causing this.
Of course I removed SwiftKey but that did not fix the problem.
The OS reports this battery usage: idle 35%, display 27%, cell standby 23%, Android system 5%, Android OS 3%.
Also I have no idea what kind of background update might have been made without me knowing it.
Do you have any idea what might be causing this? Is anyone of you experiencing the same issue?
What kind of battery do you have?
fertchen said:
Hi,
I have searched the forum for this and even though there are a number of cases they all seem different from this one. Instead of confusing matters more I decided to open a separate thread.
My Moto G (European version, en. DE, Android 4.4.2) so far had always been running for 7-10 days on a charge. Mobile data is off, GPS is off, data is off, WiFi is on only occasionally, no calls at all.
This has changed. My use is the same but the battery now drains at around 1.5-2% per hour, effectively cutting running time in half.
The only thing I (consciously) changed was to install SwiftKey. I have read that there have been issued like this with a previous version of it but that seems to have been fixed since 4.4 or so. Either way my other android device handles SwiftKey well so I am really not sure what might be causing this.
Of course I removed SwiftKey but that did not fix the problem.
The OS reports this battery usage: idle 35%, display 27%, cell standby 23%, Android system 5%, Android OS 3%.
Also I have no idea what kind of background update might have been made without me knowing it.
Do you have any idea what might be causing this? Is anyone of you experiencing the same issue?
Click to expand...
Click to collapse
Just curious to find out what kind of battery do you have and where did you purchase it? It may be the new installation but hard to tell.
mugenbatteriesOwner said:
Just curious to find out what kind of battery do you have and where did you purchase it? It may be the new installation but hard to tell.
Click to expand...
Click to collapse
What kind of battery I do not know - I did not change anything on this phone and as far as I know the battery can not be removed. I bought the phone in early January 2014, it was one of the cost to be delivered and still had the previous android version (4.3?) back then.
fertchen said:
What kind of battery I do not know - I did not change anything on this phone and as far as I know the battery can not be removed. I bought the phone in early January 2014, it was one of the cost to be delivered and still had the previous android version (4.3?) back then.
Click to expand...
Click to collapse
Go to developer Options in settings and if you do not have this option then go to About Phone and tap 5 times on Build Date or number (should be last one) then go to "PROCESS STATS" which is under "ENABLE BLUETOOTH HCI SNOOP LOG" and when you are at process stats click on the three dots on top right and change the duration for 1 day and then you might be able to find the application that is running in the background constantly, mine is Facebook lol and Facebook Messenger....
NextGenGTR said:
Go to developer Options in settings and if you do not have this option then go to About Phone and tap 5 times on Build Date or number (should be last one) then go to "PROCESS STATS" which is under "ENABLE BLUETOOTH HCI SNOOP LOG" and when you are at process stats click on the three dots on top right and change the duration for 1 day and then you might be able to find the application that is running in the background constantly, mine is Facebook lol and Facebook Messenger....
Click to expand...
Click to collapse
this is mine lol
{
"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"
}
bublz654 said:
this is mine lol
Click to expand...
Click to collapse
From that i cant see anything but im sure that you are facing a wakelock from the qcamera2factory, you usually get this wakelock from apps such as Skype and Snapchat, force close these types of applications and hopefully you will get your great Battery life back. Those apps didnt allow me device to enter deep sleep so i was loosing a lot of battery life and to check if you have this wakelock you need root because of kitkat permissions but if you dont want to root then just force close those applications and wait a few days and test it out.
NextGenGTR said:
From that i cant see anything but im sure that you are facing a wakelock from the qcamera2factory, you usually get this wakelock from apps such as Skype and Snapchat, force close these types of applications and hopefully you will get your great Battery life back. Those apps didnt allow me device to enter deep sleep so i was loosing a lot of battery life and to check if you have this wakelock you need root because of kitkat permissions but if you dont want to root then just force close those applications and wait a few days and test it out.
Click to expand...
Click to collapse
what's qcamera2factory ? yeah I am rooted, I hibernate my apps with greenify whenever I can. what app can you suggest for viewing battery stats and wakelocks ?
bublz654 said:
what's qcamera2factory ? yeah I am rooted, I hibernate my apps with greenify whenever I can. what app can you suggest for viewing battery stats and wakelocks ?
Click to expand...
Click to collapse
Just search wakelock detector on Play store and it should be the first application there. The qcamera2factory is a wakelock inside of the "Media Server" wakelock. Check how long your device has been on for and how much screen on time you have and compare to how long you have had deep sleep, if you have like 10 hours of on time and 1 hour of screen on time you should have about 9 hours of Deep sleep, if it is anything weird like 1 hour or 2 hours then you have something preventing your phone from deep sleeping.
NextGenGTR said:
Just search wakelock detector on Play store and it should be the first application there. The qcamera2factory is a wakelock inside of the "Media Server" wakelock. Check how long your device has been on for and how much screen on time you have and compare to how long you have had deep sleep, if you have like 10 hours of on time and 1 hour of screen on time you should have about 9 hours of Deep sleep, if it is anything weird like 1 hour or 2 hours then you have something preventing your phone from deep sleeping.
Click to expand...
Click to collapse
OK I'll search for that app . what happens if I'm on my phone all the time n don't switch off screen. does that count ?
bublz654 said:
OK I'll search for that app . what happens if I'm on my phone all the time n don't switch off screen. does that count ?
Click to expand...
Click to collapse
lol if you are on your phone all the time then you will see somethinh like this xD 10 hours on time - 9 hours screen on time and 1 hour deep sleep. lol
https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector is this it ?
Hmm... No app like that (Skype etc.) is running on my phone. Could it be the camera app itself? Never had any issues with that before though.
My phone is not rooted. I just want to use it in place and not think about it too much. Researching which is the best path to root for Moto G was to mich for me back when I bought it and I have been happy with it or if the box - so far...
here was my stats after one night. kernel wakelock
CPU wake lock
in kitkat, wakelock policy was changed and you cant clearly see any system wakelock without root (i have tried many apps like wakelock detector and there is nothing to see in compare with Jelly Bean 4.3)
i had this annoying battery idle drain - it happened randomly, sometimes battery ran 7 days with light usage of phone but sometimes 30-40% was gone in 24 hours = 1-2%/h
i didnt have any apps installed like Skype, Facebook, or any other "keep awake" app - i also set up my gps, wifi settings, nothing helped
i also switched to ART runtime..again, didnt help
i decided to switch back to factory Jelly Bean 4.3 - you CAN flash stock ROM without unlocking bootloader (im locked without root) and now im running 4.3 with battery drain 0,1-0,4%/h in idle...battery life is now amazing - final battery drain is always ~0,6%/h (light usage)
im charging my phone from 30% to 80% and now it enough for 3 days ! for my 6h night it is only 1-3%
in background i have 3 apps running for battery monitoring (battery hd, batterydrain [analyser], gsam battery monitor) and few schedule apps...i disabled unnecessary apps like motocare and few other google/motorola apps
yes, im missing better alarm (kitkat), better RAM (now i have 60-100MB less...but if 380MB free or 460MB free...it doesnt matter for me) and some other little things that everything i can handle for MUCH MORE BETTER battery :good:
Mine drains 10% when it's in plane mode per hour...
But others days can last longer for at least 8-9 hours of screen time.
Is your phone running hot? I've had a problem with some custom kernels that caused my phone to run hot and drain fast without any visible signs.
this is after some time. im concerned by the second one on the list because it has Wheelock's at the end of name and it has x1441
I just rooted the thing and installed Greenify and GSam Battery Monitor. Now I'm down to 0,3-0,4%/h. That is fine for me.
It is a bit sad that it had to come to this but that is how the world works these days, I guess. Isn't it amazing how mch technology we can fit in these small packages?
0,3-0,4%/h is amazing !
im on 0,34%/h as final result now (BatteryDrain [Analyser])
yesterday i ended 5 days cycle on 53% battery i charged to 82% then with very light usage i need to charge after 5 full days (120 hours) on 29% (= no idle battery drain)
this idle battery drain is not hardware related, its issued by (stupid) KitKat - i really dont believe that it will be fixed in any next release (4.4.x or 5)
im enjoying JellyBean 4.3 much more than KitKat - all you need is flash stock system image WITHOUT unlocking bootloader/root/losing your warranty

[Q] Abnormal battery drain while deep sleep

Hi guys as per title, my OPO drain battery like crazy during deep sleep. Like I unplugged at 1am (100%) then today I wakeup 10am now it left (89%) only, drained 11%!!! WiFi, Data all off just normal standby only.
Is there something wrong with my OPO? Because before that it only drained 1-2% with the same deep sleep duration.
No wakelock, awake or whatever, probably the battery faulty already? I just got it 1 month ago only, how could be so fast???
CM11 0806 nightly, stock kernel.
{
"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"
}
Found solution: Turn-off Double-tap to wake.
soralz said:
Hi guys as per title, my OPO drain battery like crazy during deep sleep. Like I unplugged at 1am (100%) then today I wakeup 10am now it left (89%) only, drained 11%!!! WiFi, Data all off just normal standby only.
Is there something wrong with my OPO? Because before that it only drained 1-2% with the same deep sleep duration.
No wakelock, awake or whatever, probably the battery faulty already? I just got it 1 month ago only, how could be so fast???
CM11 0806 nightly, stock kernel.
Click to expand...
Click to collapse
I too have the same problem, i have tried disabling Google play services wakelock and few other services mentioned in other thread still no change.
i am on Stock cm11s stock kernel running on ART(tried on dalvik too).
Are you guys using quiet hours?
Transmitted via Bacon
timmaaa said:
Are you guys using quiet hours?
Transmitted via Bacon
Click to expand...
Click to collapse
I think I found the culprit. Disabling double-tap to wake the battery won't drain anymore.
timmaaa said:
Are you guys using quiet hours?
Transmitted via Bacon
Click to expand...
Click to collapse
No.
soralz said:
I think I found the culprit. Disabling double-tap to wake the battery won't drain anymore.
Click to expand...
Click to collapse
I will try that and report back tomorrow.:fingers-crossed:
soralz said:
Hi guys as per title, my OPO drain battery like crazy during deep sleep. Like I unplugged at 1am (100%) then today I wakeup 10am now it left (89%) only, drained 11%!!! WiFi, Data all off just normal standby only.
Is there something wrong with my OPO? Because before that it only drained 1-2% with the same deep sleep duration.
No wakelock, awake or whatever, probably the battery faulty already? I just got it 1 month ago only, how could be so fast???
CM11 0806 nightly, stock kernel.
Click to expand...
Click to collapse
How come your phone sleeps? Did you patch the Google Services 'Always awake' bug yourself?
Same thing is happening to me except it's more severe. I'm not sure if it's because I put it onto airplane mode or not. Lost 25% overnight and phone was completely dead...
BTW I disabled quiet hours and I've done the disabling of the Google framework update thing and wake lock.
Sent from my One using XDA Free mobile app
7ewis said:
How come your phone sleeps? Did you patch the Google Services 'Always awake' bug yourself?
Click to expand...
Click to collapse
Nope. You can go to Settings > Privacy > Privacy Guard > Advance Settings > Choose Google Play Services and selec Keep Awake > Denied.
tssphysicsboi said:
Same thing is happening to me except it's more severe. I'm not sure if it's because I put it onto airplane mode or not. Lost 25% overnight and phone was completely dead...
BTW I disabled quiet hours and I've done the disabling of the Google framework update thing and wake lock.
Sent from my One using XDA Free mobile app
Click to expand...
Click to collapse
Try turn off double-tap to wake?
I need double tap to wake though... ? just now I left the phone idle and not doing anything dropped 1% over two hours with wifi on no airplane mode...
Seems like the drain is random?
Sent from my One using XDA Free mobile app
I have a "similar" drain problem, but it's different :cyclops:
Stock CM11s is really fine, i lose 0.2% or 0.3% per hour onernight in flight mode (or without simcard)
But all variant of Nightlies, Slim, Mahdi... I can't get descent battery life.
Still near 1% per hour, too much for me !
It's probably not a rom related problem, but perhaps a GApps drain problem.
I usually have BaNks GApps, latest minimal ones.
I must do a test, fresh flashing a custom rom, without GApps to isolate problem, to see drain without Google services.
Is there a tasker option for it, i dont want to turn off and on tap to wake ^^
here is my drain disabled all google play services on the screen shot an hour has been drained look at the shots awake and screen on time
Just an update, after following two threads about disabling the google services it seems to finally work. So it has nothing to do with double tap. Dropped one percent over 7 hours
With airplane mode on. No drain. Will try again tonight to make sure it's not just luck.
Sent from my One using XDA Free mobile app
I went into privacy guard and denied everything for Google play services apart from location and it deep sleeps well. With no noticeable downsides to my Google apps.
Sent from my One using Tapatalk
tssphysicsboi said:
Just an update, after following two threads about disabling the google services it seems to finally work. So it has nothing to do with double tap. Dropped one percent over 7 hours
With airplane mode on. No drain. Will try again tonight to make sure it's not just luck.
Sent from my One using XDA Free mobile app
Click to expand...
Click to collapse
DoubleTap is a hardware feature, so it can't drain battery.
luminouche said:
DoubleTap is a hardware feature, so it can't drain battery.
Click to expand...
Click to collapse
Huh? That's like saying the screen is a hardware feature so it can't drain battery. It's incorrect. The double-tap to wake feature is heavily dependant on the kernel, and in some circumstances can (and has been proven to) drain battery.
Transmitted via Bacon
timmaaa said:
Huh? That's like saying the screen is a hardware feature so it can't drain battery. It's incorrect. The double-tap to wake feature is heavily dependant on the kernel, and in some circumstances can (and has been proven to) drain battery.
Transmitted via Bacon
Click to expand...
Click to collapse
The implementation is supposed to be done right on the oneplus but nevertheless I'll try disabling it again. In fact all gestures. Even on the m7 with a more hacky wake features, I never saw more than 5% drain overnight.
I run about 3 different tools to ensure my battery is used the way i want it.
1. Greenify - this will hibernate and auto hibernate apps when not in use. I also use the Xposed to boost it more with experimental features.
2. Wakelock Detector - Almost a must if you are having drain issues. This app will tell you the culprit each time
3. Titanium Pro - Freeze crap that wont go away.
I had the play services issues before. I went to my settings -> accounts -> sync options for each and toggled off the play store. I also went into apps/play services and cleared data/cache. I remember it didn't go away entirely and I found that Google + was one of the issues. That and I had a sync error that wouldn't go away. After removing my google accounts and re attaching them, i monitored with wakelock.
After that it went away. I then had a calendar drain with calendar storage from a widget that woke up a beast. Greenified it, froze it and that is gone while not affecting my calendars.
Anways, point of my post is to advise you to run those 3 apps. If you only run 1, wakelock is fantastic. I highly recommend all.
Very good tips from @tehpud .. to add onto it
BetterBatteryStats and Gsam are two other good wakelock detecting apps.
http://forum.xda-developers.com/showthread.php?t=1179809
https://play.google.com/store/apps/details?id=com.gsamlabs.bbm
https://play.google.com/store/apps/details?id=com.gsamlabs.bbm.rootcompanion
for alternatives. Each has their own benefit. I'm currently using BetterBatteryStats to test it out, its changed since I've last used it. Not the best GUI but it gets the job done.
Vote for the issue here if you are experiencing battery drains!
https://jira.cyanogenmod.org/browse/BACON-599

Battery drain so fast

So currently I'm using my new xperia z5.. It's one week already since i have this phone. I noticed that my phone drain battery real quick.. It's quite make me sad. But the good thing is when i wanted to charge it.. It charge so fast.. Like maybe 30 minutes for 40% increase.. And btw
... I want u guys to help me how i can fix my problem cause i love using my phone as a gaming device and browsing and other stuff, it is like my 24 hours non stop without using it .. I knew i was a beginner in android thing.. Please guys help me..
Am i supposed to factory reset it or anything i could do?? And Btw I'm using the UCH20 ( i read in the sony that itsn't quick charging) but I'm happy with the charging though..
It is fast.. But also fast to drain
Please guys help me D':
Go to Settings -> Power management -> Battery usage to see what is using your battery the most. If you want more help, I would advise you to take a screenshot of that page and post it here. With me, it's normally Chrome or the Screen.
Could you please post your screen on time? You can tap on screen to see what it is.
He said 30 minutes CHARGING for 40% increase...
Anyway, I can't even get my Quick Charger to perform that well so maybe OP should let the battery discharge fully and then charge fully to maybe calibrate the battery.
ricodredd said:
He said 30 minutes CHARGING for 40% increase...
Anyway, I can't even get my Quick Charger to perform that well so maybe OP should let the battery discharge fully and then charge fully to maybe calibrate the battery.
Click to expand...
Click to collapse
Oops. Didn't read correctly. Also are you using the charger that came out of the box? I don't think that is quick charge.
Maybe try using a normal charger instead of a quick charger? I don't use quick charge and normally get 4-5 hours SOT.
UCH20 is a "normal" charger. UCH10 is the Sony Quick Charge one but doesn't come with every Z5.
Lambo16 said:
Go to Settings -> Power management -> Battery usage to see what is using your battery the most. If you want more help, I would advise you to take a screenshot of that page and post it here. With me, it's normally Chrome or the Screen.
Could you please post your screen on time? You can tap on screen to see what it is.
Click to expand...
Click to collapse
Well guys i tried to install greenify yesterday.. And i started to hibernate all apps that i might should force stop it.. and then when i just get up this morning and play my phone it came up wit something like this
{
"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"
}
This is the link if u can't see the pic http://imgur.com/lTq6b9m
Lambo16 said:
Oops. Didn't read correctly. Also are you using the charger that came out of the box? I don't think that is quick charge.
Maybe try using a normal charger instead of a quick charger? I don't use quick charge and normally get 4-5 hours SOT.
Click to expand...
Click to collapse
Yeah i don't use the quick charger one
My Z5 came with the quick charger. Made in Taiwan. Perhaps it would be the causes of the battery drain?
BR4DOKYBrazil said:
My Z5 came with the quick charger. Made in Taiwan. Perhaps it would be the causes of the battery drain?
Click to expand...
Click to collapse
I think so.. But it maybe not the main reason why it drained so fast.. it is like when i just using my phone only for 2 minutes it also drain for 2%. What a mess! i don't expected Sony to be like this tbh
Khelda said:
I think so.. But it maybe not the main reason why it drained so fast.. it is like when i just using my phone only for 2 minutes it also drain for 2%. What a mess! i don't expected Sony to be like this tbh
Click to expand...
Click to collapse
Have you noticed if your battery down 2% at one time?
BR4DOKYBrazil said:
Have you noticed if your battery down 2% at one time?
Click to expand...
Click to collapse
Yes i noticed that.. The worst thing is when i just left my phone at screen off.. The battery just decreasing like 3% unused which is why i just so pissed off. I hope sony could fix this thing when comes to marshmallow update. i heard that marshmallow could handle this stuff properly
What about auto sync,and location settings too. Those have an impact on battery drain also. I leave auto sync off,and havw location on battery save mode. It helps. I came from a z3 which had awesome battery life, but I totally agree here about the z5's battery. Hope marshmallow helps.
Will anybody perform a reset after the new marshmallow?
Is it needed?
Hanger4life said:
What about auto sync,and location settings too. Those have an impact on battery drain also. I leave auto sync off,and havw location on battery save mode. It helps. I came from a z3 which had awesome battery life, but I totally agree here about the z5's battery. Hope marshmallow helps.
Will anybody perform a reset after the new marshmallow?
Is it needed?
Click to expand...
Click to collapse
Well.. I want to perform a hard reset but it depends on how my phone works.. If it still good i'll not hard reset it.. If it still not good i'll perform hard reset perhaps.. Btw thanks for ur advice i'll try it later..
Auto sync setting
Khelda said:
Well.. I want to perform a hard reset but it depends on how my phone works.. If it still good i'll not hard reset it.. If it still not good i'll perform hard reset perhaps.. Btw thanks for ur advice i'll try it later..
Click to expand...
Click to collapse
Your welcome. Ok, go into settings, accounts,and then top right press the 3 dot menu and itshould be there,if it's on it should be checked,just Un check it.
I use an app for toggles called power toggles,and in this app there is a manual sync all button. So when I want to sync(primarily to sync Gmail) I can just press it,and my mail shows up. I could also just go to Gmail and slide screen down to sync.
Hope this helps.
How many hours SOT are you guys getting?
Hanger4life said:
Your welcome. Ok, go into settings, accounts,and then top right press the 3 dot menu and itshould be there,if it's on it should be checked,just Un check it.
I use an app for toggles called power toggles,and in this app there is a manual sync all button. So when I want to sync(primarily to sync Gmail) I can just press it,and my mail shows up. I could also just go to Gmail and slide screen down to sync.
Hope this helps.
Click to expand...
Click to collapse
Mine was checked! Deactivated automatic synchronization! Thank you! Also deactivated google location history too!
I'm always running in stamina mode too. I also use extended standby and extended usage both checked. I have run the phone with out stamina and it doesn't perform and better, but the battery drains 2 times faster when not in stamina mode.
Hanger4life said:
I'm always running in stamina mode too. I also use extended standby and extended usage both checked. I have run the phone with out stamina and it doesn't perform and better, but the battery drains 2 times faster when not in stamina mode.
Click to expand...
Click to collapse
That's so true.. It happens to me either. Now i think that Sony phone is quite disappointing for now.. and at the end i hope that they fix this asap next year :3
Make sure wifi scanning even when wifi is off is turned off and put location settings on battery saving (mobile network and wifi only).
Also switch to 2g when not using internet. Switch to 2G voice and text only.
Then you can add a mobile data and 4g toggle on the quick setting toggles and when you want internet press 4g then mobile data, then when finished press mobile data toggle and then turn 4g off and it will go back to 2g.
You should also check in google account that anything you don't need syncing like google music, books, games etc is not syncing.
Fast chargers work fine and won't impact battery life short term. I get 5hours SOT using Galaxy S6 fast charger.
Jonathan-H said:
Make sure wifi scanning even when wifi is off is turned off and put location settings on battery saving (mobile network and wifi only).
Also switch to 2g when not using internet. Switch to 2G voice and text only.
Then you can add a mobile data and 4g toggle on the quick setting toggles and when you want internet press 4g then mobile data, then when finished press mobile data toggle and then turn 4g off and it will go back to 2g.
You should also check in google account that anything you don't need syncing like google music, books, games etc is not syncing.
Fast chargers work fine and won't impact battery life short term. I get 5hours SOT using Galaxy S6 fast charger.
Click to expand...
Click to collapse
Thanks jonathan.. Btw i already turn off the wifi scanning and turn off google sync.i'll try the toogle one after this
i really appreciate ur help. thanks again

Standby drain

When you sleep, does your phone sleep, or does it stay up all night and crunch 1s and 0s? Rate this thread to express how you deem the speed at which the Xiaomi Mi 5's battery drains under standby conditions. A higher rating indicates that when the phone is not in use, the battery drains minimally.
Then, drop a comment if you have anything to add!
If anyone could post the standby drain overnight it would be great. I would like to know how much % is lost during night time....
This one is from mine:
{
"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"
}
It's 20% over 9 hours, so it's around 2% per hour. Everything is still on: sync (3 email accounts, 7 social media apps), wifi, bluetooth, etc.
I'd really like help with this area, if anyone can give me any advice. If I charge my phone to 100% at night then unplug it, when I wake up in the morning it's down to less than 50%. This is with pretty much nothing on, no wifi, data, bluetooth etc. This happens most of the time, but not all the time (when it doesn't I can get a few days of use out of the phone), and I've yet to identify and fix the exact cause.
Haven't empirically tested, but I seem to get more battery life when in continual use (listening to music off and on, etc), then when resting overnight/for long periods.
I can give any details needed, but I'm using Cyanogenmod 13.0-20160908. Have tried Doze, and GSam (can post any logs if I know what's useful), and Wakelock detector. Would changing roms help?
Khazidhea87 said:
I'd really like help with this area, if anyone can give me any advice. If I charge my phone to 100% at night then unplug it, when I wake up in the morning it's down to less than 50%. This is with pretty much nothing on, no wifi, data, bluetooth etc. This happens most of the time, but not all the time (when it doesn't I can get a few days of use out of the phone), and I've yet to identify and fix the exact cause.
Haven't empirically tested, but I seem to get more battery life when in continual use (listening to music off and on, etc), then when resting overnight/for long periods.
I can give any details needed, but I'm using Cyanogenmod 13.0-20160908. Have tried Doze, and GSam (can post any logs if I know what's useful), and Wakelock detector. Would changing roms help?
Click to expand...
Click to collapse
Hi Khazidhea,
I can tell for sure that it is NOT NORMAL that your phone drains about 7 to 8% of battery life each hour !
Especially if you disconnect Wi-Fi and BT.
The only thing I can think of, is that you are in an area where the phone constantly switches from 3G to 4G to get on the network.
Of course, if you have 2 SIM cards in that phone, that may increase the drain significantly...
I think that if you are on Cyanogen, there is an option in Settings that is called "SIM Cards".
If you select that option, you should be able to have some access to settings for each SIM Card.
Try to select one and look for the option called "Preferred Network" and select something like "WCDMA" or "GSM" (that is 2G in the US and 2G in Europe).
See if that improves...
As far as I am concerned, I run my Xiaomi mi5 with a ROM called "Tipsy-OS" that I have compiled myself...
So far, I am unplugged since 2 hours, have used the phone with 4G, BT, Wi-Fi, automatic updates of apps, mail retrieving, applied themes via substratum... and lost 2%.
So no, 8%/hour without doing anything is NOT NORMAL !
Regards.
I finally ended up fixing this. Simply changing the setting "Preferred network type" from 4G to 3G made my battery usage change from about 2/3 of a day, to up to 4 days, with my typical pattern of usage. Note that when my battery was being drained before I did not have data turned on, so not sure why that ended up being the fix.
Khazidhea87 said:
I finally ended up fixing this. Simply changing the setting "Preferred network type" from 4G to 3G made my battery usage change from about 2/3 of a day, to up to 4 days, with my typical pattern of usage. Note that when my battery was being drained before I did not have data turned on, so not sure why that ended up being the fix.
Click to expand...
Click to collapse
If 4G coverage is bad in your area, it will trigger reconnection over and over again, causing battery drain. The protocol itself is indeed more battery consuming in general, but shouldn't have much gap with 3G under the same coverage quality.
% 5 full network bltooth
seems mine 1-2%per hour all sync on, wifi.
avatar_ro said:
If anyone could post the standby drain overnight it would be great. I would like to know how much % is lost during night time....
Click to expand...
Click to collapse
My own experienced...with plane mode active from 3am till 9am...100% to 98%....
eLdeRay Owner said:
My own experienced...with plane mode active from 3am till 9am...100% to 98%....
Click to expand...
Click to collapse
I can confirm same here LOS airplane mode = 0am till 6am 100% to 98 or 97 % so at max decrease a 1/2% an hour.
In a non-airplane mode with WiFi connected I get a bit more than 1%/h with greenify activated.
I posted in another thread but i've got no answer.
I decided to switch to Global Dev ROM thinking it might solve my battery issues, but it only got worse, im getting around 40% battery drain overnight. Any ideas???? I don't have mi sync enabled, google play is set to not auto-update apps, i barely use mobile data, so only wifi.
mafish said:
I posted in another thread but i've got no answer.
I decided to switch to Global Dev ROM thinking it might solve my battery issues, but it only got worse, im getting around 40% battery drain overnight. Any ideas???? I don't have mi sync enabled, google play is set to not auto-update apps, i barely use mobile data, so only wifi.
Click to expand...
Click to collapse
seems like a wakelock, the global dev is the official? Did you install any other app of it's like that after the wipe and flashing? Check for wakelock detector apps in the store
georgekav33 said:
seems like a wakelock, the global dev is the official? Did you install any other app of it's like that after the wipe and flashing? Check for wakelock detector apps in the store
Click to expand...
Click to collapse
Official Global Dev, so i noticed that "Lite Messenger Facebook" was draining the battery like h3ll, i uninstalled it and now i've been using my phone for an entirely day browsing/email/duolingo and half battery has gone, the way it is going i will have to charge every 2 days or so. In the meantime i might just use facebook messenger through the browser.
Although Global Dev is fine, there are some bugs and MiFit does not want to sign in, i might go back to Global Rom when 8.2 comes out to Mi5.
Thank You!
mafish said:
Official Global Dev, so i noticed that "Lite Messenger Facebook" was draining the battery like h3ll, i uninstalled it and now i've been using my phone for an entirely day browsing/email/duolingo and half battery has gone, the way it is going i will have to charge every 2 days or so. In the meantime i might just use facebook messenger through the browser.
Although Global Dev is fine, there are some bugs and MiFit does not want to sign in, i might go back to Global Rom when 8.2 comes out to Mi5.
Thank You!
Click to expand...
Click to collapse
Try this : if you had flashed your devices maybe you could calibrate your battery.
You can find 'Battery Ultra Saver' on xda store
Have a good day.
krotin said:
Try this : if you had flashed your devices maybe you could calibrate your battery.
You can find 'Battery Ultra Saver' on xda store
Have a good day.
Click to expand...
Click to collapse
I didn't know about xda store, that is really cool!
I downloaded Battery Saver Ultra, and i am calibrating my device now
Thanks and have a good day too.
mafish said:
I didn't know about xda store, that is really cool!
I downloaded Battery Saver Ultra, and i am calibrating my device now
Thanks and have a good day too.
Click to expand...
Click to collapse
i could not find xda store.
inov said:
i could not find xda store.
Click to expand...
Click to collapse
It is actually XDA Labs
Here is the link to the page, also the page has the link to download the APK
https://www.xda-developers.com/xda-labs/
During the night (8h) I can lose 2-3% (without wifi, BT, LTE...). I'll try Battery Saver Ultra tonight ! Thanks

Categories

Resources