Milestone is running hot and battery is drained in hours - Motorola Droid and Milestone Q&A, Help & Troublesh

I have a problem with my Milestone - it's getting incredibly hot and the battery is draining from completely charged to device shutting itself off in few hours.
I have installed the latest CyanogenMod 7.2.0 RC1 +gapps, wiped everything (data, caches, dalvik) and only logged in with a google account. There are no more apps installed, everything is in stock condition. Memory card is basically empty. I've tried everything - rebooting, wiping everything clean, yet the phone is still running incredibly hot. Even on stock CM7 without any apps installed, the phone is getting hot.
Attaching logcat dumps:
http://pastebin.com/7Qg5TPBL from yesterday (100% charge)
http://pastebin.com/8s4ut5wY from this morning (phone died during the night and I'm charging it) -- Wi-Fi and Data are turned off.
http://pastebin.com/7q11siSD from now - for few hours on idle the battery was down to 60%.
I would appreciate any help.
Thank you.

Switch to 2g or turn off data. Until I can see the log. Some app is persistent on using the Internet connection, I had that but I was really annoyed and uninstalled a lot of applications, and didn't quite know which is responsible but i suspect it was Facebook.
Sent from my Milestone using xda premium
update,
the logcat can't be seen, some html code instead, don't know if xda or your fault is

Hello.
The phone is in completely wiped condition - no apps are installed, only those that ship with kabaldan's CM7. Data is turned off, not quite sure about 3G.
I edited the OP with working links, it should be okay now.
Thank you for helping!

Another update - the phone does not enter Deep Sleep mode. Since the previous post, the phone has been 8 hours on 250MHz, 1 hour on 400MHz, 31 mins on 1GHz and 11 mins on Deep Sleep, according to CPU Spy. Could it be related?

Check Battery usage graph
Go to Settings -> About Phone -> Battery Use.
Check the battery graph. If you see a sharp drop somewhere, then it might be that your phone's battery is in disrepair. The original battery on my milestone drops from ~70% to 40% within a second and then again drops to 19% in a few hours. The spare battery that I have works well.

Normally when my phone was hot, it was because of the 3g or some app open in background, restart it and enable Airplane mode, if it still hot after a while with the screen off, them try another rom.
If it continues try installing the stock rom with an .sbf and try again.
If it continues, try finding another battery to try, some motorla phones like the dext have the same battery.
If it continues, I dont know, buy a new phone

Go into OR, fufu recommended, and hit fix permissions.
Sorry don't have much time to study your log. This is one of the problem I saw this morning at 5 30 in 10 minutes of reading, it has some permission problems among others or try a reflash (and wipe ext partition also ) .
Post another log after fix if you do this to see if are any changes.
I saw another one also but don't remember now, busy day.
Sent from my Milestone using xda premium

i2gh0st said:
Go into OR, fufu recommended, and hit fix permissions.
Sorry don't have much time to study your log. This is one of the problem I saw this morning at 5 30 in 10 minutes of reading, it has some permission problems among others or try a reflash (and wipe ext partition also ) .
Post another log after fix if you do this to see if are any changes.
I saw another one also but don't remember now, busy day.
Sent from my Milestone using xda premium
Click to expand...
Click to collapse
To be honest, I've never looked through a logcat log before, but I'm seeing a bunch of these in yours:
D/SntpClient( 2091): request time failed: java.net.UnknownHostException: europe.pool.ntp.org
I wonder if simply disabling the 'automatic' option in settings -> date and time would do the trick. That line would keep your data open, and your phone awake, especially with as often as it shows up in your logs.

Hi there. Thank you all for your replies.
For some reason, the issue is gone now, the phone successfully goes to deep sleep and the battery lasts ages again.
I don't know what fixed the issue - the only thing I did is to enable 'use only 2G networks', but it shouldn't make any difference - I disabled the data connection.
Which baseband is the default in Europe?
I can't find permissions fixer in FuFu's OR. Any alternative to that?

I would just use from manager to fix permissions
Sent from my A500 using XDA

jbeazell said:
I would just use from manager to fix permissions
Sent from my A500 using XDA
Click to expand...
Click to collapse
I believe that you are talking about ROM manager, but it auto corrected to from
Thank you anyway! It fixed a lot of wrong permissions.

Related

[Q] Read battery log after restart

I have an issue I'd like to debug, but I need some information to help myself:
I charge my SGS (JM1) in the evening, when it's 100% full I disconnect the charger and go to bed (23:30), phone switches to airplane mode at 24:00. When I get up 8h after, my phone is off and has absolutely no battery left.
This happens every now and then, IMHO there's no app causing this (haven't installed anything lately). I can't reproduce the issue.
How would I best debug this and try to find out what's causing the battery drain?
Can I still read the battery log after a restart?
What apps Di you have and what Firmware?
Sent from GT-I9000 Jpm OS kernel with z4mod
DamianGto said:
What apps Di you have and what Firmware?
Click to expand...
Click to collapse
Firmware JM1 (rooted)
Apps:
aContacts
Alchemie
aLogcat
AnDream
Angry Birds
APNDroid
AppsOrganizer
Asphalt 5
c:geo
CallTrack
Coloroid
Explorer
GC Tools
geniewidget
GeoHunter
GPS Test
handyCalc
ICD Auskunft
Jorte
K-9 Mail
Kitchen Timer
Meraki Wifi
N-TV
OpenSudoku
RTM
SGS Tools
Snowstorm
Solitaire
Stats
Terminal Emulator
Timeriffic
wetter.info
Xing
Don't see Amy bad apps.
You can.use sgs toolbox to see the battery usage is.
Some make the phone almost never go in powersave mode.
Sent from GT-I9000 Jpm OS kernel with z4mod
Thank you so far.
I looked at the battery usage stats and saw that bluetooth was enabled for more than 7 hours (although it was disconnected). That IMHO shouldn't have completely drained the battery though...
I am seeing the same problem recently; the battery drains out really quickly in no time even when there are no major apps running. Even the battery usage menu shows nothing major. During this time I have noticed that the phone gets really hot and the battery indicator app shows that the battery temperature as b/w 40-50 C (its around 25-35 C when there is no issue). During this time I can't even make calls or send/receive SMS!!! Seems that it just cannot get a network signal.
There were no such issues for the last couple of months. I can't imagine an app directly or indirectly causing this.
If an app keep the phone awake all.the time and use wifi/Bluetooth/gps it will drain the phone fast.
The only solution is to find out where the flaw is.
Personal i would backup the phone and do a complete wipe/ reset of the phone so it will be clean and like new. Then i would test to se if it drain the battery.
If it does then it is broken and need a.repair. Else i would start to intake the apps i need, but looking close what they do.
Sent from GT-I9000 Jpm OS kernel with z4mod
SGSI said:
During this time I have noticed that the phone gets really hot
Click to expand...
Click to collapse
Ex-act-ly the same for me!
I will disable all self-installed apps via pm disable and see what happens.
I'll then report back...
Have you installed any lagfixes recently? When I had voodoo lagfix on jg4 I would get at best 8 hours of stand by time. As soon as I flashed jpm I get 1% drain per hour
Sent from my GT-I9000 using XDA App
I have not installed any lagfixes, my phone is on stock JG4 firmware. The battery life is otherwise very good, only at times (very random) the battery starts draining from 100% to 0% in a matter of few hours.I use System panel to check if there is any app that is causing this, but it does not indicate anything like that.
The only thing that I can think of is that the phone for some reason looses network (I can't make a call and send/receive sms during this time) and keeps trying to reconnect without success and hence drains out the battery. Once I reboot the phone everything becomes fine and the battery usage becomes normal. Is there any way to find out that the phone is trying to connect to the mobile network and this is causing the battery to drain out?
Neither do I, never used any lagfix so far, I'm on stock JM1.
The only thing that I can think of is that the phone for some reason looses network and keeps trying to reconnect
Click to expand...
Click to collapse
That's possible but I don't know how to log this...
Gnarf, it just happend again. Before going to work it was all normal, now it's frozen.
I connected it to my computer, but WinXP recognized it as an unknown device.
ADB doesn't work, else I had pulled the logfiles.
maybe u should consider upgrading to JM7 or JM9. and before installing apps do a full reset and cache wipe.
MagicOnline said:
maybe u should consider upgrading to JM7 or JM9.
Click to expand...
Click to collapse
I'm waiting for CM 6.1 to sort it all out, given that "FroYo by Samsung" still isn't what I expected it to be - at least judging from the betas.

Samsung Galaxy S Battery Drain

Hi,
im having battery drain problems the phone wont last more than 5-6 hours send 20-30 texts listen to some music, i have turned off backgroud data and live wallpapers, im using something called advanced task killer free to kill the apps that are running, but i close them the re open the task bar and stuff like music player has reopened
ive also seen a post about which batterys are better is there a better one i can buy? my batterys a G7
any ideas ?
cheers
Stop using the task kiler and you'll probably see better battery life. Task killers have been proven more harmful than helpful on the newer versions of android so using it is pointless. Also pay attention to what you have synced and how often. tons of web apps synching will drain the battery faster, as will having the gps and wifi turned on--if you're not using them, disable them.
thanks for the reply i will remove the task manager,
auto sync is turned off and i only use email by refreshing the inbox
Come here: http://forum.xda-developers.com/showthread.php?t=884816
In short: Have you recently updated via Kies to JPY version? If so, stop using your wifi. There is a bug with wifi with this newest firmware.
hi,
i update to 2.2.1 through kies
Do you use wifi?
If yes, switch to data, battery life will be better. You should be able to get around 48h of light active usage (i mean browsing and calling and what not) with 3g data on.
i dont really use the wifi, signals really good around me, i only got the phone friday, brought it of a friend,
charged the phone fully before i went out last night about 7pm by 1.30am the phone had cut off, that was only using the facebook andriod app and sending text messages.
Than there is something terribly wrong. Do a wipe and factory reset, if you didnt after getting a device from your friend.. It seems that some application misbehaves and drains battery.
You can check it by typing *#*#info#*#* in dialer
Several options there, if there is something strange you will see it. (suggest looking into Battery history, usage statistics)
i dont know how to type in dialer sorry sounds very stupid all i have are digits
liamparker89 said:
Hi,
im having battery drain problems the phone wont last more than 5-6 hours send 20-30 texts listen to some music, i have turned off backgroud data and live wallpapers, im using something called advanced task killer free to kill the apps that are running, but i close them the re open the task bar and stuff like music player has reopened
ive also seen a post about which batterys are better is there a better one i can buy? my batterys a G7
any ideas ?
cheers
Click to expand...
Click to collapse
Have you tried reconditioning your battery yet?
http://forum.xda-developers.com/showpost.php?p=10092321&postcount=11053
From the above post:
TechnicR said:
About my battery life:
Previously I was on Darky's v5, with that the phone lasted 2-3 days with normal usage.
After flashing to v7 (with 100% battery) I also got the fast drainage problem. Here is what I did:
1) Turn OFF phone
2) Charge till it says it is FULL
3) Start in RECOVERY
4) WIPE battery stats
5) RESTART android (yes, it might already be on 98% or so)
6) USE phone heavily. Don't worry if it drops too fast. Use it till the Android system turns OFF automatically (it happens when your battery is below 1% - for me the phone was on 1% for about 40 mins. This is where it heavily myscalculated
7) PLUG IN your charger, TURN ON android and wait till it is FULLY charged again. (It is better if you don't use the phone at this charging up)
Now, after you disconnect the charger, you should still have 100% for some time (I've been using the phone for 32 mins - writing this post - and it is still on a hundred percent) and with this, I got back the 2-3 days battery life with normal usage.
Also, you should set WiFi to: "Never when plugged in" and by default I disable Data Network. But my phone is using WiFi all the time so it doesn't really matter
So to summerize this method, the key is to show the phone the battery's minimal capacity too, by using it till it is on null. Because with charging to 100% than wiping or flashing only introduces the maximum capacity to the system and the minimum is only guessed. THIS gives the faulty reportes and makes us think the phone drains too fast.
Try this method, than feel free to share your results
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
This may not be the exact case you are having, but the idea is the same. Give it a shot.
nvm, 'info' stands for '4636'
You could also use titanium backup and freeze some apps from running
Sent from my SGH-T959 using XDA App
Having the same problem
Hey, I'm having the exact same issue as the OP. Have you found a solution yet? I deleted the task killer just now, but did that work for you?
Thanks.
Same problem
hi
I have the same problem. I bought it 2-3 days ago. today i charged it full while fone was off, switched on at around 8AM my usage detail was
3g was on
gmail on sync
skype on sync
5-10 min of skype calling
5 min of normal calling
5-10 min of facebook browsing through android app
30 min of chatting on skype
at 2PM the fone was at 20% battery. My wifi and gps were off all day.
is there anything i can do to get atleast 15 hours of battery with normal use
regards
harris
If you are having issues with your battery, before you try killing tasks, changing setting and what not and especially if you are running custom ROMs, then you need to recondition your battery. The same goes for anyone who is having high drain issues.
If you follow the steps I posted from someone else's post and then find that your battery is not having issues, then start looking at your modem (if using a custom ROM or you've upgraded to new firmware).
ive done a factory restore, ive found what my usage says idle 4% the display 80%
contrast is switched right down
i know im not using any custom roms im using the firmware that you download through kies
liamparker89 said:
i know im not using any custom roms im using the firmware that you download through kies
Click to expand...
Click to collapse
still should try it first
I'd suggest posting this question in the Galaxy S general forum as you'll get a lot more responses
Same here
Data network activated (2g or 3g) phone die after 11 hours.
When data network deactivated phone die after 2 days!
I installed whatsapp, gtalk and one email account with 10 mins refresh.
I never use wifi.
Drain 7 - 8 % per hour when phone idle (Phone on with 3g data but without using it)
I really don't know how to "finger pointing" suspicion app via battery history.
BR

Batery Usage HELP!!!!

I am currently running 5.7.893 rooted and I have been having battery issues lately. The problem is I sit here , 1h 37m off of the charger and the phone is reading 80%. The breakdown looks like this:
Android OS 39%
Maps 12%
Display 11%
WiFi 9%
and a couple other small things.
It seems like my phone is never going into standby and I can't figure out why. I've checked a bunch of things and no luck. If I click the chart at the top of battery info, I see "phone signal" taking a constant drain on the battery.
The only thing I can think of to do is to factory reset the phone and see if that helps.
Any ideas?
I would recommend the Factory Reset. But first, is there a chance it's a battery calibration issue? Have you checked the actual mV reading with an apps such as Spare Parts?
Before you do the reset, make sure the Backup and Restore are checked in the Privacy setting. And then after the reset make sure you check the two options presented about Backup and Restore. These show during the new setup after you enter you gmail info. Also, if not in a 4G area, if possible connect to wifi before you finish the setup as your apps will start downloading automatically. Good luck.
I did try battery calibration first without luck. I just did the factory reset and I'm charging to 100% now. I haven't done the titanium backup restore, because I want to see if installing the apps I use from scratch again will fix it rather than just restoring them.
Beefcake550 said:
I did try battery calibration first without luck. I just did the factory reset and I'm charging to 100% now. I haven't done the titanium backup restore, because I want to see if installing the apps I use from scratch again will fix it rather than just restoring them.
Click to expand...
Click to collapse
That's a good idea. Lately I've been letting Google install the apps and then I use Titanium to only restore data to select apps (such as Tapatalk).
Sent from my DROID BIONIC using Tapatalk
Well, now I'm confused. I haven't installed any apps yet after the factory reset. after 2h 50m of just sitting there, it's reporting:
90% still
32% Android OS
20% phone idle
16% display
16% cell standby
10% wifi
looks much better, but does this look right? I would have expected cell standby to be the dominant process.
wifi
Having the exact same problem. Seems to be draining battery at the same rate it was before the update (which was supposed to fix battery drain or so I thought). I'm-a try a little experimenting before doing a factory reset (HATE doing them). Right now, I'm theorizing the built-in Google backup process might be responsible because I've never seen so much drain before and I usually turn Google backup off since I use TiBu but forgot to disable it after the update.
In the meantime, I've prepared myself for the battery issues by purchasing the battery dock and an extra battery for three total. Swapping batteries is better than staying tethered to a wall charger so much.
EDIT 1: Looks like that did nothing. Next, I'll try wiping cache (didn't do this when I updated)
EDIT 2: Looks like not much change from wiping cache. Guess I will be trying that reset.
EDIT 3: Looks like I use the phrase "looks like" too much. However, the factory reset appears to have resolved the issue, at least initially. Fired up the phone and Android OS was only 8% of the battery usage after 10-15 minutes. Will check back if anything changes.
Disable push sync on your device.
changing and controlling your sync settings will solve your standby issues and improve your battery life.
Sent from my DROID BIONIC using xda premium
I think a better way of looking it this is that your phone isn't spending 32% of its time using the Android OS and only 20% of its time being idle. That's just how much battery they are using. Your phone could be spending 3 hours "idle" and only 15 minutes using the OS and this is how it could read. It's just how much battery each one is using, not how much time each one is spending doing that particular task.
Beefcake550 said:
Well, now I'm confused. I haven't installed any apps yet after the factory reset. after 2h 50m of just sitting there, it's reporting:
90% still
32% Android OS
20% phone idle
16% display
16% cell standby
10% wifi
looks much better, but does this look right? I would have expected cell standby to be the dominant process.
wifi
Click to expand...
Click to collapse
Are you on stock ROM? I'm running the Liberty ROM and sitting at 78% battery at 24hrs13min on stock battery. Cell standby 49%, Phone idle 48%, Display 3%.
djr4x4 said:
Are you on stock ROM? I'm running the Liberty ROM and sitting at 78% battery at 24hrs13min on stock battery. Cell standby 49%, Phone idle 48%, Display 3%.
Click to expand...
Click to collapse
I call BS to this...unless you have had airplane mode on the whole time...lol.
Sent from my DROID BIONIC using XDA App
I'm with noosympathy on that one.
A ROM will improve better life but not that much... maybe if you ran it on 3G only, but then again, that is a maybe.
A lot of your battery is used when your phone is syncing.
When connected to 4G, it uses a lot of power trying to get a signal as well.
To help get some more life out of your battery, disable push syncing and notifications.
I set mine to 1 hour because I don't like being bothered for stupid bs.
When your in a place where you know you don't get 4G, turn it off. It is going to try to aquire a 4g signal while running on 3G the whole time draining your battery.
If am out and don't need 4G, I turn it off. It only takes about 15 seconds to turn it back on and have it link up.
Do you really need to be on 4G to play angry birds?
I recommend installing tasker. You can program stuff like this into it.
Sent from my Xoom using xda premium
Maybe I'm weird, but I don't have a need for 4G data all the time. 95% of the time I leave it turned off and battery life is quite nice with the Bionic just riding on 3G. If I'm in a situation where 4G would be useful I'll manually turn it on. Battery life is so much nicer when the radios in the phone aren't constantly fighting for supremacy.
Call it as you will. I leave data off unless I need it for something and when I do use it I only use 3g. Most of the time I'm in a wifi area so I'll just use wifi. Speaking of wifi I leave that turned off also unless I need to use it then I turn that on for the time being and turn it back off when I'm done with it. Other then that I use my phone mainly for texting, and calling when need be. If I'm home I use the home phone to talk, and when I'm at work, I use my cell strictly for text and if you really need me I'll talk to you by office phone. I also leave gps off. I see no reason to leave it on. I tried to post a pic of battery life yesterday but it would not take for some reason.. Like I said. You can call BS all you like. I know what my phone did for the last 30 hrs. Last night I charged it. Downloaded a few apps, and updated some app and played angry birds for awhile last night before I threw it on the charger. Maybe that charge was a fluke. I dunno, but that charge was honestly what I had. Pretty sad to sign up to a forum, look for good info and also try and help out someone else with this phone and give insight and then be called a liar by other folks. Maybe I just won't post anymore. Hope you all enjoy your phones and ROM's. I'll just tend to myself.

[Q] How can I tell what's eating my battery?

About a week ago, I started noticing that my phone battery gets very hot and the battery drains quickly when the phone is NOT in use (Screen off, sitting on my desk). Full charge to 0% in 4 four hours or so, without being stressed.
When I try to charge it from the supplied wall charger, it doesn't get past 87% charged before the battery temp creeps into the 40s and it starts draining (while still plugged in).
I assume it's a faulty battery, only because I haven't downloaded anything new. The only change I made was updating Viber. I removed that app from my phone but it's still dropping like a fly.
I've done a factory reset twice, no change.
Rebooted the phone many times, no change.
Tried different cables and different chargers (PC, Old X10), no change.
Now, since I can't replace the battery in this phone, I'm hoping there's a software method to see what might be eating the battery.
Note : My LT30a .195 can't be rooted, and the bootloader can't be unlocked. Also, I don't know how to take screenshots.
Anyone have an suggestions ??
In Settings-Battery you should be able to see what processes are using it.
If you want to monitor cpu load in real time, then you'll need some app, like OS Monitor to see load per process, or PowerTutor for logging cumulative consumption.
I bought this phone several days before. Yesterday got root, installed cwm recovery and installed jb 4.1.2 deoxed stock Rom. I noticed that my phone can't sleep. Totally! Take a look on screenshots. I thought that may be bcoz of some apps so I wiped everything (int and ext sdcard too), but it makes no sense
Sent from my LT30p using xda premium
Turning off your auto sync when not needed should do the trick.
Something's wrong there. I've got too much battery consumption by Android System too, but that is ridiculous.
¿Have you tried BetterBatteryStats to see what's keeping it on?.
Arcano said:
Something's wrong there. I've got too much battery consumption by Android System too, but that is ridiculous.
¿Have you tried BetterBatteryStats to see what's keeping it on?.
Click to expand...
Click to collapse
not yet. right now im thinking about downgrading to ics
---------- Post added at 11:50 AM ---------- Previous post was at 11:49 AM ----------
LitoNi said:
Turning off your auto sync when not needed should do the trick.
Click to expand...
Click to collapse
you should be kidding me? there's no profit from phone w/out autosynchronize
download batterystats from the market and see what is keeping your phone awake in partial wakelock column...this will give you exact process name of the culprit
arpith.fbi said:
download batterystats from the market and see what is keeping your phone awake in partial wakelock column...this will give you exact process name of the culprit
Click to expand...
Click to collapse
Thank u. Downloaded it, ill take a look tomorrow through the day
Sent from my LT30p using xda premium
Its almost 7 hours in use. Take a look at screenshot. What can u say and advice me?
Sent from my LT30p using xda premium
SandySemenov said:
Its almost 7 hours in use. Take a look at screenshot. What can u say and advice me?
Sent from my LT30p using xda premium
Click to expand...
Click to collapse
AudioOut_2 is related to any games or apps related to sound or which "produce" sound..are you on stock rom and stock kernel?
try to exit any music player app after listening or exit the game properly after playing..sometimes keystrock sound causes it..
do one thing...reboot it and keep it idle for an hr or so..and while rebooting make sure your phone is not in silent or vibrate mode..and after an ar check the batterystats and let us know!
And do check all the columns including partial wakelocks and try to find which process used more time or percentage...
arpith.fbi said:
AudioOut_2 is related to any games or apps related to sound or which "produce" sound..are you on stock rom and stock kernel?
try to exit any music player app after listening or exit the game properly after playing..sometimes keystrock sound causes it..
do one thing...reboot it and keep it idle for an hr or so..and while rebooting make sure your phone is not in silent or vibrate mode..and after an ar check the batterystats and let us know!
And do check all the columns including partial wakelocks and try to find which process used more time or percentage...
Click to expand...
Click to collapse
Today I was listening to fm radio, that's all
I'm using rooted and deoxed jb and cwm recovery. Bootloader is locked.
OK, ill try to check bbs stats after reboot. Thanks a lot!
Sent from my LT30p using xda premium
I charged battery fully, made a reboot and left device for a night. Wifi was on. I lost 10% per 9 hrs.
Phone haven't slept at all
Is that all bcoz of gtalk?
Sent from my LT30p using xda premium
Dude your phone is just fine...10% down in 9 hrs with wifi on is too good...everything looks normal..gtalk seems to be waking up the phone to update the online offline lists.in general syncing...thats all..if it was 10% down in 1 hr then it wouldve been a problem...the data looks just fine..and trust me your phone is entering sleep mode..or else it wouldve showed different result..to confirm that install cpuspy..it will say what all frequency are being used and how much phone is sleeping and all...
so just chill..
BTW I logged out from gtalk yesterday evening so I can't understand why it's trying to connect
Sent from my LT30p using xda premium
Does anyone have problems with "wifistatemachine"
I never used to but BBS is showing this as a major reason for my phone not sleeping well. (poor baby)...
icstm said:
Does anyone have problems with "wifistatemachine"
I never used to but BBS is showing this as a major reason for my phone not sleeping well. (poor baby)...
Click to expand...
Click to collapse
i know this is old but i've found out that i have this problem too..
wifistatemachine is keeping my XT awake all the time.
i have 3 times wifistatemachine wakelock, one from google maps, on from android system and one from google services.

[Q] [CM10.1.3] rapid battery draining with various kernels - help needed!

Hello everyone,
I switched my 16 months old 4x to CyanogenMod 10.1 about 2 months ago, and updated to 10.1.3 about a week after the release. About a week later, I had my first problems with rapid battery draining. I have switched kernels thrice, now running the most recent optimus prime for CM, and have tried fiddling with the values TricksterMOD provides, but I haven't found a way to get any decent battery life out of the device ever since. Last night, the battery drained 50% in about 12 hours of non-use (phone was left with display off in my jacket pocket, and that's not even the worst drain I witnessed in the last two weeks.
I'm running BetterBatteryStats to get a clue about the origin of this drainage, and can see that my device seems to me awake far too long when I'm not using it. At the moment, I'm looking at 44.6% awake, 55.4% Deep Sleep after 2.5 hours of not using the phone once (I was driving home from work half of the time). In "Kernel Wakelocks", I see "wlan_rx_wake" with 21:03 minutes on top, in "Partial wakelocks", the highest value is 20 seconds for "AlarmManager".
I have the usual suspects of communication/networking apps - Facebook (set to 2hr update), Google+, K-9 Mail, WhatsApp, plus AndroidWeather (set to 30min update) - and news apps which are allowed to send push messages. I use wifi, but no bluetooth. I never watch movies, play games or listen to music with my phone.
I have attached a BetterBatteryStats log from the 50% drain in 12 idle hours I mentioned. View attachment BetterBatteryStats-2013-10-17_092335401.txt
Can anybody give me any pointers as to what I going wrong here? I really would like to use my phone without having to plug in the power supply every few hours. If you need any additional information, I'll gladly try to provide it.
Anyway, thanks in advance for any help.
Cheers, Pit.
only 3 letters. O M G ! this battery report just made me like this face here
u cant flash kernels one after another. there are bugs this way. dont all kernels use the same names for files. leftover files will cause problems. do the whole procedure. go to recovery , format data, reboot to recovery and install new rom
kessaras said:
only 3 letters. O M G ! this battery report just made me like this face here
u cant flash kernels one after another. there are bugs this way. dont all kernels use the same names for files. leftover files will cause problems. do the whole procedure. go to recovery , format data, reboot to recovery and install new rom
Click to expand...
Click to collapse
You mean you cant flash Android roms one after another. You can freely flash kernels one after another without wiping anything, Its completely modular.
JoinTheRealms said:
You mean you cant flash Android roms one after another. You can freely flash kernels one after another without wiping anything, Its completely modular.
Click to expand...
Click to collapse
then explain his situation... he said he flashed kernels not roms. why does he have such a bad battery drain during night sleep ? in his report i didnt see he has any so "bad" app.... (just asking out of curiosity, its good to have knowledge generally)
kessaras said:
then explain his situation... he said he flashed kernels not roms. why does he have such a bad battery drain during night sleep ? in his report i didnt see he has any so "bad" app.... (just asking out of curiosity, its good to have knowledge generally)
Click to expand...
Click to collapse
Not sure about the battery drain, it could be caused by a kernel, but its not because hes flashed multiple kernels.
some background:
Android kernels are packaged into boot.img's (these .imgs can be placed in .zips with instructions on how the custom recovery should handle flashing it) Inside a boot.img you will find a zImage (kernel) and a initrd.img (This stands for initial ram disk, its simply a basic file system that the kernel mounts, containing mainly scripts that handle mounting all the necessary partitions etc, then handing control over to Android. )
The boot.img is stored in a emmc partition (/dev/block/mmcblk0p*). When you press the power button, the bootloader is initialized , it then powers on necessary hardware devices, the bootloader than pulls the boot.img from its partition, extracts it and boots the zImage(kernel), which will start initializing less necessary hardware, but mainly mounts the initrd.img and runs the containing instructions.
Bootloader -> Kernel --------------------->
.........................Initrd.img-> ........Android
To move back on track, the zImage and initrd.img only operate within RAM, they only lie in emmc when they are achieved as a boot.img. When you shut your device down, nothing from the kernel persists in the next boot (maybe /proc/last_kmsg ), this is why you dont need to wipe anything on your device between kernel flashes.
JoinTheRealms said:
Not sure about the battery drain, it could be caused by a kernel, but it's not because he's flashed multiple kernels.
Click to expand...
Click to collapse
Thanks for clarifying that; it saves me some trouble.
Does the BatteryStats log give any indication as to why the phone is awake half of the time?
Cheers, Pit.
Dont know, but maybe O Prime is one of these kernel which hides the xmm baseband wakelock.... that would be the missing awake time in your log
OnAir783 said:
Dont know, but maybe O Prime is one of these kernel which hides the xmm baseband wakelock.... that would be the missing awake time in your log
Click to expand...
Click to collapse
Yep optimus prime hides the baseband wakelock
Sent from my LG-P880 using xda app-developers app
OnAir783 said:
Dont know, but maybe O Prime is one of these kernel which hides the xmm baseband wakelock.... that would be the missing awake time in your log
Click to expand...
Click to collapse
Is there a different kernel you would recommend I should try out? I selected the OPrime because it claims to be focussing on stability and battery life instead of raw power.
Furthermore, what would the baseband wakelock tell us in terms of how the fast drain happens?
Cheers, Pit.
Hello all,
just to try it one more time: is there any way I can get decent battery life out of CM10.1.3 on my 4x? This is my profile from today, where I unplugged my phone from the charger around 7:30 a.m. and didn't use my phone thereafter until 5:30 p.m. where the phone was down to 38% already (stats taken around 8:30 p.m.) . The governor is set to conservative and the max frequency to 1.1 GHz, which already makes the UI a bit sluggish. The other settings are unchanged from above.
Secondly, if there really is no chance of improvement under CM10.1.3, which ROM (and kernel) would you suggest for my phone, so that I can at least get a full 24 hours of battery life when I'm not using my phone most of the time?
Thanks in advance, Pit.
Format SD card and wipe everything before flashing new ROM. When I say everything I mean : catche - dalvik - format system - format sd card (sd card is 11gb internal memory of device and external sd card is your inserted sd card). Try latest liquid rom i have good battery life with its stock kernel.
Sent from my microwave.
The baseband wakelock is hidden at his kernel
Gesendet von meinem LG-P880 mit Tapatalk
Try rebooting again after first reboot installing kernel
I'm not sure why but when wiping dalvik and cache the phone has trouble going into sleep
Flash -> wipe cache/dalvik -> Reboot -> Reboot again
Hi everyone,
well, that was a bust. After spending the better part of a day formatting and installing over and over again, I'm now running CarbonRom [20131023] - and having the same battery problems as before.
I tried LiquidSmooth (2.23), but I never got it to work properly; after installing I always got "application someName was teriminated" every few seconds (while the Play Store app was redownloading and reinstalling my apps, but also when I tried to activate SwiftKey, which calls the settings app at one point, which abruptly quits before I can type in anything. I then tried
ParanoidAndroid (3.99, which I didn't like UI-wise)
and SlimBeam (1.9, where the Google apps I downloaded as stated would install fine, but then not appear for some reason - at that point I didn't spend much time trying to fix it, because I was already fed up with it all)
before finally installing CarbomRom, which worked fine. Thus, after downloading my apps, I tried out my battery again. I unplugged the phone, turned the display off, and went shopping for about two hours, touching the phone just once for a few seconds.
The result is again about 30% awake time during these two hours, losing 10% battery in the process (BetterBatteryStat included). That is pretty much unchanged from my experiences with CM10.1.
What am I repeatedly doing wrong that I don't get halfway decent battery runtime out of my 4x (which used to run fine battery-wise for a year when I used the original LG firmware (which had other issues, but could last 36 to 48 hours, depending on usage? As I don't see hordes of 4x owners throwing the device against the wall in frustration, I must do something other don't. But I haven't got the slightest clue what that might be.
I will try PACman (nightly 20131021) next, but if anyone has any pointers, please please help! I'm running out of ideas.
This was my procedure, by the way:
Reboot into CWM
Format system, cache, data, sd card
flashing ROM
Rebooting
after bootup reboot again into CWM
add the Google apps
reboot again
After bootup, reboot again into CWM
just to be sure, reset to factory defaults
reboot, connect with Wifi and Google and start redownloading the other apps
Frustrated greetings, Pit.
Hi again,
PACman is even worse. First off all, the UI is laggy as h*ll; sometimes, it takes more than two seconds for a button touch to be recognized.
That would be somewhat tolerable if the battery life was better. But in 2.5 hours of leaving the device lying idly on my table (display turned off), more than 50% of the time, the phone was active. BetterBatteryStats are again included as an attachment; perhaps someone can find out what the problem is with them. At least, this kernel doesn't hide the xmm_baseband wakelock, though I have no idea what that means whatsoever.
This is getting ridiculous - is there really no way to get the phone to last more than ten hours (doing nothing with it - when I use it even for occasional browsing/e-mail checks, it's way less than that) anymore? Why is no one else having problems on that scale?
Typing this post cost 3% of my battery. And I'm typing it on my computer, not on my phone.
Depressed greetings, Pit.
When i watch your battery stats its your wifi did your try to install then wifi update of demetris? Try then samething with your wifi off i think it would increase slot of your battery
Sent from my LG-P880 using xda app-developers app
moneyvirus said:
When i watch your battery stats its your wifi did your try to install then wifi update of demetris? Try then samething with your wifi off i think it would increase slot of your battery.
Click to expand...
Click to collapse
Thanks, for the info, I will investigate that, though I haven't found this "wifi update of demetris" on first Google try yet, just recommendations what to do with your WLAN router and PC settings.
But I my second-to-last try - where I was out shopping - the wlan_rx wakelock wasn't the problem, rather the xmm_baseband wakelock, where I still am clueless as to what that means at all. I fear that getting rid of the wlan wakelocks wouldn't help my general problems, just the problems I had at home last night in my last try.
Furthermore, if I can use the phone only by carefully switching off and on wlan manually whenever I leave the house, the phone will become pretty much useless to me. Yesterday alone, I forgot switching wifi back on twice. That way, either notifications would go through mobile data connection or not happen at all.
I will reflash my device again this morning - as the PACman UI lags are unbearable for me - and see what I can do about the wlan drain. I cannot reconfigure all the wifi networks I connect to, as some of them aren't mine to configure.
http://forum.xda-developers.com/showthread.php?t=2425455
Look in the seccond post your will zee a long story but at then and of that story you see 3 zip files flash then then nvida 4.3+ broadcom driver update by cwm dunno if it solves your probleme for me its great
Goodluck
Sent from my LG-P880 using xda app-developers app
I don have any problems with liquid rom. Also I flash gaps imidiatly after flashing rom without reboot. Try flashing 4.2.2 android it is better for our prone then 4.3 builds.
Sent from my microwave.
dimi89 said:
I don have any problems with liquid rom. Also I flash gaps imidiatly after flashing rom without reboot. Try flashing 4.2.2 android it is better for our prone then 4.3 builds.
Click to expand...
Click to collapse
I tried that earlier today, and the LiquidSmooth 2.9 (Android 4.2.2) installed fine by your instructions. But it didn't help at all with the battery usage. Phone is running on conservative governor limite to 1 GHz, and I even tried the Broadcom Wifi Update mentioned here earlier (otherwise, I'm on the LS standard kernel).
It all doesn't help, the BetterBatteryStats are still full of wlan wakelocks (even though I switched to static IP as someone mentioned that might help). Result: 10,8% battery drop per hour of leaving the phone with display off on the table.
Before I flash another ROM for the 14th time this weekend, I will collect some results with wifi turned off. Not that that would be a feasible option for me, but I want to get to the bottom of this.
Cheers, Pit.

Categories

Resources