[FIXED][WIFI battery drain!]ICS leak kernels - no deep sleep? - Motorola Droid 4

Hi, guys. I'm new enough with droid 4. But the one of this thing I found - I installed 215 leak ics, now I'm using it, but looks like it is not moving CPU to deep sleep state at the night.
Was anybody noticed about that thing in the previous ICS leak? I tried only kernel from 215 leak and here no deep sleep. At night it's working on 300MHz state.
Thanks for ideas.

On the other leaks deep sleep would come on no problem from my experience.
Right now deep sleep is unused, I will post when I have some more reliable info in the morning about deep sleep taking over or not.
Sent from my DROID4 using xda app-developers app

ok, let me know if it'll work fine at your side

ok, guys. Found the problem. Wifi doesn't make deep sleep.

ok, fixed this trouble. replaced original wpa_cli and wpa_supplicant from cm9 and wifi allows deep sleep now.
update
Seems like it was only one lucky boot. No more connection to my router though wpa
But here is temporary solution that works, not ideal, but it works.
http://forum.xda-developers.com/showpost.php?p=28110718&postcount=58

While charging there was no deep sleep, when the phone is on battery power it doesn't deep sleep after I hit the power button, takes a while but it does go into a deep sleep after a while, minimal but it does.
As far as wifi, I haven't checked, haven't used it yet. Ill try and see.
Sent from my DROID4 using xda app-developers app

Mine is definitely going into deep sleep on 215 as well, although it seems it won't when it is plugged in. Not connected to any Wifi networks though, so I can't comment on that.

podspi said:
Mine is definitely going into deep sleep on 215 as well, although it seems it won't when it is plugged in. Not connected to any Wifi networks though, so I can't comment on that.
Click to expand...
Click to collapse
Deep sleep works fine here while my wifi is turned off. Once I connect to my router, no deep sleep or randomly it will go to deep sleep, but after reboot it won't work!

fixed the prorblem finally. How? My router had hidden ssid for the wifi. I unhided it, and nomore battery drain.

Related

Deep sleep mode not happening

My wonderful Note isn't going into Deep Sleep mode which is sure to be one of the big battery drain issues i face. Can someone tell me how to get it to go into Deep Sleep mode?
Sent from my GT-N7000 using xda premium
One issue with the Note and batterydrain is that it dont turn off the WiFi when the phone is asleep. But you can fix this by go to setting for WiFi and set it to turn off WiFi when the screen is off.
When I did this my Note went from using 50% of the battery overnight, and to about 2%
At the same time I turned off the autoupdate feature for Weather, Googlemail and so on..
look at the apps that uses battery if you see samsung push service the it is your problem. i solved this issue by freezing it via titanium backup

Strange problem with my note

Hi
Im running rooted note with darky rom 3.3 and franco's test kernal with no probs up to about two days ago. Now for no reason I can see battery life has dropped drastically and some of my installed apps either do not open at all or some open then just fc. I haven"t installed any new apps in past several days. Checking batt stats it tells me the note is nearly constantly awake with with wifi awake aswell but shows no app or process including wakelocks running that can account for this. Has anyone have any idea what could be causing this and hopefuly a fix.
Thanks
Ingott
Sent from my GT-N7000 using XDA
BetterBatteryStats or Badass Battery Monitor will help you pinpoint the app/process causing wakelocks and thus preventing your Note from going to sleep.
Have checked with betterbattstats and no app is running causing this problem. I have wifi set to on only when screen is on but wifi is constantly awake this is causlng batt drain I believe. Also my installed apps no longer work they fc and some dont even start. Since my last post I have reinstalled darky rom and franco kernal but still getting the same problems.
Sent from my GT-N7000 using XDA
I have the same wifi problem !
I have rocket rom V23 and abyss kernel 4.2
BBS shows no wake lock and kernel wake lock but when the wifi is connected the phone wont go to sleep and its awake and drain battery !
if I turn off the wifi it will sleep and battery drain will decrease to 0.4-0.5 % per hour.
my wifi policy is set to sleep when screen is off but when i turn off screen the wifi is still awake and i can see it connected in my router lan page and also I can ping it too.
any one has any idea ?
I have found the 'sleep while screen is off' to be very poor. I now use Llama to turn the WiFi off 1 minute after the screen turns off (in case I forget something and go back), and turn it on when the screen comes on, but only if I am at the Home or Work locations. It now works exactly as I want.
jeromepearce said:
I have found the 'sleep while screen is off' to be very poor. I now use Llama to turn the WiFi off 1 minute after the screen turns off (in case I forget something and go back), and turn it on when the screen comes on, but only if I am at the Home or Work locations. It now works exactly as I want.
Click to expand...
Click to collapse
thanks for your suggestion.
I just found Batteryfu very useful for NOW !!!
it has good options for wifi and mobile data, also has options for night mode, screen on, screen lock/unlock, while charging ,...
will test it for a day or 2 and will post my observations .
Thanks for all the replies..
I have found what works for me. I wiped kernal using jBroid then installed a different kernal to what I had installed rebooted a couple of times. I then wiped again using jBroid then re-installed my originall kernal again. This solved my problems. Suspect kernal got corrupted somehow then the wipe and overwrite sorted it out. Thanks to darky rom dev robbie hood for the heads up on this.
ingott
And my problem went away just by restarting my note.
Sent from my GT-N7000 using xda premium

[Q] Deep sleep problem on official ICS 4.0 Galaxy Note pls help

Phone does not go into deep sleep and for a few hours drains the battery ....
How can I solve this .. It is a German rom for Galaxy note,oficial1...
In attachment pitcure you can see all....Pls helppp...
voja89 said:
Phone does not go into deep sleep and for a few hours drains the battery ....
How can I solve this .. It is a German rom for Galaxy note,oficial1...
In attachment pitcure you can see all....Pls helppp...
Click to expand...
Click to collapse
I had this issue too.
If (and only if) you're rooted and know how to use it... try setCPU. Recommended settings and ondemand + set on boot.. gonna try this for a few days and post the results
Sent from my GT-N7000 using xda premium
I had that problem initially and I *think* it was related to having WiFi enabled even while the phone was supposed to be asleep. Have a look at this thread for a few ideas which may (or may not) help....
http://forum.xda-developers.com/showthread.php?t=1649041
Sorr to double my post, but...
So, I found the problem.
This is kernel wakelock, wlan_rx_wake.
Many people also suffered from this problem on Nexus.
The issue directly related to Dynamic IP/DHCP on your network. Due to kernel fault, wi-fi module can'to go into deep sleep, and therefore drains the battery. Not much, but about 2-3% per hour.
Goddamn Samsung devs.
So
This whorked for mee....
Try the instructions below, fixed my deep sleep problem(thanks to Mister Jozo)
0.go to settings > sound and turn off touch sounds and screen lock sounds
These steps stop the kernel wakelock 100% problem:
1.turn on aeroplane mode
2.turn off device
3.take out battery for 10 seconds
4.turn on device
5.wait for everything to load
6.turn off aeroplane mode
voja89 said:
This whorked for mee....
Try the instructions below, fixed my deep sleep problem(thanks to Mister Jozo)
0.go to settings > sound and turn off touch sounds and screen lock sounds
These steps stop the kernel wakelock 100% problem:
1.turn on aeroplane mode
2.turn off device
3.take out battery for 10 seconds
4.turn on device
5.wait for everything to load
6.turn off aeroplane mode
Click to expand...
Click to collapse
Not for me. Those are steps for fixing audio_output wakelock, not wi-fi.
ahalford said:
Not for me. Those are steps for fixing audio_output wakelock, not wi-fi.
Click to expand...
Click to collapse
Hmmm i dont have any kernel wakelock, deep sleep works how it should. Maybe you have installed any app which gives that wakelock
EdgaBimbam said:
Hmmm i dont have any kernel wakelock, deep sleep works how it should. Maybe you have installed any app which gives that wakelock
Click to expand...
Click to collapse
I don't know...very same set of apps, as it was on lp5 and lp6 repacks, and there the battery life was significantly better, than now. There is deep sleep, just in "kernel-wakelock" I'm seeing this wi-fi issue. And it not happens on mobile network.
This whorked for mee....
Try the instructions below, fixed my deep sleep problem(thanks to Mister Jozo)
0.go to settings > sound and turn off touch sounds and screen lock sounds
These steps stop the kernel wakelock 100% problem:
1.turn on aeroplane mode
2.turn off device
3.take out battery for 10 seconds
4.turn on device
5.wait for everything to load
6.turn off aeroplane mode
I dont know what was the problem from start but this worked for mee....Picture is the evidence....
voja89 said:
This whorked for mee....
Try the instructions below, fixed my deep sleep problem(thanks to Mister Jozo)
0.go to settings > sound and turn off touch sounds and screen lock sounds
These steps stop the kernel wakelock 100% problem:
1.turn on aeroplane mode
2.turn off device
3.take out battery for 10 seconds
4.turn on device
5.wait for everything to load
6.turn off aeroplane mode
I dont know what was the problem from start but this worked for mee....Picture is the evidence....
Click to expand...
Click to collapse
that worked perfectly for me!!! Many thanks!!!
Left my WiFi and Latitude/Maps running and apps and FB updating over night..
100% charge.
7 hours 38Min 85% remaining
Running odex stock rooted German LPY ROM. Flashed from mobile Odin Pro with injected SU and everrott and ALL wipes checked.
By some standards this may be poor. I am extremely happy with these results given I run everything all the time. I usually am charging every night. I decided to leave it off charge last night to see if I had excessive drain.
eybee1970 said:
that worked perfectly for me!!! Many thanks!!!
Click to expand...
Click to collapse
Just to understand - were you on cf-root kernel or stock kernel, rooted in another way?
ahalford said:
Just to understand - were you on cf-root kernel or stock kernel, rooted in another way?
Click to expand...
Click to collapse
I was and I am on cf-root.
Ok...I solved this problem another way
ahalford said:
Ok...I solved this problem another way
Click to expand...
Click to collapse
Care to share?
Already did it HERE, post #73
the solution posted by OP worked for me thanks!!
I seem to have a problem with the calendar storage... whatever that means. Restarting, taking battery out etc. didn't help. And the problem is that the phone is getting hot too. Any suggestions please?
Sent from my GT-N7000 using XDA
I seem to have a problem with the alarm amanger not letting mine go into deep sleep.
3545 wakelocks over a 2 hour period!!!
I have 2 daily alarms set in the stock clock.
Surely this shouldn't be preventing the phone from sleeping?
Or is it related to some other app?
Well one of the things i've noticed is that while charging my phone never goes to deep sleep, it remains on 200mHz. If i take it off the charger it will go to deep sleep.
I've read about a similar problem with the original samsung car holder /charger. As it seems while charging in landscape mode and receiving a call gives a problem. Without the charger all seems to be fine.
In my opinion i think it's rom related (wow, did figure it out myself) but i think it's also related with the usb port. Try it and you will see....
Hope this helps someone.
becosemsaida

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/Issue] Deep sleep with wlan on?

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.

Categories

Resources