I have a Galaxy S2 running 4.0.4 IMM76D.XWLPT, baseband I9100XXLQ6 with Siyah kernel [email protected] SMP PREEMPT.
This phone was originally running with stock kernel, but I was having a lot of Sleeps of Death (SOD) and the only way to avoid those was to let the S2 eat its battery at standard rate, which for me meant I would run out of battery in 10 hours standby or so (with auto-sync turned on). Clearly, that wasn't acceptable, but neither were all the SODs, so I installed Siyah to see if that would help.
I imagined at first SODs were fewer, but I'm not sure. I used it with the Siyah kernel (setup as above) for a couple of months and lately it started to misbehave. Any attempt to use Juice Defender or Green Power would generate SODs so I tried using Tasker instead. More and more applications would freeze -- Onavo Extend, Swype, even the launcher. I lived with it because I knew that putting a new ROM on would involve a bit of time spent on reinstalling everything and re-entering settings etc.
However, as of yesterday, suddenly the phone is unusable. It is OK at startup, but after about three minutes it locks up almost completely. All I can do then is turn it off. Looking at the task monitor, I noticed that the lock-up is because there is 0 RAM free. If I look at the RAM from boot, it starts off OK, then it gradually goes down from ~250MB free to zero. At that point the phone is pretty unresponsive.
I haven't installed any new apps lately. I did receive updates to some the day before yesterday (can't remember which ones).
I am now deciding what to do:
1. Try to identify the offending app and uninstall it (in the short window I have after boot).
2. Do a factory reset.
3. Install a new ROM.
Then, today, I took the SIM out of the S2 and put it in a mobile I had lying around because I needed a working phone. I booted the S2 to check the kernel number etc. and what do you know - the memory problem isn't there! With no SIM in the phone, it free RAM stays at ~250.
Questions:
a) What is the best way to diagnose which is the offending app? Is there a way of seeing used RAM and sort by it (on my "Running" tab, there is no sort option, and on the "All" tab, where you can sort by size, it doesn't seem to be used RAM that you see)?
b) What should I deduce from the fact that the problem only happens with the SIM installed?
c) [million $ question] has anyone found a SOD-proof ROM/kernel combination that gives decent battery life?
Much obliged.
LeifGR said:
I have a Galaxy S2 running 4.0.4 IMM76D.XWLPT, baseband I9100XXLQ6 with Siyah kernel [email protected] SMP PREEMPT.
This phone was originally running with stock kernel, but I was having a lot of Sleeps of Death (SOD) and the only way to avoid those was to let the S2 eat its battery at standard rate, which for me meant I would run out of battery in 10 hours standby or so (with auto-sync turned on). Clearly, that wasn't acceptable, but neither were all the SODs, so I installed Siyah to see if that would help.
I imagined at first SODs were fewer, but I'm not sure. I used it with the Siyah kernel (setup as above) for a couple of months and lately it started to misbehave. Any attempt to use Juice Defender or Green Power would generate SODs so I tried using Tasker instead. More and more applications would freeze -- Onavo Extend, Swype, even the launcher. I lived with it because I knew that putting a new ROM on would involve a bit of time spent on reinstalling everything and re-entering settings etc.
However, as of yesterday, suddenly the phone is unusable. It is OK at startup, but after about three minutes it locks up almost completely. All I can do then is turn it off. Looking at the task monitor, I noticed that the lock-up is because there is 0 RAM free. If I look at the RAM from boot, it starts off OK, then it gradually goes down from ~250MB free to zero. At that point the phone is pretty unresponsive.
I haven't installed any new apps lately. I did receive updates to some the day before yesterday (can't remember which ones).
I am now deciding what to do:
1. Try to identify the offending app and uninstall it (in the short window I have after boot).
2. Do a factory reset.
3. Install a new ROM.
Then, today, I took the SIM out of the S2 and put it in a mobile I had lying around because I needed a working phone. I booted the S2 to check the kernel number etc. and what do you know - the memory problem isn't there! With no SIM in the phone, it free RAM stays at ~250.
Questions:
a) What is the best way to diagnose which is the offending app? Is there a way of seeing used RAM and sort by it (on my "Running" tab, there is no sort option, and on the "All" tab, where you can sort by size, it doesn't seem to be used RAM that you see)?
b) What should I deduce from the fact that the problem only happens with the SIM installed?
c) [million $ question] has anyone found a SOD-proof ROM/kernel combination that gives decent battery life?
Much obliged.
Click to expand...
Click to collapse
1) uninstall 'Juice defender' first.
2) dwnld and install 'GSAM Battery monitor' app from stores and see which app is causing the memory issue for u.
3) Remove that rogue app, put back ur Sim and then see
Thanks Sun90.
Sun90 said:
1) uninstall 'Juice defender' first.
Click to expand...
Click to collapse
I should have been more clear: In my hunt for good battery life without SODs, I first tried JD, then Green Power, then Tasker. At the moment I have neither JD nor GP installed.
2) dwnld and install 'GSAM Battery monitor' app from stores and see which app is causing the memory issue for u.
3) Remove that rogue app, put back ur Sim and then see
Click to expand...
Click to collapse
I'll try that tomorrow or Wednesday, thanks!
Sun90 said:
2) dwnld and install 'GSAM Battery monitor' app from stores and see which app is causing the memory issue for u.
Click to expand...
Click to collapse
OK, so I installed the free version of GSAM. I can't see an option for tracking RAM though. Am I missing something? I see options to review battery use, CPU minutes, network data, sensor time, awake time, # wakes and GPS time.
Do I need to purchase GSAM Pro to get the RAM monitor ability?
Heisenberg uncertainty principle
OK, I installed System Tuner and used it to look at processes sorted in order of most RAM used. Wouldn't you know it -- now I didn't get the problem with zero RAM, even with the SIM in...
I don't yet know whether this was a fluke, whether somehow I had a problem that went away after taking the SIM out and putting it back in a couple of times, or whether I am subject to Heisenberg's uncertainty prinicple -- I will only get the problem when I am not monitoring it...:laugh:
I'll post back here in a couple of days. I still want to get my battery life sorted so I may try first a reset, wiping cache and dalvik and then possibly a new ROM.
Related
hallo,
i installed different kinds of android (SD version) on my HTC HD2, lastly i decided to use the MccM HD V6 SD SENSE FROYO and im very happy with that.
but ive got a problem: when im using flight mode while sleeping (usually 6-8hours), the battery loses 40-45% charge.
here is the situation:
- when im turning the device off and on again before using flight mode (means boot to wm6.5 artemis and then launching android, activating sim card and then setting device to flight mode) it tages 3-5% of charge during the night.
- when i do NOT reset the device, just enter flight mode after using the phone the whole day (facebook, google maps, ...) then the battery loses 40-45% charge as said before.
so the problem might be an application, which - once it is startet - always tries to connect when im flight mode. i startet using zdbox with autokill on lock, later also autokill system programs - no sucess.
lately i tried batteriefu, but this only stopped my data traffic/connection right now.
i have no idea, what to do against that. a friend told me, its not necessary to use taskkillers at all in android - whats your opinion?
maybe the SD android is a problem? (when programs use the SD card during night, it drains the battery?)
thnx in advance
markus
ps: sorry newbie, first thread in this board - when im doing wrong, just tell me - it was not on purpose.
Battery drain
wHY NOT JUST SWITCH THE PHONE OFF AT NIGHT????. Am I missing something??
Good luck
- galarm? (alarm use)
- and it takes time to go to wm6.5 and then launch android?
John, your shift key is stuck..
I can't help you directly, but SpareParts has a log feature that will tell you which applications cause the device to not enter sleep mode correctly (wake-lock), using that you should be able to locate the program causing the issue.
ok, spareparts was one of the things i uninstalled
spareparts or spareparts+?
thnx!
Normal spareparts should be able to do it (at least the one that came with my CM7 does)
ok, installed it, checkt the logs, loading battery and testing this night
interesting, last 2 nights there was a batteryloss of only 3-4%.
no idea why...
I've heard of roms / kernels taking a couple days to settle before some of the kinks go away, so it might be something of that sort. Otherwise I would assume your phone should be saving power if it's not connecting to networks as frequently
VVarboss said:
I've heard of roms / kernels taking a couple days to settle before some of the kinks go away, so it might be something of that sort. Otherwise I would assume your phone should be saving power if it's not connecting to networks as frequently
Click to expand...
Click to collapse
Y'know, I thought it was just me thinking this but I have noticed better performance once RevolutionROM has been in for 2 days or so.
I know there is politics for posting on a old thread but I saw this thread on Google while trying to see if this happened to anyone else.
I would like to report that right before bed I had 22%. My Samsung Skyrocket will eat right through 22% overnight if the cell radio is on. So without rebooting I turned on airplane mode (so I would have an alarm in the morning.) I woke up and my battery was at 28% I couldn't believe it. I will try to re-create this again. This was from 2am to 7am. In my battery details graph it even shows a little "hill" noting the increase.
I did hit the Task Killer button from my ES Task Manager widget right before airplane mode to make sure Facebook and Email were closed.
Any Input?
Have you tried betterbatterystats? I had high drain with new rom and seems to have been Audiout_2 which was started by the keyboard click. It was on by default in the ROM. Its off now and all is OK. Seems once it starts it must be continuously polling.
Sent from my HD2 using the power of Jelly Bean
Something strange happened to my phone. One night I installed an app that can turn the phone into sleep mode instead of pressing the button at the uppermost right of it. I still have around 70+% battery by that time. The next morning, I was surprised that my battery is already out. I charge it but was stuck at the cyanogen logo. I removed the battery and tried to open it, this time the animation boot happened twice before finishing. I removed the app but noticed that my battery begun draining much faster than before. Just letting it on idle state will reduce it to 40% in 9 hours. The bootup problem is also present every time I boot the phone - it will get stuck at first at the logo,remove the battery, turn it on again where the animation will happen twice before the phone become usable.
Checking the phone usage, mobile standby and phone idle have the largest usage. I read some threads mentioning something about wakelock or something that prevent the phone from going to sleep. Checking the Spare parts battery history, only two things are present - Running (100%) and Screeon on (5.1%).
Any help or tips to know the real problem? Thanks
sinscythex said:
Something strange happened to my phone. One night I installed an app that can turn the phone into sleep mode instead of pressing the button at the uppermost right of it. I still have around 70+% battery by that time. The next morning, I was surprised that my battery is already out. I charge it but was stuck at the cyanogen logo. I removed the battery and tried to open it, this time the animation boot happened twice before finishing. I removed the app but noticed that my battery begun draining much faster than before. Just letting it on idle state will reduce it to 40% in 9 hours. The bootup problem is also present every time I boot the phone - it will get stuck at first at the logo,remove the battery, turn it on again where the animation will happen twice before the phone become usable.
Checking the phone usage, mobile standby and phone idle have the largest usage. I read some threads mentioning something about wakelock or something that prevent the phone from going to sleep. Checking the Spare parts battery history, only two things are present - Running (100%) and Screeon on (5.1%).
Any help or tips to know the real problem? Thanks
Click to expand...
Click to collapse
this will happen when install every crappy tweak **** - i'm not understand why users have to install extra apps for buttons
to help you something:
wipe your system, not the data - only if it doesnt work after wiping the caches.
than try to boot ... if its doesnt nrmal booting, reinstall the rom and do a full wipe. sometimes apps installing libraries in system.
^
I was thinking of reducing the usage of the hard button so I used it. Will resintallation of the ROM afefct my partition? I have a nandbackup before this problem happened, but I still do not have the partition by that time.
And how do you do it by the way? Just flash again the ROM? Thanks
Edit: Wiping the cache seemed to help. It doesn't stuck at the logo, but the animation still happens twice instead of once. Gonna observe the battery usage. Thanks.
100% running, that means your phone is not in sleep, but only with LCD off. Grab betterbatterystats([email protected]) and check your wakelocks.
Sent from my LG-P500 using XDA App
Based on the betterbatterystats, the gpslocationprovider is the culprit. But my gps apps are off and are not running any services. Any idea how can I stop it?
sinscythex said:
Based on the betterbatterystats, the gpslocationprovider is the culprit. But my gps apps are off and are not running any services. Any idea how can I stop it?
Click to expand...
Click to collapse
Off GPS ,on only when needed
Sent from my LG-P500 using XDA App
I copid a gpa.conf somehere in this forum. I replaced it with the originial and I'm currently observing whether it will return to normal. My gps apps are off, and both wireless and gps sattelites are disabled on my location & security tabs.
I'm planning on doing a restore to at least remove the boot up problem. But my last nandbackup was still before I partitioned my sd card and flashed dark tremor, and configre a2sdgui. If I do the nandrestore, do I have to disable or remove dark tremor and a2sdgui, or remove the partition of my card? Thanks
sinscythex said:
I copid a gpa.conf somehere in this forum. I replaced it with the originial and I'm currently observing whether it will return to normal. My gps apps are off, and both wireless and gps sattelites are disabled on my location & security tabs.
I'm planning on doing a restore to at least remove the boot up problem. But my last nandbackup was still before I partitioned my sd card and flashed dark tremor, and configre a2sdgui. If I do the nandrestore, do I have to disable or remove dark tremor and a2sdgui, or remove the partition of my card? Thanks
Click to expand...
Click to collapse
I has the same gps wakelock even disabling GPS- reboot and the thing is gone
I changed it, but my phone still doesn't sleep. Although this time, the gpslocationprovider is no longer shown with the betterbatterystats. It just states that my phone is awake for around 47 minutes but my screen is just on for around 4 minutes. I've already rebooted several times and wipe the cache but its still like this. Still trying to find other ways.
Hi, just updated to 2.3.3 stock rom, no flash, using the standard LG upgrade software, from v10q (I believe) to v20g.
I installed no new apps, didn't change a thing on my phone, but now my battery drains in 12h of no use, screen off.
Battery information says the phone never goes to sleep anymore, the blue bar is continuous.
I've tried shutting down running apps using both the phone's built in app manager and Advanced Task Killer, doesn't change a thing.
Searching the forums, I've found people with battery drain, but never the same issue or solution so I'm hoping someone might know something more on my specific situation.
Here's how I use my phone and what apps I generally have running:
Audio Manager Console and Advanced Task Killer are always running, I keep data off most of the time, and turn it on when I use it occasionally (usually no more than a few minutes at a time), no wi-fi, most of the phone usage comes from Think Free Office (at least since I upgraded 2 days ago) and a few minutes of calls. Brightness is always on min.
This is mostly how I generally use my phone all the time (throw in a couple of hours a day of Bluetooth music using the default music player, but this hasn't been the case since the update) and I used to recharge every 2-3 days. Now it's 2 times a day.
Before the upgrade my phone would barely burn any battery in idle (maybe 1-2% during the 12 hours, as opposed to 94% as it currently does)
Battery health seems fine, temperature is around 20-25C
What can I do?
cable36wu said:
Hi, just updated to 2.3.3 stock rom, no flash, using the standard LG upgrade software, from v10q (I believe) to v20g.
I installed no new apps, didn't change a thing on my phone, but now my battery drains in 12h of no use, screen off.
Battery information says the phone never goes to sleep anymore, the blue bar is continuous.
I've tried shutting down running apps using both the phone's built in app manager and Advanced Task Killer, doesn't change a thing.
Searching the forums, I've found people with battery drain, but never the same issue or solution so I'm hoping someone might know something more on my specific situation.
Here's how I use my phone and what apps I generally have running:
Audio Manager Console and Advanced Task Killer are always running, I keep data off most of the time, and turn it on when I use it occasionally (usually no more than a few minutes at a time), no wi-fi, most of the phone usage comes from Think Free Office (at least since I upgraded 2 days ago) and a few minutes of calls. Brightness is always on min.
This is mostly how I generally use my phone all the time (throw in a couple of hours a day of Bluetooth music using the default music player, but this hasn't been the case since the update) and I used to recharge every 2-3 days. Now it's 2 times a day.
Before the upgrade my phone would barely burn any battery in idle (maybe 1-2% during the 12 hours, as opposed to 94% as it currently does)
Battery health seems fine, temperature is around 20-25C
What can I do?
Click to expand...
Click to collapse
Use apn on off widget to kill ur connection when u don't nees it...its a known issue known as the fastdormancy bug, which when u turn off data it makes ye phone awake. Apn on off is the easiest solution know...
Sent from my LG-P500 using XDA App
Thanks, will try, update results
**my mistake, can someone move this to the AT&T forum?**
Hi there, I have this problem; my AT&T GS4 does not use the deep sleep state. I have made some research, and from what I understood, this problem has to be a result of any program that keeps triggering the phone to get awake.
So, I have the phone unlocked, rooted and ALL the sensors off, expect from gsm signal. With titanium back I have uninstalled the programs that I´ll never gonna use (mostly AT&T bloadware) and frozen the ones that I don’t want to use right know, but maybe by deleting them I would get into a problem (like S-Voice) or just because some day I would like to give them a try. Finally, there are the programs that I would like to keep, but I don’t want to let them make any cpu use while I am not using them. I used an application called Greenyfi, a good example of why this program is the best for the last propose, is the use of programs like google maps, in where I do want to use it, but, just when I open the app. Also, I used the app “Autostarts” to prevent applications to start after some events (like startup, state change, etc..)
With all that been said, I am steel not getting deep sleep, in any situation. I´am not saying that my battery life is bad, I think I can get easily 4-5 screen time use. But, by not getting into deep sleep, the phone is allways using the cpu at 384mhz, so the battery goes down in a range of 1.5 to 2 % per hour (10 hours of no use and 20% less battery).
SO, for you to see the problem better. I did a little experiment. Restart the phone, put it into flight mode and let it “sleep” for the night, the results are attached.
PD: Whatsapp isn’t the problem; I can froze it and still 0% deep sleep.
did you ever solve this.. my t mobile s4 is not going into deep sleep staying at 384mhz
Had this problem a while ago. Ran Greenify and froze things with TiBu but the phone didn't go into deep sleep. I ended up flashing back to stock then re rooted. Problem solved.
same here. reset didn't work.. flashing back to stock didn't work, flashing stock and then a reset worked.. and reinstalled everything and still going into deep sleep now.. now sure what it was, but something in system was ffd up.
Hello forum,
background info:
I have a rare Pansonic Android 5.0.2 phone (DMC-CM1) with an excellent camera, what is the reason why I want to keep this device.
There are NO custom roms available and no info about key combinations on how to get into stock recovery mode. I can go there with adb of course.
I found a key combination to get into fastboot, but Wiping cache/data to reset the device apparently did nothing, even if wating for hours. It seems as well as if Panasonic tampered with the stock bootloader :/ This is why I had to send it to service (adb was not enabled before).
They reflashed the device with 4.4.4 and I installed the updates to 5.0.2 OTA. Everything seemed fine until...
present problem:
...now I have a strange battery drain. Bevor I sent it it, I had about 2-3 days usage time with average usage, a little messageing, a few fotos. I do not use the phone much.
Now I get a maximum of around 16-20 hours out of it while it is just resting on the table. It also gets warm.
what have I done so far:
- I rooted the device and installed better battery stats from the forum here. It shows around 8-10% usage per hour. Before the problem showed, I had 1-2% usage.
- I uninstalled EVERY own installed app and even booted into safe mode -> same problem
- I disabled all google app packages -> same problem, but improved it a little
When I check the battery via android settings, it is telling me that "android-system" is using >20% of the battery. In active apps I can see this app is running the fast dormancy service. When I kill this service and force the complete app to stop, it gets _a little_ better, around 5-6% usage.
I recently killed forced stop on all services that where not qualcom or seemed essential to me and disables wifi and bluetooth and over night usage dropped to <1%/h, which seemed the problem could lie somewhere with services.
However using adb shell and pulling "top" info, I dont see a process using much CPU.
What else have I noticed, which might be unrelated:
-After charging I see a 100% wakelock from qpnp-charger, that disappears only after rebooting. Might indicate that something with qualcom is "wrong".
-I set wifi to be _never_ be running in sleep mode. Better battery stats is telling me, that wifi is 100% of the time running, even if I can see the symbol for wifi is not showing and comes up a few seconds after I wake the phone
You can see, I might need help on how to identify the problem here.
Any hints, tips, advice?
Please excuse my "messy" english, it is not my native language.
regards
Stefan