Battery: UpTime = AwakeTime - Droid Incredible General

So, I've noticed for a few days that my uptime equals my awaketime. So, my phone is not sleeping properly (poor Incredible!).
I uninstalled ALL my apps and my phone still won't sleep. Don't use a Task Killer - only Task Panel with one app on auto kill but Task Panel has never made my phone not sleep before - even after uninstalling it I've continued to have the problem. Autosync off, GPS off, wifi off.
It must be an internal thing.
I have SkyRaider 2.5 (came from 2.2 yesterday), stock kernel, 2.15 radio. My phone has slept before with SkyRaider and no other users of SkyRaider report their battery not sleeping.
Can anyone help me pin-point the cause of this? I would be very appreciative.
Edit: only thing I could find is that Spare Parts and my BatteryLeft said UID 10018 was taking 100% of my Partial-wake time. I searched for UID 10018 but can't find anything
Edit:. Found this on a webpage
I/ActivityManager(*1540):*Start*proc*com.android.alarmclock*for*broadcast*com.android.alarmclock/.AlarmInitReceiver:*pid=1656*uid=10018*gids={}

In Settings -> Sync and Accounts. Make sure that things aren't continuosly syncing. I was having that problem with Facebook sync and Gmail. (Always had the Sync icon in the notification bar)

I'm on skyraider 2.5.2 and facebook 1.3.2
I *was* seeing the same thing. I looked at services and saw that a Facebook service was running. I closed and let my phone sleep for 15 seconds. Now my awake time is less than up time.
** shakes fist @ Facebook service **
Sent from my ADR6300 using XDA App

Auto sync is not continuous, even when I disable it completely my battery still drains.
Facebook services aren't the problem.
Sent from my ADR6300 using XDA App

What does it say in Setting -> About -> Battery -> Battery Use?
Sent from my ADR6300 using XDA App

Android sys 39%
Cell standby 18%
Wifi 18%
Display 14%
Phone idle 11%
Also, spare parts battery usage says Running is 100%
Sent from my ADR6300 using XDA App

Sorry I was at work the whole day. Could you download "Android Terminal Emulator" from the market. Open it and type, "top -n 1 > /mnt/sdcard/top.txt" then ENTER. This creates a top.txt file on your sdcards root directory. Could you post the output of that here?
You said UID (User identifier)... you sure you don't mean PID (Processor identifier)?

For the record, I'm learning here as well. Just trying a few things that might help.

In Fairnees to Batteries
I have been beating my Incredible to death with updates and changes over the past few days. No wonder Battery Life has bee miserable.
I just bought the Incredible from Craig's List for a very cheap price, previous owner loaded a ROM and lost all external communications, Communicationly(sp) bricked...
Thanks to this forum I was able to un-brick the phone in about 1 hour, since then neither Incredible or I have had much down time.
I think I will wait until the newness wears off and determine how battery life will really be under normal usage.

anekdotos said:
Sorry I was at work the whole day. Could you download "Android Terminal Emulator" from the market. Open it and type, "top -n 1 > /mnt/sdcard/top.txt" then ENTER. This creates a top.txt file on your sdcards root directory. Could you post the output of that here?
You said UID (User identifier)... you sure you don't mean PID (Processor identifier)?
Click to expand...
Click to collapse
Sorry. I just did a complete wipe and reinstalled sky raider and all my APPS and my phone sleeps now. Nor sure what the problem was.
Sent from my ADR6300 using XDA App

For me personally, I had issues with my device staying awake 100% and the problem was Flickr. Once I removed the account, everything went back to normal.
I suppose we are lucky to have enough sense to use apps like Spare Parts to check on these things, but I pity the Android phone user who has no knowledge of these things and end up with a phone that dies after 4 hours.

I had this problem as well and spent days trying to figure out the cause. For me, it was a clock widget I was using. Apparently, it continued to update the clock time every second, even when my phone was locked, stopping it from going to sleep.
For me it was the LED Clock widget. I actually ended up rewriting the widget myself so I could use something like it but still let my phone sleep. I think I noticed the same issue with the Digital Clock Widget, but I'm not entirely sure.
Might not be your problem, but it was the last thing I thought of and the culprit.

Related

Anyone else with awake time issues?

Just recently (yesterday), I've noticed that I've been getting about 50% awake time without even touching my phone. I'm not quite sure what should be the root of this, but it is murder on my battery.
-------------------------------------
Sent via the XDA Tapatalk App
TheBiles said:
Just recently (yesterday), I've noticed that I've been getting about 50% awake time without even touching my phone. I'm not quite sure what should be the root of this, but it is murder on my battery.
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
From the Home Screen click on the Menu > Settings > Applications > Running Services
See what is currently running when you are not doing anything with the phone. One huge offender of power I found was an app called SportsTap. It would constantly run in the background even with notifications turned off and drain me dry.
Any idea what HTC DM is? I don't seem to have any out-of-place apps running, and I have a task killing widget (Auto Task Killer, but it isn't set to auto-kill). I just use that on boot and every once in a while.
-------------------------------------
Sent via the XDA Tapatalk App
mine is at 1%
TheBiles said:
Just recently (yesterday), I've noticed that I've been getting about 50% awake time without even touching my phone. I'm not quite sure what should be the root of this, but it is murder on my battery.
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
Mine has been 50% for a while, and battery life has been around 8-10hrs. But all of a sudden right now it's only 1/8th not sure what I changed. I'm gonna see how the battery life ends up now.
I don't have any awake time issues.
I dont use any task killer.
Damn it. Today my awake time is at almost 79%. I can actually feel the phone getting warm. I don't have any processes running that seem out if place. Everything seemed to be working fine late last night, but now it is worse than ever.
-------------------------------------
Sent via the XDA Tapatalk App
Go to the market and downlaod Spare Parts. Within that app you v=can check specifically under "partial wake" and it will tell you your awake time and what exactly is causing it.
Ok, my Spare Parts stats:
Partial wake usage is led by Calender followed by Android System.
Network usage is led by some "0" process followed by "UID 10006." Both of these processes FAR surpass any of the others. Also, thier usage is almost exclusively "blue" (I'm assuming this is while asleep).
TheBiles said:
Ok, my Spare Parts stats:
Partial wake usage is led by Calender followed by Android System.
Network usage is led by some "0" process followed by "UID 10006." Both of these processes FAR surpass any of the others. Also, thier usage is almost exclusively "blue" (I'm assuming this is while asleep).
Click to expand...
Click to collapse
i have the same issue including the one with HTC DM everytime i kill that process i notice my 3g connection stops...this is very annoying
Are any of you running the following apps:
Engadget
Sports Tap
Stock Messaging App
I ask because I've had issues of battery drain with all 3. The stock messaging app was/is a well known battery killer. I simply enter into the settings screen, turn everything off and download and use Handcent. Much more full featured and works flawlessly.
Regarding Sports Tap, it also runs constantly in the background and sucks battery as I believe the Engadget app does as well. These are only my findings and YMMV.
misticjeff said:
Are any of you running the following apps:
Engadget
Sports Tap
Stock Messaging App
I ask because I've had issues of battery drain with all 3. The stock messaging app was/is a well known battery killer. I simply enter into the settings screen, turn everything off and download and use Handcent. Much more full featured and works flawlessly.
Regarding Sports Tap, it also runs constantly in the background and sucks battery as I believe the Engadget app does as well. These are only my findings and YMMV.
Click to expand...
Click to collapse
I have Engadget, and I've used it since it came out. I will installed it the day I got my EVO and didn't have my issues til recently. It doesn't show up as ever running in the task killer, but I will try deleting it, though.

The only thing that helped my batterydrain

I installed Spare Parts and saw that my phone was never sleeping, even though it was on standby all the time.
This was caused by the location by antenna feature.
Ever since i unchecked that feature i've had around 50-60 hours of uptime, with a few calls and a lot of texts.
hope this helps alot others
With the new firmware the problem of battery dissapears completely
There is a known issue with network location detection in android 1.6. I had the same issue with my galaxy and it was solved. Now that we have root, we can hopefully do the same.
Also, br aware that I have found spare parts to actually stop the phone from sleeping, as well as tapatalk. I suggest rebooting after using either program.
-------------------------------------
Sent via the XDA Tapatalk App
adrianoftyriel said:
There is a known issue with network location detection in android 1.6. I had the same issue with my galaxy and it was solved. Now that we have root, we can hopefully do the same.
Also, br aware that I have found spare parts to actually stop the phone from sleeping, as well as tapatalk. I suggest rebooting after using either program.
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
Actually that issue is fixed in the latest update so it's already fixed without needing root.
Which firmware? I know I'm still experiencing it.
RBA020 solved the battery issues for me.
Where in spare parts does it show you if your phone has been sleeping?
you don't need spare parts. Just dial *#*#4636#*#* and click battery history and then the running bar.
Sent from my X10a using XDA App
Inebriatef said:
This was caused by the location by antenna feature.
Click to expand...
Click to collapse
I hope this means that under Location, you had Wireless Networks and Assisted GPS enabled.
One question tho... how did you isolate this feature as the one that was keeping the system awake?
I just found that my phone has been running most of the time, I see Running at 100% under Battery History. Then I select Partial Wake usage and see Android System has the largest share. But what part of Android System? how does one get to know?
I know from having a Samsung galaxy and being part of the androidforums community that was going nuts until Simone found a bug report with Google saying that network location was stopping devices from sleeping. We had root so a Dev applied a patch to services.odex and voila! Phones were napping again.
Sent from my X10a using XDA App
adrianoftyriel said:
I know from having a Samsung galaxy and being part of the androidforums community that was going nuts until Simone found a bug report with Google saying that network location was stopping devices from sleeping. We had root so a Dev applied a patch to services.odex and voila! Phones were napping again.
Sent from my X10a using XDA App
Click to expand...
Click to collapse
Hmm... time to give this a try... so is it just Wireless Network or also AGPS that causes this problem?
I hope I can still leave GPS turned on?
EDIT:
adrianoftyriel said:
Sent from my X10a using XDA App
Click to expand...
Click to collapse
Didn't know that there was an XDA App till I saw your sig. Looks like its worth a try since its free!!
Update after turning location off completely
Well first run with all location methods disabled (I can still enable GPS quickly via a widget when I need to use it)... the battery performance is up phenomenally!!
I charged fully before going to bed last night, then kept the phone unplugged... woke up and found the battery was at 97%. This has never happened to me.
Ok, one thing tho, I use Juice Defender with night time schedule, so my wifi and 3G were off during most of the night. Anyways, its been around 3 hours since I woke up, and I've been using the phone on and off to do some browsing.
The battery is now at 93%.
I do not use any other aid other than Juice Defender... no task killers, no startup editors. Will update on how the rest of the day progresses.
EDIT: my thanks to Inebriatef and adrianoftyriel for pointing this out.
j4mm3r said:
I hope this means that under Location, you had Wireless Networks and Assisted GPS enabled.
One question tho... how did you isolate this feature as the one that was keeping the system awake?
I just found that my phone has been running most of the time, I see Running at 100% under Battery History. Then I select Partial Wake usage and see Android System has the largest share. But what part of Android System? how does one get to know?
Click to expand...
Click to collapse
I too would like to hear a bit more. Could the OP please elaborate?
I'm running the latest FW and although my battery life increased exponentially, I find that it's not going to sleep anymore! I had close to 50 hours battery life and now I repeat everything to get just under 20 hours.
I don't use task killers and crap anymore, just before I put my phone away. If I don't, I have a trillion programs running with like 40mb of RAM free. Although I understand this is Linux based, these programs are RUNNING and not idle. All my **** is draining the battery again after a clean reinstall of everything. What a bummer.
bongd said:
I too would like to hear a bit more. Could the OP please elaborate?
I'm running the latest FW and although my battery life increased exponentially, I find that it's not going to sleep anymore! I had close to 50 hours battery life and now I repeat everything to get just under 20 hours.
I don't use task killers and crap anymore, just before I put my phone away. If I don't, I have a trillion programs running with like 40mb of RAM free. Although I understand this is Linux based, these programs are RUNNING and not idle. All my **** is draining the battery again after a clean reinstall of everything. What a bummer.
Click to expand...
Click to collapse
@bongd, by latest FW, do you mean the R2BA020? If yes, then you shouldn't be affected by the problem being reported here. I'm still on R1FB001, which apparently has this Android 1.6 bug related to location.
As in my case, simply by disabling location settings (even though this reports that network location is the culprit, I disabled them all), the phone is now able to suspend itself and basically consume very little battery in standby.
Personally, I dont see any issue with lot of applications running and having little RAM left because I trust the Android system to manage it efficiently. Furthermore, the RAM on these phones is not as fast as what you would see typically on desktop systems, so it actually helps having things around in memory rather than aggressively cleaning it out. Checkout this link to understand a bit more about Android task management features: http://android-developers.blogspot.com/2010/04/multitasking-android-way.html
I suggest you use Spare Parts to isolate your battery drain, there might be some app that is misbehaving and hogging systems resources. Also turning off very frequent updates/refresh intervals in some applications is the way forward.
I found through trial and error that fancy widgets keeps my phone from sleeping.sad cause I really want to use it.
Sent from my X10a using XDA App
j4mm3r said:
@bongd, by latest FW, do you mean the R2BA020? If yes, then you shouldn't be affected by the problem being reported here. I'm still on R1FB001, which apparently has this Android 1.6 bug related to location.
As in my case, simply by disabling location settings (even though this reports that network location is the culprit, I disabled them all), the phone is now able to suspend itself and basically consume very little battery in standby.
Personally, I dont see any issue with lot of applications running and having little RAM left because I trust the Android system to manage it efficiently. Furthermore, the RAM on these phones is not as fast as what you would see typically on desktop systems, so it actually helps having things around in memory rather than aggressively cleaning it out. Checkout this link to understand a bit more about Android task management features: http://android-developers.blogspot.com/2010/04/multitasking-android-way.html
I suggest you use Spare Parts to isolate your battery drain, there might be some app that is misbehaving and hogging systems resources. Also turning off very frequent updates/refresh intervals in some applications is the way forward.
Click to expand...
Click to collapse
Thanks, j4mm3r. I am using R2BA020. It looks like I have some diagnostic troubleshooting to do when I get home.
Sitting here at work charging my phone, it isn't loading craploads of programs anymore. And it seems to be sleeping okay. I'll play around when I have some free time.
Fixed my problem big time
Hey guys,
I just wanted to throw my two cents into the pot.
OK – so after experimenting with Task Killers, Task Managers, Spare Parts, Juice Defender, etc. I came to the conclusion that they (for the most part) did more bad than good. It was getting to the point that I was just starting to accept that “The X10 just has ****ty battery life” end of story.
I also read in a Google released post on the web, that there are a number of reasons that Task Killers, etc. are actually not required to end tasks. Android actually has a fairly intelligent and systematic approach to killing tasks that are not being used. I haven’t used any sort of proprietary battery saver, task ender, startup cleaner, etc. and I’ve been having the best phone performance since I got the headset.
The time now (Eastern Standard) is 3:30pm on Monday. The last time I charged my phone was Saturday evening at 6pm, and currently I am showing 24% battery remaining. Let those numbers do the talking!
My settings are:
Wi-Fi always off unless I am going to be actively using it (browsing)
Using Phone info, I change WCDMA Preferred to GSM Only (enables 2g instead of 3g without disabling data altogether)
GPS always off
Screen settings, brightness, etc. I believe have a much smaller effect than people tend to believe. The SINGLE BIGGEST factors for me, and noticing this huge increase in battery life are:
Settings -> About Phone -> Software Update -> UNCHECK Automatic Search (this constantly searches the market, etc. for app updates and what not)
Cycle power immediately after charging. Once my phone completes its charge, I turn off and then on again.
I hope that some people can enjoy moderately extended battery life as I have. I am SO ecstatic to be at HOUR 43 and still at 20%+
Worth mentioning also that I am on Rogers (Canada) and have not received any updates, so this extended battery life is not a result of a firmware update.
How I Fixed My Batter Life Problem
My Incredible would run dead in about 4 hrs doing nothing. I finally dug into several "task killer" programs and found that about 20 - 30 apps were invisibily running in the background constantly. As soon as I permanently killed them, my battery life went to normal. I can now get about 2 days of normal use on 1 charge. Even a day of pretty heavy use will last almost all day.
So for me, it was all the new apps I installed when I first got the phone that were running in the background. The free "task killer" program was not showing them. I finally found the app called "System Panel." It was the ONLY app that would show me all the "invisible" apps that were still running invisibly in the background and let me kill them. Once I killed them with System Panel, they stayed dead and the free "task killer" program could auto-kill them from them on.
Not sure why the free programs could not see the rogue apps, but my battery life is GREAT now.
Inebriatef said:
I installed Spare Parts and saw that my phone was never sleeping, even though it was on standby all the time.
This was caused by the location by antenna feature.
Ever since i unchecked that feature i've had around 50-60 hours of uptime, with a few calls and a lot of texts.
hope this helps alot others
Click to expand...
Click to collapse
What do you mean caused by the location of the antenna feature?
Where is this option to uncheck this feature.
Thanks dear.
Vatis
I'm running R2BA023 and I am struggling to get a full day from the phone at the moment. It normally lasts around 12 hours and then its flat.
However, I ran the Telenor R2BA020 update and I manage to get a full day with ease.
I have just done a clean install of R2BA023 Generic UK "root" edtion and going to see how I get on. What I did notice before is that the phone was not returning to a idle state.

Any Battery power saving tips?

So as the thread name states does anybody have any tips for helping have the WildFire's batterey last longer?
So far ive turned the screen brigtness down by half of what it was & turned off touch vibration.
Any other tips?
ATOJAR said:
So as the thread name states does anybody have any tips for helping have the WildFire's batterey last longer?
So far ive turned the screen brigtness down by half of what it was & turned off touch vibration.
Any other tips?
Click to expand...
Click to collapse
I have not tried many things but one thing i am pretty sure of is go to MARKET >>>> Download and use Advanced Task Killer .. kill the running apps.. i leave my installed keyboard..and mobile security app ON rest most of them i kill... its a useful app.. i mean why to keep music app or weather app or news app or messaging app running when u are not using them..
Have Fun
warriorvibhu said:
I have not tried many things but one thing i am pretty sure of is go to MARKET >>>> Download and use Advanced Task Killer .. kill the running apps.. i leave my installed keyboard..and mobile security app on rest most of them i kill... its a useful app.. i mean why to keep music app or weather app or news app or messaging app running when u are not using them..
Have Fun
Click to expand...
Click to collapse
Yeah ive been using the Advanced Task Killer for a while now already.
I have read that usage of ATK is not required at all because of Androids near perfect RAM Management. And you also could come into trouble because android looses a small amount of ram capacity every time you use ATK untill the next reboot.
other than that you could try Juice Plotter and Juice Defender
find a app can auto turn on/off fly mode.
I ve tried Juicy defender, it seems not fit wildfire very well, some function not working. like auto fly mode, and auto turn off wifi when over 50M.
(btw,it will change your apn setting,cause me can not connect after uninstall it.)
after 1 month, I found navigation app take me 80% of battery.like google map/navi.
rasenzhang said:
find a app can auto turn on/off fly mode.
I ve tried Juicy defender, it seems not fit wildfire very well, some function not working. like auto fly mode, and auto turn off wifi when over 50M.
(btw,it will change your apn setting,cause me can not connect after uninstall it.)
after 1 month, I found navigation app take me 80% of battery.like google map/navi.
Click to expand...
Click to collapse
use the automatic brigtness option under the phone settings. much better batterty performance
Read:
http://forum.xda-developers.com/showthread.php?t=712990
http://forum.xda-developers.com/showthread.php?t=701567
Not sure if these steps actually improve the efficency of the battery OR wheter the S/W behind the battery guage becomes more accurate as it goes through a process that alows it to better estimate the SOC of the battery.
Andy
Yup, even I have read a lot that Android manages the apps in a beautiful way. When I first used Android, the first question that came to my mind was how to exit apps as none of the apps had an exit button. Coming from nokia, sony erricson etc this was an obvious question to ask. Then after some research I found that Android just freezes the apps when we go back. The app is not actually running in the back end.
But anyway, yesterday my battery again went to 8% and on checking the used status, it showed that the android system used 92% of the battery lol.
One more thing I would like to suggest is that there is a Power control widget built in the wildfire. Its pretty useful to decrease the brightness, turn off gps, wifi etc from the home screen itself.
sumeetchawla said:
One more thing I would like to suggest is that there is a Power control widget built in the wildfire. Its pretty useful to decrease the brightness, turn off gps, wifi etc from the home screen itself.
Click to expand...
Click to collapse
Thanks for this!
I installed this widget and it said that GPS was on even though it wasn't appearing in the tool bar along the top. I had run several apps that use GPS, but had assumed if the GPS icon was gone, GPS was off.
Is that wrong?
(good news if it is, as I was struggling to keep enough power to in my phone to get through the day without charging)
joan
Avoid task killers like the plague. They cause more problems than they solve. Trust the android os to manage ram.
Just discovered the most powerful app I have ever seen called "Tasker". It its only £4, but will make your android so much more diverse. You can, for example, have it go into airplane mode between certain times (i have between midnight and 6am) but periodically check for sms or voice mail every hour. It saves stacks of battery.
I have it turning wifi on only when it knows I'm at home or at work.
I have it turning off wifi, dropping screen brightness down, and playing a louder notification when battery gets to 15%.
It silences my phone when I get within 100m of the two cinemas I use.
It is not the most easy app to use, be patient with it. Look up some of the "recipes" on the internet to get a good tutorial on how to work it. £4 is a steal for something so potentially vast. Its limited only by your imagination.
Oh and having run Tasker for 24 hours, (how long my battery normally lasts) only contributes to a 2% drain, and its adding roughly 6 to 8 hours extra! It would cost you ten times that for an extended battery!
I use an free app called timeriffic to auto disable WiFi
Sent from my HTC Wildfire using XDA App
Try program JuiceDefender....you can download free from Android market.
my battery life is really awful too,i noticed it a couple days ago,that it drains to fast,so i started looking into it,and i found out,that my device won't go too sleep. so in settings/about phone/battery the awake time and up time are the same. i had similar problems on my hero, but there it was the messaging apps fault.
here, i kill everything with advanced task killer,it still can't go too sleep,android battery use shows,that android system is using most of the battery.
anybody else with similar problem?solutions? i have stock 1.25 rom rooted with unrevoked.
What? You mean your screen is permanently on? .....
Ive head bad things about using task killers too, I dont use on anymore.
Some things i have done that have helped my battery like quit alot actually is turn off Wi-Fi, Turm off GPS, Turned off haptic feedback(vibration when pressing buttons), Screen brightness to automatic & screen timeout too 15 seconds.
I can now have a really good fiddle with the phone and it can last more than a day without needing a charge.
As I understand when screen goes auto shut off, all apps are idle, even WiFi or gps is on. I tried with music on continuously for 2 hrs in flight mode, I still have about 80% power. With gps on for 1 hr continuous, I still have about 80%. With normal use my power can last the whole day.
Sent from my HTC Wildfire using XDA App
ATOJAR said:
What? You mean your screen is permanently on? .....
Click to expand...
Click to collapse
no,the screen turns off,but something still runs in the background what eats the battery,and I can't find out what it is. I tried multiple task managers,and they show that everything is closed.i have it in flight mode,with everything turned off,still something runs,what shouldn't.
Did you solve this? It's happening on my phone now, and it's very frustrating.
(just installed ATK - very scary the apps I never use are running) and killed everything except ATK. Touch the power switch to turn off the screen. 15 minutes later, up time and awake time are still the same.
jefmcg said:
Did you solve this? It's happening on my phone now, and it's very frustrating.
(just installed ATK - very scary the apps I never use are running) and killed everything except ATK. Touch the power switch to turn off the screen. 15 minutes later, up time and awake time are still the same.
Click to expand...
Click to collapse
2 updates from me, to help anyone else with similar problems:
1) I uninstalled any recently installed or updated apps** and widgets now I have a 1:6 ratio of awake time. So, fixed?
2) In the meantime I logged a call to HTC via their website. Answer:
With regards to your problem, if the battery is going down significantly and you have turned of applications when your not using them and used task killer. It might be better to call us up so we cann look into it further and we might have to book the phone in for repair especially if you have noticed it not charging properly or overheating at any time.
Click to expand...
Click to collapse
.
Yup, those problems started occurring at the same time as the other, so it looks like I have an underlying hardware fault. Dammit! I don't want to be without my phone for 2 weeks.
joan
**including CardioTrainer! When I reinstalled it I'd lost around 900km of workout history.
Just out of curiosity
What gain of time are we actually talking about here ?
I tried lots of different things but never suceeded to receive more than two full days.
What is your max. with all the different programs and hints ?
ebioman said:
Just out of curiosity
What gain of time are we actually talking about here ?
I tried lots of different things but never suceeded to receive more than two full days.
What is your max. with all the different programs and hints ?
Click to expand...
Click to collapse
If you are asking me, the answer is "about 6 hours".
I've (partially) fixed my uptime = awaketime problem. But I obviously have some more serious battery issue.
Hopefully someone else can chime in with happy battery life.
joan

CM7.0.3.1 Wakelock?

Hi All,
Running CM7.0.3.1 with Savaged-Zen 2.1.0 BFS kernel. Also using v1 of viperboy's undervolting at -100. There was a time I had stellar battery life (back on an early CM7 nightly and a way earlier version of SZ kernel), but for the life of me I cannot get back to that point. I've been checking spare parts and it is showing k9 and palmary weather with some partial wakelock but it doesn't look too severe from what I can tell, or maybe I'm reading it wrong.
Anyway, here's a view of my battery history. Does all that awake time seem odd? I'm kind of at a loss here for what is going on and how to fix it.
Thanks!
cody_dingo said:
Hi All,
Running CM7.0.3.1 with Savaged-Zen 2.1.0 BFS kernel. Also using v1 of viperboy's undervolting at -100. There was a time I had stellar battery life (back on an early CM7 nightly and a way earlier version of SZ kernel), but for the life of me I cannot get back to that point. I've been checking spare parts and it is showing k9 and palmary weather with some partial wakelock but it doesn't look too severe from what I can tell, or maybe I'm reading it wrong.
Anyway, here's a view of my battery history. Does all that awake time seem odd? I'm kind of at a loss here for what is going on and how to fix it.
Thanks!
Click to expand...
Click to collapse
this question should be address in the cyanogen sub-forum. there are literally people there with the same setup as you that can better help you.
I wasn't aware there was a sub-forum dedicated to CM ?
There is a CyanogenMod forum thread in the development forum and one for the nightlys in the general forum.
Sent from my PC36100 using XDA App
Rem3Dy said:
There is a CyanogenMod forum thread in the development forum and one for the nightlys in the general forum.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Right, I just didn't know that there was an actual subforum. I did know there were threads.
Thanks!!
That doesn't look like a wake lock to me. Your history shows your phone being asleep most of the time. I would guess that that is an app or apps that are using too much data or cpu time. Use spare parts to check app usage, partial wake lock, ect. Make sure you don't have facebook, twitter, ect set to update every 5 mins.
nukedukem said:
That doesn't look like a wake lock to me. Your history shows your phone being asleep most of the time. I would guess that that is an app or apps that are using too much data or cpu time. Use spare parts to check app usage, partial wake lock, ect. Make sure you don't have facebook, twitter, ect set to update every 5 mins.
Click to expand...
Click to collapse
What criteria have to be met for the phone to actually sleep? Does it sleep immediately when the screen is off? The only apps that auto update are palmary weather (2 hours) and k9 email which gets imap push.
The way I understand it, an app can request a wake lock which prevents the phone from sleeping. This can be normal for certain functions, however sometimes the app won't release the wake lock and that's when the battery drains constantly even with the screen off. Spare parts will tell you everything you need to know to find the battery drain.
nukedukem said:
The way I understand it, an app can request a wake lock which prevents the phone from sleeping. This can be normal for certain functions, however sometimes the app won't release the wake lock and that's when the battery drains constantly even with the screen off. Spare parts will tell you everything you need to know to find the battery drain.
Click to expand...
Click to collapse
Thank you, that is very helpful. Here's where I am now:
On battery 2h16m and I'm at 91%.
On spare parts under partial wake usage:
Android System - 38m23s
k-9 mail - 10m1s
Those are the two highest. The other entries are negligible.
CPU Usage:
k-9 - user time - 24s
Everything else is way under 24s
So you think K-9 is a big contender here? How about whatever android system has going on?
How much of that 2 hours have you had the screen on and doing stuff? Android system has been on for almost half of the time since you unplugged. That sounds high. I would do a full wipe and reflash the ROM or try a CFS build of savagezen. A reboot usually stops the battery drain if you catch it.
nukedukem said:
How much of that 2 hours have you had the screen on and doing stuff? Android system has been on for almost half of the time since you unplugged. That sounds high. I would do a full wipe and reflash the ROM or try a CFS build of savagezen. A reboot usually stops the battery drain if you catch it.
Click to expand...
Click to collapse
Hardly any. Been just letting it sit with the screen off, letting it discharge.
Thank you again for your help!
Yeah you've a problem with android service. I would first try another kernel maybe CFS this time. If that doesn't help I would completely wipe everything and flash again. If you use titanium to restore your apps, only restore the purchased apps, not the system apps and data.
nukedukem said:
That doesn't look like a wake lock to me. Your history shows your phone being asleep most of the time. I would guess that that is an app or apps that are using too much data or cpu time. Use spare parts to check app usage, partial wake lock, ect. Make sure you don't have facebook, twitter, ect set to update every 5 mins.
Click to expand...
Click to collapse
nukedukem said:
Yeah you've a problem with android service. I would first try another kernel maybe CFS this time. If that doesn't help I would completely wipe everything and flash again. If you use titanium to restore your apps, only restore the purchased apps, not the system apps and data.
Click to expand...
Click to collapse
Woke up today with about the same rate of battery drain. This time, it didn't look like an android system problem at all, so know knows?! So frustrating.
I still may do a complete wipe though.
You're not alone..My battery sucks and I even bought 2 new batterys and its all the same..I just carry an extra around with me..I got tired of monitoring everything.

[FIX] Battery drain from Awake bar constantly on

First and foremost, this will only apply to you if you have seen the following symptom:
You go to Settings -> About phone -> Battery usage -> click on the graph above and see "Awake" as a solid bar instead of (mostly) lining up with the "Screen on" spotted bar below. Here's my previous thread of when I discovered this issue when my "Awake" bar showed solid for an entire 8 hours when my "Screen on" would show frequent off/on's:
http://forum.xda-developers.com/showpost.php?p=13938317&postcount=772
I found my SGSII was getting decent battery life, but idle was certainly worse than my SGSI. I couldn't figure it out for the life of me what could be causing it given I was running the exact same apps as my SGSI 2.2.1 handset, but the solid Awake bar did not sit well with me.
Observations:
1) After 8+ hours of solid Awake, I would have no apps running under Settings -> Applications -> Running services except for those that I normally would expect in the background... Settings, NoLED, Google Voice, Swype, etc.
2) I noticed that under this "Running services" screen, if you hit Menu and select "Show cached processes," there are actually other cached processes that are in a semi-dormant state. Are they running or are they not? Hmmm....
3) After a system restart, the Awake and Screen on would line up once again.
Suspicion/Hypothesis:
Some app that I normally have running... even if I completely exit out of, it would sit under cached processes and somehow still keep the device awake.
Testing:
First, wanted to see which app when normally running would keep the phone "Awake." After a few days of testing, isolated it down to eBuddy, which is a chat client I used to have running nonstop on my Froyo SGS. So, after several hours of running eBuddy and seeing a solid Awake bar, I exited out of eBuddy properly (Menu -> Exit), ensured it was no longer running under Running services, and tested it for another 4 hours. Sure enough, with the device mostly idle and eBuddy shutdown, the Awake remained solid/on!
So, I then revisited Settings -> Applications -> Running services -> Menu -> Show cached processes, I saw eBuddy was still cached and taking up memory. So, I clicked on the process and chose Force stop. Afterwards, I let the device idle for a few hours more, and the Awake and Screen on lined up once again.
Conclusion:
I'm not sure if this is a Gingerbread bug or eBuddy bug or a combination thereof, but something changed in the code from Froyo to Gingerbread. Probably has to do with this caching feature, but there ARE apps out there that will keep your device constantly on even if you do properly exit out of them.
Solution:
I used to run "Advanced Task Killer" on my SGS with Froyo but never bothered with Gingerbread because people much smarter than me on here have said time and time again "it's not necessary for Gingerbread, you're wasting time/battery life." Well, that still may be true, but given there are these rogue apps that will cause Gingerbread to stay constantly awake, Advanced Task Killer is the best solution at this time.
(It may not be pretty, but hey, it works.)
So, I installed Advanced Task Killer, did a fresh boot, put all the system apps and other apps I don't want ever shut down (Email, Swype, Settings, etc) on the ignore list, turned the kill setting to every hour, and let it sit. I can say for the past 2 days, my idle battery life has improved significantly. Normally by the end of my work day, I'd be skimming along around 40-50%. (Keep in mind, I use the phone primarily for business, which means 2 push E-mails, 2 pull E-mails, constant text messaging, and lots of phone calls.) The last two days, I have been easily at 70-80% by the end of the day. For instance, right now at 4PM CST, I am still at 82% remaining battery.
Also, keep in mind, I have just about EVERYTHING else I don't need frozen/uninstalled through Titanium backup. This includes but not limited to WIFI Sharing, all the hubs, all the readers, all the SNS junk, AP News, Accuweather, etc.
And the most telling bit that the fix is working: My Screen on and Awake line up perfectly with no more solid bar for Awake. And, this is even after running eBuddy last night.
I know this won't help everyone, but hopefully, it will be of use for some of you. Good luck!
If you're managing to kill apps that keep the phone awake, does it prevent you from receiving messages on eBuddy when the screen is off?
dinan said:
If you're managing to kill apps that keep the phone awake, does it prevent you from receiving messages on eBuddy when the screen is off?
Click to expand...
Click to collapse
Interesting question. I had Advanced Task Killer running all last night, and I woke up to messages in eBuddy in the morning. So, my immediate answer to you would be "no," but this will probably take more testing.
Maybe, I'll set ATK to an aggressive 15 minute kill, and have someone message me after 15 minutes of idling with eBuddy running...
I have noticed that with eBuddy actively running, you cannot select it under ATK and kill it. You must exit out of eBuddy properly (Menu -> Exit) for its active process to shut down. Little did I know though... it would still float around in your "Cached processes" afterwards and keep your device Awake!
Well I've been using ATK since this morning and I can't find any change in Android OS ..
It's still high..
Anyway ATK reports that all the games I downloaded from gameshub are active..
And even if it kills them, they appear again in like 10 minutes.. It's really wierd
TMaLuST said:
Well I've been using ATK since this morning and I can't find any change in Android OS ..
It's still high..
Anyway ATK reports that all the games I downloaded from gameshub are active..
And even if it kills them, they appear again in like 10 minutes.. It's really wierd
Click to expand...
Click to collapse
I don't use game hub, but I do have a bunch of games on my device, including the larger Gameloft games. And, I can say for a fact that I do not have any of them ever running in the background.
Something else is keeping them alive, and has nothing to do with ATK. ATK will only help to kill cached processes, but if something is launching them again, that's what you need to look into stopping.
Well.. I do not like tools like the Advanced Task manager.. BUT looking at battery drainage it seems to do wonders!
8 hours of light usage (display 45 mins) --> 75% battery left
3g on (with JuiceDefender à 30 mins) + sync (so I receive whatsapp messages & mail etc)
Listened to music / radio for about 1-1.5 hours
Android OS is sadly still at 36%, Display at 22%
But this I can live with !
Thanks!
[edit]
It would obv. be nicer to be at 80+% without that Android bug... Ah, and I did delete / freeze all that Samsung crap with Titanium, didnt really help much! I can also recommend getting CPU spy to see how much your phone actually is in the sleep mode (around 80% for me!)
Breece said:
Well.. I do not like tools like the Advanced Task manager.. BUT looking at battery drainage it seems to do wonders!
8 hours of light usage (display 45 mins) --> 75% battery left
3g on (with JuiceDefender à 30 mins) + sync (so I receive whatsapp messages & mail etc)
Listened to music / radio for about 1-1.5 hours
Android OS is sadly still at 36%, Display at 22%
But this I can live with !
Thanks!
[edit]
It would obv. be nicer to be at 80+% without that Android bug... Ah, and I did delete / freeze all that Samsung crap with Titanium, didnt really help much! I can also recommend getting CPU spy to see how much your phone actually is in the sleep mode (around 80% for me!)
Click to expand...
Click to collapse
Yeah, I wouldn't run ATK unless I absolutely have to. Like I said in my first post, it is a "brute force" method of ensuring apps are completely closed out and there are no rogue cached processes keeping your device awake. Since I've installed it, the "solid Awake bar" phenomena is completely resolved... and in return, I get much better battery life.
And yes, this is of course on top of freezing just about everything Samsung and anything else I don't need or care to use.
Couldnt agree more!
One questions, what is your "Android OS" % at?
Breece said:
Couldnt agree more!
One questions, what is your "Android OS" % at?
Click to expand...
Click to collapse
8%... Display is at 62%, LOL.
Interesting ^^ Oh well.. my battery life should improve but if it stays like this I am fine with it...
Oh Hope ?
Nah, i will try it
cmd512 said:
....
Solution:
I used to run "Advanced Task Killer" on my SGS with Froyo but never bothered with Gingerbread because people much smarter than me on here have said time and time again "it's not necessary for Gingerbread, you're wasting time/battery life." Well, that still may be true, but given there are these rogue apps that will cause Gingerbread to stay constantly awake, Advanced Task Killer is the best solution at this time.
(It may not be pretty, but hey, it works.)
So, I installed Advanced Task Killer, did a fresh boot, put all the system apps and other apps I don't want ever shut down (Email, Swype, Settings, etc) on the ignore list, turned the kill setting to every hour, and let it sit. I can say for the past 2 days, my idle battery life has improved significantly. Normally by the end of my work day, I'd be skimming along around 40-50%. (Keep in mind, I use the phone primarily for business, which means 2 push E-mails, 2 pull E-mails, constant text messaging, and lots of phone calls.) The last two days, I have been easily at 70-80% by the end of the day. For instance, right now at 4PM CST, I am still at 82% remaining battery.
Also, keep in mind, I have just about EVERYTHING else I don't need frozen/uninstalled through Titanium backup. This includes but not limited to WIFI Sharing, all the hubs, all the readers, all the SNS junk, AP News, Accuweather, etc.
And the most telling bit that the fix is working: My Screen on and Awake line up perfectly with no more solid bar for Awake. And, this is even after running eBuddy last night.
I know this won't help everyone, but hopefully, it will be of use for some of you. Good luck!
Click to expand...
Click to collapse
WORKED FOR ME AS WELL< EXCELLENT!!!
Task killer is a must
Uninstalling/freezing rogue Samsung apps is a must
ONLY THE COMBINATION WORKS and it works well indeed.
Mmm bizarre! I was waiting for the hordes of people telling you that 'task killers' are unnecessary and stupid.
Thank you very much for your findings.
On my SG2 The android System process is eating almost all my battery! any solution for that?
rdy2go said:
WORKED FOR ME AS WELL< EXCELLENT!!!
Task killer is a must
Uninstalling/freezing rogue Samsung apps is a must
ONLY THE COMBINATION WORKS and it works well indeed.
Click to expand...
Click to collapse
cigaro78 said:
Mmm bizarre! I was waiting for the hordes of people telling you that 'task killers' are unnecessary and stupid.
Thank you very much for your findings.
Click to expand...
Click to collapse
Glad to hear it's working for you guys. With Advanced Task Killer running in the background, I haven't had the "solid Awake bar" reappear again... my Awake bar is always segmented and match up fairly well with my Screen on bar.
Idle battery life is very much acceptable now and definitely no worse than my SGS.
I've always enjoyed your posting and i'm glad you didn't just jump on the bandwagon like everyone else. This is definitely the type of posting we need where everyone work together to solve/identify the issues at hand.
ph00ny said:
I've always enjoyed your posting and i'm glad you didn't just jump on the bandwagon like everyone else. This is definitely the type of posting we need where everyone work together to solve/identify the issues at hand.
Click to expand...
Click to collapse
Appreciate the kind words. Like I said in my first post, many people much smarter than me/in-tune with Android have said it's unnecessary. But, you're right... there are way too many "DO THESE STEPS AND IT WILL FIX EVERYTHING" posts on here with 0 to little evidence to back up the claims. In the end, nothing beats thorough testing and proven results.
I for one hope 2.3.4 resolves this bug... ultimately, I'd like to not have to run ATK altogether. But for now, this is a solution that works.
cmd512 said:
Appreciate the kind words. Like I said in my first post, many people much smarter than me/in-tune with Android have said it's unnecessary. But, you're right... there are way too many "DO THESE STEPS AND IT WILL FIX EVERYTHING" posts on here with 0 to little evidence to back up the claims. In the end, nothing beats thorough testing and proven results.
I for one hope 2.3.4 resolves this bug... ultimately, I'd like to not have to run ATK altogether. But for now, this is a solution that works.
Click to expand...
Click to collapse
It works with Freezing/Uninstallin Samsung "bad apps" (WiFi Sharing, Social Hub, etc.). I suggest you emphasize that more in your initial post.
ATK itself helps but ATK is always late (30 minutes or one hour).
That's what I recommend to freeze/uninstall without crippling core functionality:
1 WiFi Sharing and WifiManager
2 Samsung apps (Social Hub, Days, Yahoo Finance, AP News, Games Hub, Readers Hub, Music Hub, AccuWeather)
3 Voice Command Uninstalled using Titanium
It's based on my testing using OS Monitor / ATK - those apps tend to wake up phone for no reason even when you don't use them.
Now it's 24 hours with 4 hours of screen on, no Juice Defender etc.
It works better than SGS (one) despite huge screen and excellent speed.
rdy2go said:
It works with Freezing/Uninstallin Samsung "bad apps" (WiFi Sharing, Social Hub, etc.). I suggest you emphasize that more in your initial post.
ATK itself helps but ATK is always late (30 minutes or one hour).
That's what I recommend to freeze/uninstall without crippling core functionality:
1 WiFi Sharing and WifiManager
2 Samsung apps (Social Hub, Days, Yahoo Finance, AP News, Games Hub, Readers Hub, Music Hub, AccuWeather)
3 Voice Command Uninstalled using Titanium
It's based on my testing using OS Monitor / ATK - those apps tend to wake up phone for no reason even when you don't use them.
Now it's 24 hours with 4 hours of screen on, no Juice Defender etc.
It works better than SGS (one) despite huge screen and excellent speed.
Click to expand...
Click to collapse
Well, freezing and ATK are needed to reach 2 separate goals:
1) Freezing: Needed to completely disable apps you plan on NEVER using.
2) ATK: Needed to completely close out apps you DO use when they stay cached/rogue in the background and keep your device awake.
So I do agree with you, freezing is absolutely necessary, but it really is the bare minimum. You still need ATK on top of that to actively seek out and kill battery draining apps.
I can confirm, OP solution works great on me. Thanks..

Categories

Resources