[Q] Facebook Wakelock causing battery drain - EVO 4G Q&A, Help & Troubleshooting

I noticed my battery draining quickly now and again, instead of its usual 1% per hour, so someone recommended that I install BetterBatteryStats. After installing it and seeing the problem again, I checked out the Wakelocks, and noticed that Facebook was running for 2.5 hours which corresponds to when my better really started to take a dive. Now every time I see a battery start to dive off, I look at the Wakelocks and it's always Facebook. In the meantime after I use facebook I just use Advanced Task Killer and it seems to fix it, but is there any other way to ensure that FB doesn't chew up my battery all the time? (yet another reason to stick with G+)
I'm running Cyanogenmod 7.031 with Savaged Zen 2.21 kernel on an HTC Evo.
Thanks

Related

Phone never sleeps. Awake Time = Up Time

Is there any way to stop this? Is there any way to find out what can be causing this? My battery life is pretty ****ty, and I only now found out that my phone should sleep at some point. It shouldn't stay awake for 40 hours.
I think I've fixed it. I installed AdvancedTaskKiller and set it to kill Calendar every time I shut off my screen. Calendar was my leading wakelock problem with 99%.
I also shut off the Calendar agenda widget and cut back on the auto-syncing. I'll keep adding these things back until I hit the problem again (If I ever do, with the Calendar on auto-kill)
Are you running the stock rom? There are a ton of battery tips, just use the search. However a lot of the roms have all the tips/settings built in by default to save you the trouble.
I am using Fresh 0.3 and I get over a 24 hours of battery with light-moderate usage.
http://forum.xda-developers.com/showthread.php?p=6898043&postcount=994
My Calendar has been killing my battery recently too...I don't know what's going on. I'm running Fresh .2 (haven't gotten the chance to complete part 2 of root yet).

[Q] HTC Desire with OpenDesire 3.6.1 battery issue?

Hi all,
I was reading on this forum, and also read the thread in which the battery lifetime of OpenDesire and DeFrost are 'compared' in a poll. In this thread there are really differing experiences with the battery lifetime of both of them.
Reading this thread I can only conclude that the ROM itself is not the issue, but some app or setting is eating my battery. When I turn the phone in fly-mode before going to bed (battery full) I wake up next morning, and there's only about 60% - 65% capacity left...
When I take a look at the battery statistics I see that 60% is used for standby, 30% for the OS, and the rest is for other stuff. I did kill all applications before going to bed, and I've a task manager which is on 'safe autokill' every hour...
How can I find what's eating my battery?
First of all, stop using that task killer to auto kill - at least for the duration of your investigations! It will do you no good if you are trying to work out what is causing your problem. Similarly, if you are using any battery "savers" or monitors (e.g. JuiceDefender, SetCPU etc), deactivate them all.
Secondly, take a look at the partial wake usage on the phone to see if anything is keeping the phone from sleeping. You can find this via Spare Parts, or by entering *#*#4636#*#* in the dialer - then select Battery History and from the first drop down select "Partial wake usage".
Thirdly, if you've had no success finding out what is causing your battery drain, I suggest that you make a Nandroid backup before you put the phone on charge, wipe it, put in in Airplane mode then leave it overnight in a vanilla state to see if this affects the battery consumption. If you are still getting excessive battery drain, I'd suggest reflashing a different ROM might be a good idea.
Regards,
Dave
wow... Thanks for your impressive reply! Not really used to such detailed replies on forums ;-)
Will try this, and post the results if I still have problems. Thanks!

[Q] battery drain

Background:
Got an incredible last august, rooted, tried many roms, loved CM. CM gave me the best battery life and the most functionality. Three weeks ago I crushed my incredible in a bike accident. I was fine, incredible and other items in pannier were not. Long story short, got a new incredible through insurance, rooted, jumped to CM 7 and was immediately confronted with what I would describe as unusable battery life. I wake at 5:30am having charged overnight. Battery reads 100%. By 9:30am I am already below 30% with light usuage. Let me describe light usage. Read an email or two when i wake up, send a few text messages, check the time every 45 mins to an hour.
kernal: incredikernal (smartass governor with multiple profiles)
display settings: carbon copy of those in a discussion on CM7 Automatic Backlight Settings
I have made two changes with this new phone:
(1) I am using both the gmail app and the built in email app to sync an exchange account as well instead of just gmail
(2) I installed google music app and have been uploading my music from my computer for approx 6 days now
The (2) was my first guess as to what is draining my battery but when I view battery use I see display trumps everything (usually around 65%).
I have been trying really hard to figure this out via google but searching has led me to something of an impasse. Most info points to display but I am hesitant to believe that my display settings are incorrect due to the number of users who claim these to work well.
Any help/ideas/advice is appreciated!
I am on my second dinc also. Luckily I haven't had any issues like this.
Suggestions :
1) cm has a builtin set cpu. Just pick a gov and min/max. Let the kernel do its thing.
2) chads beta11 kernel is the best I've tried. It has an Ingenious gov that works great.
3) vipermod. It's a zip that you flash in recovery. Use terminal emulator to lower voltage.
4) battery calibration app. It's free in the market.
Chads kernel and the vipermod are both found here on xda.
Good luck
Sent from my ADR6300 using Tapatalk
I will give these a try. I am pretty sure i have already given the battery calibration a go but manually instead of through an app. I assume the app is just doing rm /data/systems/batterystats.bin? I was running both setCpu under CM7 so i got rid of that am letting the kernal do its thing with min 128 max 844 and smartass gov. I am going to experiment with vipermod when i get out of work as I have not read much documentation on it and would like to read before flash stuff that messes with voltage. Thanks for the advice, i will let you know how it goes.
No problem. The vipermod thing you open in terminal. It's very cool and easy. Adjustable voltage on the fly. I'm undervolted -100 on chads beta 11 cm7 99 nightly. 8hrs of hard use. Smooth as butter. Can't remember exactly what the battery calibration wipes. It tells you in the app.
Sent from my ADR6300 using Tapatalk
Wanted to bump this to see if any fellow forum members have noticed increased battery drain after installing the Google music beta app? I'm having a hard time figuring out what's going on, I've tried different radios, kernels, etc, but to no avail. Haven't tried uninstalling the app yet (but I don't really want to, its pretty convenient). When I look at what is using the battery in the settings menu, I've noticed the music app is never displayed (same thing with Netflix) but it seems to be using a decent chunk of memory.
Wondering if this is the root of my battery problems, it does seem to have gotten worse ever since I got the music beta invite..
Noticing battery drain also. Ill monitor it and get back to you. (Nexus S).
to k_nivesout: i have been narrowing down the list of possible culprits since first posting this. In my case it seems to be either music beta by google, cell standby or a partial wakelock caused by maps. I turned off my location which caused a drastic increase in the battery life but still did not give me the life I had with my last incredible. Cell standby was showing significant battery use most likely do to my lack of signal in my office where i work this summer. On the weekends I notice slightly better battery life in my house where i have full reception. This being said, music beta by google is the only thing that has actually changed since my last incredible. I am contemplating uninstalling it....
k_nivesout said:
Wanted to bump this to see if any fellow forum members have noticed increased battery drain after installing the Google music beta app? I'm having a hard time figuring out what's going on, I've tried different radios, kernels, etc, but to no avail. Haven't tried uninstalling the app yet (but I don't really want to, its pretty convenient). When I look at what is using the battery in the settings menu, I've noticed the music app is never displayed (same thing with Netflix) but it seems to be using a decent chunk of memory.
Wondering if this is the root of my battery problems, it does seem to have gotten worse ever since I got the music beta invite..
Click to expand...
Click to collapse
That's a good observation! Well my phone is at 99% battery now, and I just uninstalled Music Beta. Will see if my battery life increased, because I too have seen an decrease in battery as of late.
Thanks for the replies everyone, I'm definitely curious to see if music beta is indeed what's causing the battery drain. I might have to uninstall it for a day or two and see if things improve. I'm assuming it would be easy to redownload and sync everything, I'd be interested in your guys' experience.
same terrible battery life on my D1 after installing the google music app....my library is also still uploading from my home computer, not sure if that makes a difference or not. one difference, however, is that in my battery stats, google music was at the top of the list. not sure why its not showing for you guys, but i uninstalled and everything seems back to normal now.
i will try re-installing it once my library uploads completely and see if that makes the difference....hopefully so!
Unfortunately I didn't really notice things get better even after my library was uploaded. Good info though, were you looking at battery usage from the settings menu?
With google music you could turn off auto sync. Especially when you are uploading from your computer.
Sent from my ADR6300 using XDA App
Here are my tweaks. Right now I'm at 7 Hours 46 Minutes with 66% Battery life. Couple hours of listening and downloading podcasts/audiobooks/music, some web browsing, app downloading and uninstalling.
Turn off Google Music Auto Sync
Turn off Google Book Sync
Check Weather Apps, stop any auto sync or location tracking
Turn softkey light off whenever possible (CM7 settings)
Screen time out 30 seconds (15 would be even better)
Juice Defender Ultimate (Controls Data/Syncing, huge difference for me)
No DSP Manager Tweaks
Remove any excess apps/ games
Ad Free Android (blocks ad downloads)
Incredikernal, ondemand governor
Turn off Bluetooth
Turn off GPS
I just got this phone a few days ago, and my battery life went from 60 to 30 in 20minutes while it was syncing for the first time. Its working much better now! I even considered extended batteries, but I don't think I'll need them anymore.
http://www.amazon.com/gp/product/B004WPCS18/ref=ox_sc_sfl_title_1?ie=UTF8&m=A3TL612O1BLQIV
and
http://www.amazon.com/QUALITY-Incre...d-Battery/dp/B004BGSFOC/ref=pd_ecc_rvi_cart_3
cruud said:
Turn off Google Music Auto Sync
Click to expand...
Click to collapse
I have the Vibrant and am seeing massive battery drain all of a sudden. I too have recently installed Google Music. Music upload from my PC is finished. Hasn't made any difference to the battery. I don't see any option to turn off Auto Sync in the Android app and in the settings. Where is this option?
Accounts and sync>Google account
Music sync will be in there.
k_nivesout said:
Accounts and sync>Google account
Music sync will be in there.
Click to expand...
Click to collapse
Oh! It was in the google account! I thought that was just for gmail and didn't look there. But it makes sense. Thanks!
Strangely, I don't see any battery drain today. I haven't been using my phone. I just wanted to monitor it (using Android Assistant) to see what app was using the most battery. Yesterday, without any use, the battery completely ran down. Today, it's down 13% since morning. And I have been gradually adding background processing, GPS etc.

[Q] Sleep Battery Life

Hey everybody,
Just made the jump from the iPhone 4S and have done the custom ROM/kernel thing the past week. Things were good at the start but I feel them slowly deteriorating.
I find my battery life during sleep has become much worse than before. I mean, it still kills the 4S which would see ~25% overnight. But I'm seeing 10% overnight right now, and was ~2% earlier in the week. I normally have my phone on the charger at night, but didn't last night and I'm kinda glad I got to see this. Makes me realize why I was likely chewing through more in the day too.
You can see what I'm running below in my signature. Last night I had 5 instances where the phone woke on its own. Likely due to emails coming in.
Am I expecting too much from my modifications? Am I doing something wrong? I'm ready to toss AOKP aside because of other issues anyway, but yesterday I also read it was known to have some excessive battery drain as well. Without turning this into a battle to defend the ROM you use (like half the threads in here), if you have other suggestions, feel free to throw in a ROM suggestion. I'll attach some pictures of my battery screen so anyone willing to give me a hand can help.
Thanks in advance.
I had this problem when I was running franco too. Switched to leankernel and never looked back. I get about 4-6% drain overnight as long as I dont do something stupid like leave something running by exiting with home instead of the back button. I also have wifi on 24/7 and gps off unless im nav'in. No BT
Screwedupsmitty said:
I had this problem when I was running franco too. Switched to leankernel and never looked back. I get about 4-6% drain overnight as long as I dont do something stupid like leave something running by exiting with home instead of the back button. I also have wifi on 24/7 and gps off unless im nav'in. No BT
Click to expand...
Click to collapse
I'm hesistant to blame the kernel. I was using franco prior to AOKP without issue. I didn't make that clear in the OP. I went 4.0.4 Stock -> Stock + franco -> AOKP b31 + franco. Things were good the first two steps and I'd like to think the first few days on AOKP.
Perhaps I have some background processes chewing battery - but there's nothing with a higher battery drain than Chrome beta with 2%. My phone idle and Cell standby had huge drain though. Could a weaker than normal signal cause this? Could my radio be the culprit?
Steps to best diagnose idle battery drain.
-Install CPU Spy and Better Battery Stats.
-Charge phone to full and let it run for several hours undisturbed (easiest to charge before bed, then unplug it when you know it won't be used till morning).
-Take quick note of your % loss per hour. Around 1%, you're golden. 1-2 is pretty normal. >3 and you've got issues.
-Launch CPU Spy. Most of the time should be deep sleep (we're talking about 95%). If your phone has been awake a lot, there's either an app that refuses to let your phone rest, or an OS/Kernel issue. If it's not extreme but noticeable, you likely just need to reign in settings on some apps to keep them from syncing so often or working in the background.
-Launch Better Battery Stats. Select Partial Wakelocks from the menu. These are all cases of apps waking the phone up, sorted by length. Go look at problem apps' settings/consider uninstalling if you don't need them. Kernel wakelocks should be low too.
Keep in mind that the goal here isn't really to get all these things to zero so do not obsess over small showings. Facebook with push notifications but updates set to never keeps my phone awake for about a minute or two every night, for instance. So does Handcent SMS. If you flash a rom and your phone needs to do a lot of syncing it's likely to show up in this kind of test as well. But for a night with nothing going on, nothing should be keeping your phone up for more than a few minutes total.
myrdog said:
I'm hesistant to blame the kernel. I was using franco prior to AOKP without issue. I didn't make that clear in the OP. I went 4.0.4 Stock -> Stock + franco -> AOKP b31 + franco. Things were good the first two steps and I'd like to think the first few days on AOKP.
Perhaps I have some background processes chewing battery - but there's nothing with a higher battery drain than Chrome beta with 2%. My phone idle and Cell standby had huge drain though. Could a weaker than normal signal cause this? Could my radio be the culprit?
Click to expand...
Click to collapse
Weaker than normal signal can kill a phone battery, when I'm in lecture out in the bumfuck nowhere school I go to, I get -100 to -120dbm, which kills my battery while i'm at school. If thats your situation not much to do besides hope radios may increase your signal, but if not then your basicly as SOL as i am and may have to just charge it
JoeSyr said:
Steps to best diagnose idle battery drain.
-Install CPU Spy and Better Battery Stats.
-Charge phone to full and let it run for several hours undisturbed (easiest to charge before bed, then unplug it when you know it won't be used till morning).
-Take quick note of your % loss per hour. Around 1%, you're golden. 1-2 is pretty normal. >3 and you've got issues.
-Launch CPU Spy. Most of the time should be deep sleep (we're talking about 95%). If your phone has been awake a lot, there's either an app that refuses to let your phone rest, or an OS/Kernel issue. If it's not extreme but noticeable, you likely just need to reign in settings on some apps to keep them from syncing so often or working in the background.
-Launch Better Battery Stats. Select Partial Wakelocks from the menu. These are all cases of apps waking the phone up, sorted by length. Go look at problem apps' settings/consider uninstalling if you don't need them. Kernel wakelocks should be low too.
Keep in mind that the goal here isn't really to get all these things to zero so do not obsess over small showings. Facebook with push notifications but updates set to never keeps my phone awake for about a minute or two every night, for instance. So does Handcent SMS. If you flash a rom and your phone needs to do a lot of syncing it's likely to show up in this kind of test as well. But for a night with nothing going on, nothing should be keeping your phone up for more than a few minutes total.
Click to expand...
Click to collapse
This is what every user should use to diagnose battery problems at first.

[Q] Battery issues

I've noticed recently that my battery seems to be draining quicker than usual, and I haven't been able to figure out why exactly. I know people here know a LOT more about this stuff than I do, so I figured I'd see if someone could help.
I use GSam Battery Monitor, and I took some screenshots of the top drainers to see if it would mean anything to someone who knew better. When the battery started dying quickly, I installed Greenify and added almost every application to it so they wouldn't drain constantly. These screenshots are after Greenify was installed.
I'm running CM 10.1.0-RC4, with no other modifications to my system. Thanks in advance for any help!
seems that kernel is on max speed most of the time
Happened to me on the one v but it usually goes back to normal after a while

Categories

Resources