[Q/Issue] Deep sleep with wlan on? - Xperia Z1 Q&A, Help & Troubleshooting

Hi!
I just noticed that my phone does not go to deep sleep if I have wlan on. Though I do not have any long wakelocks according to BetterBatteryStats, just some minutes total while the device have been awake for much more.
Stock .534 unrooted, newly repaired with _only_ BetterBatteryStats and CPU Spy installed. No accounts added etc.
Wlan/Advanced: "Always on"
Location-based wlan: "on"
Low battery mode: "on"
STAMIN mode: "off"
Location based services "on" / "off" tested.
When I have wlan on CPU Spy reports as Deep sleep unused, and instead most of the time is spent in 300 MHz.
Any of you that can reproduce?

Have the same problem. Is that normal that it doesnt goes to deep sleep ?

muslim187 said:
Have the same problem. Is that normal that it doesnt goes to deep sleep ?
Click to expand...
Click to collapse
No, it's absolutely not normal. Something is keeping the device awake, probably a bug.
I left the device over night,
wlan kernel wakelock for 7h, but no long-standing partial wakelocks. I don't get it, how can something keep wifi awake without actually issuing a wakelock?

Bah I have suddenly been afflicted with this issue since yesterday. Noticed battery drain from 100% to 33% with minimal use between this morning and lunchtime while at work. Currently it is charging off my laptop but only holding its own, not increasing. Only had it a week, very little installed on it.

Battery life was fine for the first week of ownership, today it lost 75% with little or no use in 5 hours, then it did not charge when connected by USB to laptop it merely held the same charge, before quickly discharging again when disconnected.
No deep sleep all day
https://www.dropbox.com/s/b19ixx16dgnqrcb/2013-10-07 17.46.20.png

Inquitus said:
Battery life was fine for the first week of ownership, today it lost 75% with little or no use in 5 hours, then it did not charge when connected by USB to laptop it merely held the same charge, before quickly discharging again when disconnected.
No deep sleep all day
https://www.dropbox.com/s/b19ixx16dgnqrcb/2013-10-07 17.46.20.png
Click to expand...
Click to collapse
Hi, can you please verify that you indeed do not have any wakelocks caused by any other third-party programs you have installed? Just to knwo that we are in fact experiencing the same issue. You could also try to disable wlan (and mobile data (I haven't tested to turn that on, as I do not yet have a data plan).
The application needed to test that is Better Battery Stats, available here on XDA (or on Play): http://forum.xda-developers.com/showthread.php?t=1179809

Exry said:
Hi, can you please verify that you indeed do not have any wakelocks caused by any other third-party programs you have installed? Just to knwo that we are in fact experiencing the same issue. You could also try to disable wlan (and mobile data (I haven't tested to turn that on, as I do not yet have a data plan).
The application needed to test that is Better Battery Stats, available here on XDA (or on Play): http://forum.xda-developers.com/showthread.php?t=1179809
Click to expand...
Click to collapse
Today's issue on my phone was driven by several hours of a "bam_dmux wakelock."
edit: and no partial wakelocks so no idea of the driver.

Inquitus said:
Today's issue on my phone was driven by several hours of a "bam_dmux wakelock."
edit: and no partial wakelocks so no idea of the driver.
Click to expand...
Click to collapse
Ok. So it might be the same issue then, though I don't really know what the "bam_dmux" wakelock is.

FYI Mine is back to normal today. Lost 3% in 3 hours of light use. Only thing I have changed is I deleted a Wifi network from my preferred list that the phone was having trouble connecting to, may or may not be related.

Related

Why does not Note get into sleep mode?

I have a galaxy note, upgraded to the last version of 2.3.6 (JPLA1).
After upgrade i relized that the battery life has decreased. Then i made a factory reset. However, my phone does not stay in deep sleep mode very long. Actually it stays awake during whole night.
What could be the cause of this problem???
I have taken screen shots, attached...
ardicli2000 said:
I have a galaxy note, upgraded to the last version of 2.3.6 (JPLA1).
After upgrade i relized that the battery life has decreased. Then i made a factory reset. However, my phone does not stay in deep sleep mode very long. Actually it stays awake during whole night.
What could be the cause of this problem???
I have taken screen shots, attached...
Click to expand...
Click to collapse
the best although a bit demanding way is to check with BetterBatteryStats,
you could also try disabling not-absolutely-necessary features (GPS, some data syncs etc.) to check which decreases battery consumption,
there's also Autorun Manager with which you can disable unnecessary startup apps (lots of them are set to autorun after device start, some may try to update over the net too frequently)
I wonder what firmware you're on... mine (LB1) shows wifi status on the summary screen as well. my phone used to stay awake all night too, until I started turning off wifi for the night (FYI, I shut down the cell data connection when I arrive home, so it's not on for the night either)
leppo said:
I wonder what firmware you're on... mine (LB1) shows wifi status on the summary screen as well. my phone used to stay awake all night too, until I started turning off wifi for the night (FYI, I shut down the cell data connection when I arrive home, so it's not on for the night either)
Click to expand...
Click to collapse
Mine is LA1.
And my wifi is off as well as data connection during the night.
Also i realized something wierd. If i activate 3g, Android OS drains battery more than 70% percent. If i activate 2g, then Android OS drains only 10-15%. DAta connection is on for both. There could be a problem with the LA1 kernel maybe but i am not sure.
From what i've read, while (really) sleeping, the note shouldn't take more than 5%, and that seems normal/logical to me. But in my case, it drains 70% and it seems even in plane mode, i just don't get it...
p107r0 said:
the best although a bit demanding way is to check with BetterBatteryStats,
you could also try disabling not-absolutely-necessary features (GPS, some data syncs etc.) to check which decreases battery consumption,
there's also Autorun Manager with which you can disable unnecessary startup apps (lots of them are set to autorun after device start, some may try to update over the net too frequently)
Click to expand...
Click to collapse
+1 betterbatterystats
Sent from my GT-N7000 using XDA
Try disabling Fast Dormancy, it does generate wakelocks on my SGN as my network doesn't support the feature.
Dial *#*#9900#*#* and select "Disable fast dormancy".
That's good for reducing some wakelocks anyway.
knightnz said:
Try disabling Fast Dormancy, it does generate wakelocks on my SGN as my network doesn't support the feature.
Dial *#*#9900#*#* and select "Disable fast dormancy".
That's good for reducing some wakelocks anyway.
Click to expand...
Click to collapse
If I dial that the phone just dials that number. Did I do something wrong here?
lukabike said:
If I dial that the phone just dials that number. Did I do something wrong here?
Click to expand...
Click to collapse
I tried it and it worked as expected. Are you entering the full string (both numbers & symbols) on the default phone dialer?
*#*#9900#*#*
two_handed said:
+1 betterbatterystats
Sent from my GT-N7000 using XDA
Click to expand...
Click to collapse
I installed betterbatterystats but i did not get it very much.
Should i check something or change some of the settings?
or the program does what is necessary by itself?
I think this is not the case because my phone still does not enter into sleep mode.
@knightnz
I disabled fast dormancy. But i like to ask something.
What is fast dormancy?
Edit: I checked my phone now. There left 75% battery after 10 hours less than normal use. Data and 3g is on. However i unchecked "backup my data". I think this made me gain 10 hours of battery life
BadAss Battery Monitor (free)
Press menu and "App sucker". Go to "wake ups" or something like that. Let the phone run in standby for some while before checking. I bet it's an app that won't go to sleep.
I used to get this quite often but I found a way to stop it. Basically when i disconnected the charger when the screen was off the phone always stayed awake the only way to put it back to normal was to reset the cache in download mode. So i tried disconnecting the charger after putting the screen on first ( unlock phone) and it never happened again.
sent from my galaxy note using tapatalk
LordManhattan said:
BadAss Battery Monitor (free)
Press menu and "App sucker". Go to "wake ups" or something like that. Let the phone run in standby for some while before checking. I bet it's an app that won't go to sleep.
Click to expand...
Click to collapse
I have installed BetterBatterStats. When i checked partial wakelocks, the higher count is for AlarmManager (Android System). And the higher percentage (0,5%) is for PowerAMP.
Does this mean anything?
May i ask, how many % does your note consume every x hours? Making a report with your kernel/rom would be good, don't you think? Maybe a poll?

No deep sleep -> how to identify the cause?

Hey guys --
I did a search and while there is much discussion of deep sleep problems, there is no clear way I could easily find to identify the cause.
I have CM7.20, the MiRaGe latest build on my NC, with the settings listed in my thread (see the sig). Recently I noticed that it is not entering into deep sleep, indicated by losing ~20% battery while it is asleep overnight in about 8 hrs. Battery results tell me it's "WiFi" taking like 30% of the battery, which seems quite odd, since I had it set to turn off WiFi while the screen off unless connected to the charger.
Any clues on how to identify the problem with deep sleep?
As for usage, I am using my NC 99% of the time with the following apps:
Moon+ Reader (probably 70% of time)
YouVersion Bible app (most of the rest of the time)
Dolphin Browser HD (maybe 2% of the time)
Enhanced Email and MailDroid - very occasionally but they are checking mail on 15 min intervals when wifi is on.
I have a ton of other apps installed but I almost never use them except for these.
Any help on how to determine what is causing the NC to not go into deep sleep will be immensely helpful. I have a 2-week Euro business trip coming up next month and I would really like to solve this before then.
Thanks!
Better Battery Stats might help. Try turning off sync before bed and see if you still lose 20%. If so, it's definitely some app that's the culprit. Grab something that will tell you what program is using data and how much/how often and you should be able to isolate it pretty quick.
mr72 said:
Hey guys --
I did a search and while there is much discussion of deep sleep problems, there is no clear way I could easily find to identify the cause.
I have CM7.20, the MiRaGe latest build on my NC, with the settings listed in my thread (see the sig). Recently I noticed that it is not entering into deep sleep, indicated by losing ~20% battery while it is asleep overnight in about 8 hrs. Battery results tell me it's "WiFi" taking like 30% of the battery, which seems quite odd, since I had it set to turn off WiFi while the screen off unless connected to the charger.
Any clues on how to identify the problem with deep sleep?
As for usage, I am using my NC 99% of the time with the following apps:
Moon+ Reader (probably 70% of time)
YouVersion Bible app (most of the rest of the time)
Dolphin Browser HD (maybe 2% of the time)
Enhanced Email and MailDroid - very occasionally but they are checking mail on 15 min intervals when wifi is on.
I have a ton of other apps installed but I almost never use them except for these.
Any help on how to determine what is causing the NC to not go into deep sleep will be immensely helpful. I have a 2-week Euro business trip coming up next month and I would really like to solve this before then.
Thanks!
Click to expand...
Click to collapse
envygreen said:
Better Battery Stats might help. Try turning off sync before bed and see if you still lose 20%. If so, it's definitely some app that's the culprit. Grab something that will tell you what program is using data and how much/how often and you should be able to isolate it pretty quick.
Click to expand...
Click to collapse
OK, but it should be turning off wifi, and therefore sync for ALL apps, when it is asleep. Can an app override this setting? That's my guess, is some app is doing this. How can I ID that?
mr72 said:
OK, but it should be turning off wifi, and therefore sync for ALL apps, when it is asleep. Can an app override this setting? That's my guess, is some app is doing this. How can I ID that?
Click to expand...
Click to collapse
Like envygreen said use that app to track wakelocks. Even if wifi is off, some app may be applying a wakelock to try to sync.
leapinlar said:
Like envygreen said use that app to track wakelocks. Even if wifi is off, some app may be applying a wakelock to try to sync.
Click to expand...
Click to collapse
Alright, I'm on it
So last night I finished charging it and read for a couple of minutes, then put it to sleep to see how it went overnight.
My Wi-Fi sleep policy is set to turn off wifi when the display is off.
When I got up this morning I checked it and it had lost over 10% battery over night, and I checked BetterBatteryStats and I think it is going into deep sleep but maybe not shutting off wifi.
I have attached the screenshots from BetterBatteryStats, and I think I need help interpreting them and finding the cause.
ok, so here I am replying to my own thread... If I am reading this right it seems to be looking like my wifi is on the entire time, not only when the screen is on. Is this the right way to read this? In this case, it looks like "Wi-Fi sleep policy" being set to "When screen turns off" is not actually working... right?
mr72 said:
ok, so here I am replying to my own thread... If I am reading this right it seems to be looking like my wifi is on the entire time, not only when the screen is on. Is this the right way to read this? In this case, it looks like "Wi-Fi sleep policy" being set to "When screen turns off" is not actually working... right?
Click to expand...
Click to collapse
It sure looks that way to me too. It says wifi on 8 hours. Did you try toggling the setting a few times? Also you are on Mirage and he may have done something in his tinkering that messed that setting up.
leapinlar said:
It sure looks that way to me too. It says wifi on 8 hours. Did you try toggling the setting a few times? Also you are on Mirage and he may have done something in his tinkering that messed that setting up.
Click to expand...
Click to collapse
yeah I did toggle the setting on and off, and in fact before I had it set to "On during sleep if plugged" for a long time, recently changed it, thinking maybe this was the cause.
But it does appear that maybe this is what is killing the battery. There doesn't appear to be any network activity when the screen is off, just looks like the wifi radio is powered up.
Any advice?
mr72 said:
yeah I did toggle the setting on and off, and in fact before I had it set to "On during sleep if plugged" for a long time, recently changed it, thinking maybe this was the cause.
But it does appear that maybe this is what is killing the battery. There doesn't appear to be any network activity when the screen is off, just looks like the wifi radio is powered up.
Any advice?
Click to expand...
Click to collapse
Switch to CM7.2 stable?
leapinlar said:
Switch to CM7.2 stable?
Click to expand...
Click to collapse
Hmm. that seems like an extreme step, but maybe ... wonder how much of the snappiness I will lose.
EDIT: OK I switched to CM7.2 stable. Nice I didn't seem to lose any settings. Let's see how it goes. Thanks for the advice, I'll report back here if it still does the same thing.
Also uninstalled beautiful widgets... figured maybe that could be causing an issue.
Oh, and I probably had a SOD kernel patch applied... perhaps that was the problem too
guess I should change only one variable at a time for a good test, but in reality I just want to get it fixed and not really diagnose it.
I was having a similar problem...what I did was run the V6 supercharger script, granted i am running CM9 atm but it took care of any problems I had with battery life and wifi signal.
Question: does having WiFi on keep the phone from going into deep sleep at all?
I have found that my phone is not going into deep sleep. I checked what is holding wake locks, and the time with wake locks is way less than the time the phone has the screen off, so it appears it is not deep sleeping, even though there are not wake locks.
I have an extended battery, so I get good battery life, but always interested in improving it. But I also have this thought that if I have to turn everything off, and only synch when I turn the screen on, that is not ideal either.
ewingr said:
Question: does having WiFi on keep the phone from going into deep sleep at all?
I have found that my phone is not going into deep sleep. I checked what is holding wake locks, and the time with wake locks is way less than the time the phone has the screen off, so it appears it is not deep sleeping, even though there are not wake locks.
I have an extended battery, so I get good battery life, but always interested in improving it. But I also have this thought that if I have to turn everything off, and only synch when I turn the screen on, that is not ideal either.
Click to expand...
Click to collapse
Get CpuSpy free on play store. It will tell you exactly how much deep sleep you are getting.
Having wifi on all the time should not prevent deep sleep. Only when things use it does it come out of deep sleep.
leapinlar said:
Get CpuSpy free on play store. It will tell you exactly how much deep sleep you are getting.
Having wifi on all the time should not prevent deep sleep. Only when things use it does it come out of deep sleep.
Click to expand...
Click to collapse
I have CPUSpy Free, and that is how I know I am not getting deep sleep. My challenge now is to identify why.
OK, so it seems that CM7.20 stable definitely fixes things. I didn't flash the SOD fix, so maybe the SOD fix was preventing deep sleep before, or maybe something else in the kang build was preventing deep sleep with wifi on when the screen is on.
However the better battery stats still seems to say my wifi is never actually going off. I am not sure I am interpreting the results correctly. It looks like the wifi is on all the time even though it's set to turn off when the screen is off. But I can let the NC sit on my night stand overnight and lose only a couple of % where it was like 10+% before. I still think my problem was due to some app that updated and not the ROM because the problem started weeks after I last updated the ROM.

[Q] Is my battery broken?

Hey I have just bought HTC One 2 days ago. Compared to my old Sensation XE battery life completly sucks. I usually use phone without battery saver, on auto brightness and with Wi-Fi/3g turned on only on demand. Today 8 hours after unplugging phone from the charger I only have 26%. Screen was turned on for 2 hours and 45 minutes only and Wi-Fi worked for 3 hours and 46 mins. I might also say that I did not charge my One before usage to 100% as HTC advised. Was that very crucial? Do you think that phone might be broken or I should just give him time to settle baterry better.
That's sounds like what I get. I turn off mobile data when using WiFi and vice versa. I always use power saver unless I'm 3D gaming. Which is only on the weekends.
I've had mine for 3 months now.
I've seen people get 7:00 screen time on stock unrooted.
I think my battery's broken too. I can barely reach 3 hours of screen time. With 2 hours I get like 11 maybe 12 hours of on time. Something's wrong with our phones...
Does anyone have any suggestions?
Search for BetterBatteryStats
Does anyone see a problem with my battery I have been on wifi the whole time with brightness at 20%.I never had this bad of a drain before and all I did was look at facebook for maybe 5 minutes.I also closed the app after I was done using it.
racingmatt1 said:
Does anyone see a problem with my battery I have been on wifi the whole time with brightness at 20%.I never had this bad of a drain before and all I did was look at facebook for maybe 5 minutes.I also closed the app after I was done using it.
Click to expand...
Click to collapse
Your battery stats seem on par with me and the OP. Seems that only a select few phones get decent battery life.
My kernel (android os) has been in the 25-35% range,it has never been that high before.
battery life lousy
I get pretty horrible drain too. I charged it to nearly full around 7:30 last night. I took about 2 minutes of video, sent one text, and checked my email 3 times. After that I went to sleep and the phone sat idle. At 6:30 this morning, I'm down to 9%.
Bradlees said:
I get pretty horrible drain too. I charged it to nearly full around 7:30 last night. I took about 2 minutes of video, sent one text, and checked my email 3 times. After that I went to sleep and the phone sat idle. At 6:30 this morning, I'm down to 9%.
Click to expand...
Click to collapse
Wow, that's real bad.. When my phone is off during night maybe 7% is gone. Then again I'm rooted and use greenify aswell as battery doctor if that has any affect.
On screen time seems like my battery drains pretty fast too though. After 2 hours of music and surfing and watching videos I guess atleast 40% would be gone.
My battery life became horrible, too. My phones loses 4% per unused hour. No App seems to be responsible for that drain. Flightmode or powersaving mode ain't making a difference. I hope we'll find a solution for our drain.
Rachorid said:
My battery life became horrible, too. My phones loses 4% per unused hour. No App seems to be responsible for that drain. Flightmode or powersaving mode ain't making a difference. I hope we'll find a solution for our drain.
Click to expand...
Click to collapse
need pics of BBS on kernel wakelocks / partial wakelocks / alarms. then i can give you a general idea of whats going on.
syaoran68 said:
need pics of BBS on kernel wakelocks / partial wakelocks / alarms. then i can give you a general idea of whats going on.
Click to expand...
Click to collapse
Here are the screenshots. I really hope you can help me
EDIT: oh, I forgot to change the language.. On the first screenshot is Google-Dienste = Google Services. The rest is in English.
syaoran68 said:
need pics of BBS on kernel wakelocks / partial wakelocks / alarms. then i can give you a general idea of whats going on.
Click to expand...
Click to collapse
Here's my screenshots...
racingmatt1 said:
Here's my screenshots...
Click to expand...
Click to collapse
@Racingmatt your power management services is on for quite a bit. do you have alarms.? i would bet that you either that maps location enabled or something of the sort. cause you also have NLPcollector on for around 40 minutes which is a bit much. also i would turn off GPS if your not actively using it.
@Rachorid how are you setting up your wifi? is it set to always be on? or set to turn off when screen off? you have alot of wifi wake. might be due to that. i know when i'm at home my wifi actively pings all devices connected which will force wake up my phone. yea its a bit annoying but i live with it. otherwise i just keep my phone plugged in.
if you both can get some SS of alarms i can give you a better idea. and when you SS the alarms make sure to click on the ones with the most wake lock so i can see the secondary screen that shows what the actual wakelock command is happening.
syaoran68 said:
@Rachorid how are you setting up your wifi? is it set to always be on? or set to turn off when screen off? you have alot of wifi wake. might be due to that. i know when i'm at home my wifi actively pings all devices connected which will force wake up my phone. yea its a bit annoying but i live with it. otherwise i just keep my phone plugged in.
if you both can get some SS of alarms i can give you a better idea. and when you SS the alarms make sure to click on the ones with the most wake lock so i can see the secondary screen that shows what the actual wakelock command is happening.
Click to expand...
Click to collapse
Here are the latest stats. As you can see many Google wakes.. removing Maps/Now/GMail/turning of Location (a few days ago) had no impact on my drain. The 2nd app on Partial Wakelocks was used actively.
I also disabled Wifi for about 2 hours.. no impact, too. Flightmode also had no impact (a few days ago).
syaoran68 said:
@Racingmatt your power management services is on for quite a bit. do you have alarms.? i would bet that you either that maps location enabled or something of the sort. cause you also have NLPcollector on for around 40 minutes which is a bit much. also i would turn off GPS if your not actively using it.
@Rachorid how are you setting up your wifi? is it set to always be on? or set to turn off when screen off? you have alot of wifi wake. might be due to that. i know when i'm at home my wifi actively pings all devices connected which will force wake up my phone. yea its a bit annoying but i live with it. otherwise i just keep my phone plugged in.
if you both can get some SS of alarms i can give you a better idea. and when you SS the alarms make sure to click on the ones with the most wake lock so i can see the secondary screen that shows what the actual wakelock command is happening.
Click to expand...
Click to collapse
The reason I didnt give you a alarm ss is because I didn't have any alarms when I went to the alarms section. I also had all locations services including GPS enabled but I just now disabled GPS but left network location enabled I'll give you a screenshot later so you can see the differences
I know exactly how you feel that's what happened to me,u was expecting so much from the battery and it turned out to be the worst..give ya some advice...3g drains the **** out of the battery ,so always jeep it off and turn it on only when you wanna use it...that way the battery will be acceptable... Also flashing a custom Rom would help...o recommend arhd
Sent from my HTC One using xda premium
BigJoey010 said:
I know exactly how you feel that's what happened to me,u was expecting so much from the battery and it turned out to be the worst..give ya some advice...3g drains the **** out of the battery ,so always jeep it off and turn it on only when you wanna use it...that way the battery will be acceptable... Also flashing a custom Rom would help...o recommend arhd
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
I had awesome battery life a month ago with Wifi always on, auto. brightness and every app on hourly sync. (I have my phone since 7th of march) Sometimes I didn't lost a percent over night (8 hours) and I just don't know what it could be because I didn't install another app and no app seems to be responsible for that stanby drain. My on-screen battery life is still good. It also doesn't matter which ROM or kernel I'm using.
Here is my latest stats after 12 hours with 5 minutes of GPS use (turned off when not using)and network location on all the time with 3g/4g on all the time(turns off after a period of inactivity) . I can't give you a alarm stat because I'm not rooted.
Lithium-Ion batteries used in today's smartphones need atleast 10 cycles to show optimum power
so hold on until 2 weeks then you will get the full performance
i get 2 days of battery on my HTC One (since i dont have internet on my Simcard)
its 2G connection and auto Brightness and switched bloatwares off
i use Android Revolution HD 12.2
racingmatt1 said:
Here is my latest stats after 12 hours with 5 minutes of GPS use (turned off when not using)and network location on all the time with 3g/4g on all the time(turns off after a period of inactivity) . I can't give you a alarm stat because I'm not rooted.
Click to expand...
Click to collapse
with normal use 3.6%/h is pretty reasonable. how much screen on time was that including?

Battery drains on Maclaws CM11

I'm opening this thread to clean up the Dev thread, since the most probable cause of battery drains are software/configuration related.
Here's my own experience with this matter.
Most of the drains I've seen are related to Location settings and Google Now. It seems Google's Location Reporting and Location History keep pinging WiFi for the location at a fairly high rate, so keeping the phone Awake and/or the WiFi running all the time. An usual indication of this is that in BetterBatteryStats you get:
1) Screen On % very low
2) WiFi On 100% of the time
3) WiFi Running 100% of the time.
4) Awake with moderate-to-high %.
To test it, here's what should be done:
1) Get BetterBatteryStats (BBS), enable Root, install it as system app (in advanced settings). Reboot.
2) Disable WiFi and GPS completely, preferably leaving Data Network also off. You may go all the way and just turn on airplane mode.
3) Leave the phone idle for at least 1h and check that there is no battery drain.
If you get any considerable drain (more than 5%/h), check Kernel Wakelocks and Partial wakelocks, or try again with 2G networks only. You may have a baseband problem. Consider this step as your "control group" as it ensures nothing in the hardware or in the ROM is wrong.
If there is no drain, enable WiFi and GPS again, but make sure all this settings are UNCHECKED:
1) Settings->WiFi-> Advanced: "Network notification", "Keep wifi on during sleep" set to "Never", "Scanning always available".
2) Settings->Location->Google Location Reporting: "Location Reporting" set to off and "Location History" set to off. Or just disable Location completely.
3) Check Settings->Security -> Device Administrators -> Disable at least Android Device Manager. If you can, disable everything else in this screen, such as Airdroid, Cerberus, etc
4) App drawer -> Google Settings -> Search -> Set Google Now to Off. You can also configure Android Device Manager here.
Leave the phone idle again for 1h and check BBS. In theory you shouldn't need to recharge completely, just enable the watchdog in BBS. Always check the wakelocks too.
You should get this on BBS:
1) Screen On % very low
2) WiFi On 100% of the time
3) WiFi Running with low % (anything less than 50% is ok, depending on Sync settings and background apps)
4) Awake with low %.
5) Deep Sleep with almost 100%
Go back enabling stuff as needed, one by one, leave the phone idle and check BBS. Rinse and repeat until you find the culprit.
One thing, make sure you do this after letting the phone sync some of the stuff. Don't do this immediately after a setting up a Google account.
Some people also reported that doing a factory reset solves the drains. It's always recommended anyway.
Any other hints are also appreciated.
For people with trouble making BBS work, Try getting the latest version, enable Root in Settings->Advanced and them System App, also in Settings-> Advanced.
Also:
1) When the phone is charging it WILL BE AWAKE WITH BOTH CORES, ALL THE TIME. Depending on the governor used, both cores may even stay at full speed (aka 1GHz). This is BY DESIGN and stock ROMs does that too. So any measurement while the phone is charging is useless.
2) Most "calibration" procedures are myths and don't have any effect. Erasing batterystats.bin also does nothing to increse battery life or remove drains (but may solve some charging issues, still unclear).
Very interesting.. Good thread and good options to test our battery drain ! thanks for the post.
I'll try this when I get home from school, thanks.
Weird thing happened last night, I thought the battery drain was gone when I recalibrated, but my phone discharged over night, weird thing is my settings show the phone didn't go to sleep once during the entire night, even though it was on airplane mode and I had already used it for like 3 or 4 hours with no apparent brain
There is a lot of battery drain only when WiFi in on. Even if the phone is idle.
I'm on:
Maclaw CM 11.0 [20131210]
I8190XXAMJ2
I'll do the exact tests and post my results.
Do you get notifications with wifi set to never during sleep?
RodHQ said:
I'll try this when I get home from school, thanks.
Weird thing happened last night, I thought the battery drain was gone when I recalibrated, but my phone discharged over night, weird thing is my settings show the phone didn't go to sleep once during the entire night, even though it was on airplane mode and I had already used it for like 3 or 4 hours with no apparent brain
Click to expand...
Click to collapse
Use the 1st step I wrote above with BBS. Check Kernel Wakelocks and Partial Wakelocks. You will be able to pinpoint exaclty what is keeping your phone awake.
I was about to start a thread on the same topic but my problem is with Carbon Rom 4.4.2 . The phone never goes into deep sleep and is awake 100% of the time. I'm attaching what I see as the culprit in B.B.S. I already disabled sync and yet the wakeclocks are sync related I hope anyone can help me with this.
i just changed to peagusq everything is fine
BBS How-to
ArtCar said:
I was about to start a thread on the same topic but my problem is with Carbon Rom 4.4.2 . The phone never goes into deep sleep and is awake 100% of the time. I'm attaching what I see as the culprit in B.B.S. I already disabled sync and yet the wakeclocks are sync related I hope anyone can help me with this.
Click to expand...
Click to collapse
Maybe BBS How-to will help you
http://forum.xda-developers.com/showpost.php?p=15869904&postcount=3
If not than post screens and collected dumps on BBS thread
gimme link to maclaw 4.4.2 for s advance
Sent from my GT-I9070 using xda app-developers app
Link
Here you are
http://maclaw.pl/downloads/
same here
eswarvf said:
i just changed to peagusq everything is fine
Click to expand...
Click to collapse
+1
ArtCar said:
I was about to start a thread on the same topic but my problem is with Carbon Rom 4.4.2 . The phone never goes into deep sleep and is awake 100% of the time. I'm attaching what I see as the culprit in B.B.S. I already disabled sync and yet the wakeclocks are sync related I hope anyone can help me with this.
Click to expand...
Click to collapse
Notice that the Count is 0 on both GoogleServices related wakelocks. To me this seems that Chrome and something else (maybe G+?) are trying to sync (perhaps the first one?) but are not getting enough network time/bandwidth to do so. I suggest you connect to an wifi, turn on the sync, and leave the phone awake for a while (try not to use the network very much). See if that solves. If not, backup and factory reset are your friends.
rcoacci said:
Notice that the Count is 0 on both GoogleServices related wakelocks. To me this seems that Chrome and something else (maybe G+?) are trying to sync (perhaps the first one?) but are not getting enough network time/bandwidth to do so. I suggest you connect to an wifi, turn on the sync, and leave the phone awake for a while (try not to use the network very much). See if that solves. If not, backup and factory reset are your friends.
Click to expand...
Click to collapse
I fixed my problem by switching back to dalvik and now my phone only looses about 5% battery overnight.

Factory Reset does NOT solve S10 Battery Drain (15-20%) when Idle

I noticed my Samsung S10 T-Mobile Snapdragon would drain about 15-20% overnight while asleep (6-8 hours) since last week or so. The drain during the day is also significantly worse, but it's easier to compare the numbers when on idle. The first weeks that I had the phone, I was losing less than 5% overnight (6-8 hours). I am not sure if this was caused by the security updates, carrier updates, or a rogue application. I made no changes to the phone settings that I can recall. My phone was connected to WIFI overnight, with cellular, cellular data, and Bluetooth on. Prior to going to bed I would charge the phone to about 80% and unplug it.
I installed AccuBattery after reading some forums and it showed that my battery drain overnight was about 2-3% PER hour. AccuBattery also indicated that my phone was in deep sleep +85% of the time. The breakdown per application does not total the 15-20% so there's something else draining the battery. Eventually, I uninstalled AccuBattery to see if it was contributing to the drain, and it made no difference.
Below are most of the things that I have tried and tested overnight while I slept (6-8 hours), all of them have been UNSUCCESSFUL at solving the battery drain. I might have forgotten some other settings that I have changed. Keep in mind that this took me over a week of playing around with these settings, and checking the battery right before and after I went to sleep.
Restarted phone (There's always someone who would suggest this if not written down)
Cleared Google Services, Google, and other Apps Cache and Data
Cleared Cache Memory (Through recovery menu - Tried this about 5 times at this point)
Reset the big 3 (Reset settings, Reset network settings, Reset accessibility settings)
Enabled Airplane Mode (Cellular, WiFi, Bluetooth Off)
Disabled Location
Disabled Sync
Disabled Always on Display
Disabled ALL Motions and Gestures (e.g. Lift to Wake, Double tap to wake, Smart Stay, etc.)
Disabled Video enhancer
Disabled Game Launcher
Disabled Bixby Routines
Disabled Nearby Device Scanning
Disabled WiFi Scanning and Bluetooth Scanning (Improve Accuracy)
Disabled Show icon when screen is off (under fingerprints - from Samsung Forums)
Disabled certain Apps (AR Emoji, ARCore, Briefing, Chrome, Game Launcher, Google, Facebook, Secure Folder, etc.)
Forced Stop certain Apps (Bixby, Secure WiFi, etc. - they seem to all come back after a couple of minutes anyway)
Enabled/Disabled Adaptive Power Saving (Tried both settings, made no difference)
Enabled/Disabled Auto Optimization (Tried both settings, made no difference)
Switched between Power Modes (Optimized to Medium, made no difference)
Change lock screen and home screen to a 100% black wallpaper
Ran Safe Mode overnight with ALL of the settings above (Airplane with Location and Sync Off, etc.) Still got a 15% drain overnight.
Last night after I got fed up with playing with the countless of options, I decided to Factory Reset the phone thinking that this would solve my battery drain problem. Well, WRONG. Still got a 15% battery drain overnight with only the core apps installed, in airplane mode, location and sync disabled, and other settings disabled. I did NOT restore any backups from Samsung or Google, nor installed any additional apps that did not come with the phone.
I have complained to Samsung through their Samsung Members application under Feedback. If you guys are on the same boat, I suggest we all start complaining so that they can start taking a look at this and hopefully release a fix.
If you guys have any tips or anything has worked for you guys, please let me know.
XDA1697413 said:
I noticed my Samsung S10 T-Mobile Snapdragon would drain about 15-20% overnight while asleep (6-8 hours) since last week or so. The drain during the day is also significantly worse, but it's easier to compare the numbers when on idle. The first weeks that I had the phone, I was losing less than 5% overnight (6-8 hours). I am not sure if this was caused by the security updates, carrier updates, or a rogue application. I made no changes to the phone settings that I can recall. My phone was connected to WIFI overnight, with cellular, cellular data, and Bluetooth on. Prior to going to bed I would charge the phone to about 80% and unplug it.
I installed AccuBattery after reading some forums and it showed that my battery drain overnight was about 2-3% PER hour. AccuBattery also indicated that my phone was in deep sleep +85% of the time. The breakdown per application does not total the 15-20% so there's something else draining the battery. Eventually, I uninstalled AccuBattery to see if it was contributing to the drain, and it made no difference.
Below are most of the things that I have tried and tested overnight while I slept (6-8 hours), all of them have been UNSUCCESSFUL at solving the battery drain. I might have forgotten some other settings that I have changed. Keep in mind that this took me over a week of playing around with these settings, and checking the battery right before and after I went to sleep.
Restarted phone (There's always someone who would suggest this if not written down)
Cleared Google Services, Google, and other Apps Cache and Data
Cleared Cache Memory (Through recovery menu - Tried this about 5 times at this point)
Reset the big 3 (Reset settings, Reset network settings, Reset accessibility settings)
Enabled Airplane Mode (Cellular, WiFi, Bluetooth Off)
Disabled Location
Disabled Sync
Disabled Always on Display
Disabled ALL Motions and Gestures (e.g. Lift to Wake, Double tap to wake, Smart Stay, etc.)
Disabled Video enhancer
Disabled Game Launcher
Disabled Bixby Routines
Disabled Nearby Device Scanning
Disabled WiFi Scanning and Bluetooth Scanning (Improve Accuracy)
Disabled Show icon when screen is off (under fingerprints - from Samsung Forums)
Disabled certain Apps (AR Emoji, ARCore, Briefing, Chrome, Game Launcher, Google, Facebook, Secure Folder, etc.)
Forced Stop certain Apps (Bixby, Secure WiFi, etc. - they seem to all come back after a couple of minutes anyway)
Enabled/Disabled Adaptive Power Saving (Tried both settings, made no difference)
Enabled/Disabled Auto Optimization (Tried both settings, made no difference)
Switched between Power Modes (Optimized to Medium, made no difference)
Change lock screen and home screen to a 100% black wallpaper
Ran Safe Mode overnight with ALL of the settings above (Airplane with Location and Sync Off, etc.) Still got a 15% drain overnight.
Last night after I got fed up with playing with the countless of options, I decided to Factory Reset the phone thinking that this would solve my battery drain problem. Well, WRONG. Still got a 15% battery drain overnight with only the core apps installed, in airplane mode, location and sync disabled, and other settings disabled. I did NOT restore any backups from Samsung or Google, nor installed any additional apps that did not come with the phone.
I have complained to Samsung through their Samsung Members application under Feedback. If you guys are on the same boat, I suggest we all start complaining so that they can start taking a look at this and hopefully release a fix.
If you guys have any tips or anything has worked for you guys, please let me know.
Click to expand...
Click to collapse
If its still draining that much even in flight mode, then something is definitely wrong. Seems like you've tried everything. Can you not get a replacement under warranty from where you purchased it? Sounds faulty.
Sent from my [device_name] using XDA-Developers Legacy app
I have had this same issue with my S7. Hence my reply. At that time I have traced it down to a certain kernel process. The only way to resolve this was to replace the motherboard. A factory reset didnt helped either.
Later when i investigated it further it was like an Interrupt request for sleep mode. Eleminating the phone going to deep sleep. Than you will see drains like this
My advice. Get the device replaced. It was the only way to resolve the problem on my S7. Hardware replacement
Shivani76 said:
I have had this same issue with my S7. Hence my reply. At that time I have traced it down to a certain kernel process. The only way to resolve this was to replace the motherboard. A factory reset didnt helped either.
Later when i investigated it further it was like an Interrupt request for sleep mode. Eleminating the phone going to deep sleep. Than you will see drains like this
My advice. Get the device replaced. It was the only way to resolve the problem on my S7. Hardware replacement
Click to expand...
Click to collapse
I installed BetterBatteryStats and got a ~20 drain over 9 hours of standby while sleeping. The phone was untouched for 9 hours, airplane mode on, location off, sync off, and other settings off.
imgur.com/a/1zAj9LP
Also, how did you manage to get your phone replaced? By Samsung? I am past the 30 day return policy so I am not sure how easy/hard it will be for the to replace my device/motherboard. What did you say to them exactly?
Reflash firmware?
Which update are you on?
After the ASCA, but before the finger print sensor update, I had amazing battery life, less than 1% per hour on idle.
But after finger print sensor update, it's about 2% per hour on idle.
Maybe reflash ASCA without the fps update? If it's possible
evo85210 said:
Which update are you on?
After the ASCA, but before the finger print sensor update, I had amazing battery life, less than 1% per hour on idle.
But after finger print sensor update, it's about 2% per hour on idle.
Maybe reflash ASCA without the fps update? If it's possible
Click to expand...
Click to collapse
Spoke to someone in Reddit and he flashed his phone to the Febraury update. It still had bad idle drain.
Additional things I have tried recently overnight with no success
Disabled fingerprint
Removed SIM Card
Cleared memory cache again
I'll wait for the April update and see if that solves things. If not, I guess I'll drop by one of their service centers/genuis bars.
What a terrible experience...
Yeah that does not seem normal.
With airplane mode drop 0.2%/hours.
Sorry you are having bad issues. I would try to install U1 firmware and see if that helps.
Sent from my SM-G973U using Tapatalk
I'm having the same issue after the recent updates on AT&T. I used to get close to 9 hours SOT and now I barely get 4. Nothing unusual in the battery stats either so I'm not sure what's going on.
Same here. The idle drain is completely insane! It's a shame that the phone suffers from issues like this when you compare it to the price we paid for it. From what I can tell the issue stems from the kernel not being able to figure out the proper frequencies for the cores in idle which leads to **** performance. I'm gonna try to flash the asd4 firmware via odin once. If it doesn't work I'm gonna get a replacement if possible. Currently I get around 4 hours of sot no matter what I do. Doesn't matter what I do which is super weird. My s7 edge which was at least 2 years old gave me a better sot more regularly, so I'm definitely pretty irritated with this. Will update once I flash over odin.
Saumya Mishra said:
Same here. The idle drain is completely insane! It's a shame that the phone suffers from issues like this when you compare it to the price we paid for it. From what I can tell the issue stems from the kernel not being able to figure out the proper frequencies for the cores in idle which leads to **** performance. I'm gonna try to flash the asd4 firmware via odin once. If it doesn't work I'm gonna get a replacement if possible. Currently I get around 4 hours of sot no matter what I do. Doesn't matter what I do which is super weird. My s7 edge which was at least 2 years old gave me a better sot more regularly, so I'm definitely pretty irritated with this. Will update once I flash over odin.
Click to expand...
Click to collapse
To all who has this issues. First thing to check is .. Does the phone ever enters deep sleep ....
I used this app on my S7..
Wakelock Detector. Can be found in google play.. Sorry cant post links due to my new status here.
Znalazłem rozwiązanie szybkiego rozładowania bateri zwłaszcza jak telefon noszony jest w kieszeni. W moim przypadku telefon przez noc zużywa jakiś 3% bateri a po włożeniu do kieszeni w 2 godziny 15% do wczoraj. A teraz Rozwiazanie . Wychodzimy w MENU - ZAAWANSOWANE FUNKCJE - RUCH I GESTY* - i odznaczamy opcję DOTKNIJ DWUKROTNIE ABY WYBUDZIĆ. następnie w MENU - EKRAN BLOKADY - ALWAYS ON DISPLAY - TRYB WYŚWIETLACZA zmieniamy opcję DOTKNIJ ABY POKAZAĆ na którąś z pozostałych lub całkowicie wyłączamy ALWAYS ON DISPLAY . To powinno rozwiązać problem z baterią w moim przypadku kończąc**pracę**z telefonem w kieszeni po 8 godzinach miałem 30% Baterii a teraz 70% .
Shivani76 said:
Wakelock Detector.
Click to expand...
Click to collapse
I know this app,but i have never used it.Next maybe i can......
Shivani76 said:
To all who has this issues. First thing to check is .. Does the phone ever enters deep sleep ....
I used this app on my S7..
Wakelock Detector. Can be found in google play.. Sorry cant post links due to my new status here.
Click to expand...
Click to collapse
BetterBatteryStats shows it goes to deep sleep 99% of the time overnight. No abnormal kernel wakelocks/partial wakelocks/alarms.
A couple of other things I have tried recently unsuccessfully while sleeping (6-8 hours) over the past week:
Safe Mode
Safe Mode + airplane mode
Safe Mode + airplane mode + cache wipe + Google services wipe
Safe Mode + airplane mode + cache wipe + Google services wipe + Remaining Apps in Sleep Mode (Battery Settings>Sleeping Apps)
Safe Mode + airplane mode + cache wipe + Google services wipe + Remaning Apps in Sleep Mode + Max Battery Mode (instead of Optimized Mode)
The best idle drain I got overnight was 15% drain over ~6 hours (~2.5%/hour)
I'll try disabling the Adaptive Battery/Auto Optimization while I have all my Apps in Sleep Mode an Safe Mode. I'll also try another Factory Reset this weekend.
If that doesn't work, I'll schedule an appointment with one of their service centers.
This sucks. My 2-year old S7 Edge still has better battery life than this.
I remember reading a post on Reddit from a guy saying he had a current leak on his faulty motherboard. Maybe you got the same issue on yours.
Paradoxxx said:
I remember reading a post on Reddit from a guy saying he had a current leak on his faulty motherboard. Maybe you got the same issue on yours.
Click to expand...
Click to collapse
After reading your comment, I decided to test the phone completely off overnight.
To my surprise the battery drain was still present. From 5PM to 730AM my battery went down from 87% to 60%!!! So about ~2%/hour while the S10 was COMPLETELY OFF.
I'll be taking my phone to the service center sometime this week. For anybody else having crazy drain problems, turn your device completely off and see if the drain is still present. It might be a hardware issue
evo85210 said:
Which update are you on?
After the ASCA, but before the finger print sensor update, I had amazing battery life, less than 1% per hour on idle.
But after finger print sensor update, it's about 2% per hour on idle.
Maybe reflash ASCA without the fps update? If it's possible
Click to expand...
Click to collapse
Oh, seems like the same with mine, the fingerprint update

Categories

Resources