Help with CM10 cpu deep sleep problem - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

Hi guys, I have a problem with cm10 based rom (PA2.53), cpu doesn't go into deep sleep when it is supposed to. It does go in deep sleep, but for very short lenghts of time, during the night (with quiet time enabled and jd plus) i lost more than 10%/hr (from 100 to 20 in little more than 6 hours idle), I checked cpu spy and of 6 hours idle little more than 1 was in deep sleep and 5 at minimun clock freq (134), there's no app keeping the phone up as battery was drained for 70% by android os (which also shows cpu awake for more than 5hrs).
Any suggestion to fix this? I know battery drain is "supposed" to be high on jb, but isn't over 10%/hr in idle a little too much?
Using mesa 2.3, smartassV2, min 134 max 1200, jd plus, startup manager and fast dormany tweaks in init.d...any suggestions to fix this problem?

Rudjgaard said:
Hi guys, I have a problem with cm10 based rom (PA2.53), cpu doesn't go into deep sleep when it is supposed to. It does go in deep sleep, but for very short lenghts of time, during the night (with quiet time enabled and jd plus) i lost more than 10%/hr (from 100 to 20 in little more than 6 hours idle), I checked cpu spy and of 6 hours idle little more than 1 was in deep sleep and 5 at minimun clock freq (134), there's no app keeping the phone up as battery was drained for 70% by android os (which also shows cpu awake for more than 5hrs).
Any suggestion to fix this? I know battery drain is "supposed" to be high on jb, but isn't over 10%/hr in idle a little too much?
Using mesa 2.3, smartassV2, min 134 max 1200, jd plus, startup manager and fast dormany tweaks in init.d...any suggestions to fix this problem?
Click to expand...
Click to collapse
PIMP MY ROM.search for it on google.and use aroma version,it has more options.works perfectly on cm10.lagless and after night got 1% battery drained.
Sent from my Xperia Mini using xda premium

I already had that, the fast dormancy tweaks come from there, also installed every battery tweak pmr has to offer, but still draining like hell. I checked better battery stats and there are no unusual wakelocks...

Rudjgaard said:
I already had that, the fast dormancy tweaks come from there, also installed every battery tweak pmr has to offer, but still draining like hell. I checked better battery stats and there are no unusual wakelocks...
Click to expand...
Click to collapse
you could try my tweak package?
maybe it'll help.....
http://forum.xda-developers.com/showthread.php?t=1931487

I tried a last resort solution and it seems to be working (not too stable but better than before) I completely discharged the phone, recharged it fully while shut down and battery consumption seems to have improved. I lost 6% right away when unplugged it from charger within 30minutes, but now i have 12.30h running on battery and it's down to 84%, so aside form the 6% that drained immediately from 100 to 94 the rest seems to be keeping up pretty well. I'll keep an eye on it though as it seems to vary from time to time...In two days new pa and new fxp should be out, I'll see if that makes anything better...
Thanks for reading and for the replies so far

I think i found out what is causing the high battery drainage, it's the mobile data connection. For some reason JD (or the system) can't shut it down when phone is at sleep. Last night i switched mobile data off and in the morning i had almost less than 0.5% drainage, as soon as i turned it back on battery percentage started dropping at sight...

Battery Calibration
Download BatteryCallibration app from the market and follow the steps given there..
Helps me everytime i have a battery issue...
HIT THANKS IF THIS HELPED

Thanks for suggestion but that doesn't help, i used zepps die hard calibrator before, but it's not a battery problem. Random processes at random times will keep the cpu running when it's supposed to sleep, that's what's draining the battery..

Perhaps an app is polling the net too often, facebook anyone?
Xperia mini (smultron), CM10 150, Xtended kernel + rom

No i have app control which prevents any unwanted things to start-up automatically (and fb is on the no-fly list )
I think i kinda sorted it out, what causes the problem is thethering. When i disconnect tethering according to phone wifi and data are off, but in truth they keep staying on. I shut tether off and can still see my hotspot from pc even if wifi is completely off on the phone! So it's wifi and data which keep staying awake (even with screen of for long periods of time) and slowly drains the juices.

Related

[Q] How can I put the Touchpad to sleep?

Is there anyway to put the Touchpad to sleep?
The battery is drain 5 to 10% just sitting there with screen shut.
Thanks.
You aren't giving a whole lot of context with your post. 5-10% per....? Hour? Day? Minute?
Mine came to work with me and wasn't plugged in. 10 hours later when I got home I was still at 85% battery. Not fantastic, but certainly tolerable.
Sent from my T7575 using XDA Windows Phone 7 App
Sorry. 5 to 10% per hour.
So is there a way to put it to sleep? I fully charged it the other day, was gone for two days and it completely drained when I checked just now. iPad is at 70% since I last used it 3 weeks ago.
thecalip said:
Sorry. 5 to 10% per hour.
Click to expand...
Click to collapse
I would say that's definitely not normal. Did you make any changes to govnah? I'm using the Warthog kernel at 1.7ghz and left my TP in my bag all day at work. Total of 14 hours away from a charger and was still at 95% battery this evening.
Are you near WiFi where it's checking email or other apps that check for updates?
5 - 10% per hour is not normal. I've been using my touchpad since I came home from work so approximately 6 hours. It was on the charger, turned off before I came home. I have applied the kill logging patches, and all the common speed up patches, and am running the latest F4 Phantom kernel that was released today with an OC to 1.728 GHz. My WiFi is always on but my BT is not. My battery dropped 14% over that time period, or just over 2% an hour (with irregular use, not just sitting there).
Have you done all the patches in Preware and what not?
this is exactly why I wished we had a program that could read battery consumption
i have applied the common patches in preware but not overclocked.
my TP is now lying the 2nd day on my desktop with no app running and in standby. just looked and it shows still 100% (that might not be true, will be smth. >90% imho).
the problem is: what is running on your touchpad? when you have twitter/facebook and stuff running its like pn the smartphones draining your battery.
and when you use it all time the touchscreen needs alot battery, too.
have you tried changing the wifi sleep settings in the WiFi settings panel?
there's two options for it:
keeping it on all the time (even when the screen is off)
turn it off when the screen sleeps
I've found that setting it to the latter improves battery life
could be the solution to your woes,
phobos512 said:
5 - 10% per hour is not normal. I've been using my touchpad since I came home from work so approximately 6 hours. It was on the charger, turned off before I came home. I have applied the kill logging patches, and all the common speed up patches, and am running the latest F4 Phantom kernel that was released today with an OC to 1.728 GHz. My WiFi is always on but my BT is not. My battery dropped 14% over that time period, or just over 2% an hour (with irregular use, not just sitting there).
Have you done all the patches in Preware and what not?
Click to expand...
Click to collapse
wow that sounds amazing! i'm a very new webOS user (since yesterday), would you mind sharing all the patches and tell me exactly what and how to do everything that you did to get such great results?
much appreciated thanks!
erick161 said:
this is exactly why I wished we had a program that could read battery consumption
Click to expand...
Click to collapse
Try DRBattery from preware, its an older app, but works to track the battery
Bluetooth - Battery Drain
charlieben said:
have you tried changing the wifi sleep settings in the WiFi settings panel?
there's two options for it:
keeping it on all the time (even when the screen is off)
turn it off when the screen sleeps
I've found that setting it to the latter improves battery life
could be the solution to your woes,
Click to expand...
Click to collapse
Thanks! I changed the WiFi settings to turn off when screen sleeps. I had a big drain in sleep mode.
My question is about Bluetooth in sleep mode. Is the only option to manually turn it off when not in use? I am using Motorola Android Bluetooth keyboard and Sony Bluetooth headset. Using this keyboard now to type this. Have my headset physically turned off. Since headset is shown in normal while keyboard is bold, does that help with battery drain?
Wait so there is no standby or sleep mode? I changed the wifi setting to turn off and that helped battery drain a little. I don't have email setup or any im programs at all. With the screen off it drained about 25-30% in 5 hours of doing nothing.
striker199 said:
Wait so there is no standby or sleep mode? I changed the wifi setting to turn off and that helped battery drain a little. I don't have email setup or any im programs at all. With the screen off it drained about 25-30% in 5 hours of doing nothing.
Click to expand...
Click to collapse
That seems like a lot. Mine with email/wifi left on seems to use about 5% to 10% a day.
Are you still on the first/second charge? I've noticed my battery life improving a lot after the first few charges.
thecalip said:
Sorry. 5 to 10% per hour.
Click to expand...
Click to collapse
Something's wrong with yours. Mine's nothing like that. Are you using an app for measurement or how are you coming up with these numbers?
striker199 said:
Wait so there is no standby or sleep mode? I changed the wifi setting to turn off and that helped battery drain a little. I don't have email setup or any im programs at all. With the screen off it drained about 25-30% in 5 hours of doing nothing.
Click to expand...
Click to collapse
Are both your cores accidentally overclocked all the time?
I have all the tweaks, 1.7 OC, wifi always on / never sleep, and my battery doesn't drop at all overnight.
seboj said:
Are both your cores accidentally overclocked all the time?
Click to expand...
Click to collapse
I did the log patches, and have the F15C Eagle Kernel. Govnah shows both at 1.7, then 432MHz when idle. Sorry I'm still new obviously.

Deep sleep q

Is deep sleep a stock state for our phones(all Android phones?) or is it a product of the custom kernels?
Ever since I installed Doomkernel v3c and created a screen off powersave profile with setcpu I'm getting stupid good battery life. A full day of moderate useage and I'm still in the 75-80% batt life and obviously a big part of that is all the time spent in deep sleep when the screen is off.
Smoked33 said:
Is deep sleep a stock state for our phones(all Android phones?) or is it a product of the custom kernels?
Ever since I installed Doomkernel v3c and created a screen off powersave profile with setcpu I'm getting stupid good battery life. A full day of moderate useage and I'm still in the 75-80% batt life and obviously a big part of that is all the time spent in deep sleep when the screen is off.
Click to expand...
Click to collapse
Its stock of android, also varies from phone to phone
Sent from my X10a using XDA App
some1 knows how Deep sleep works ? From the technical side...
the SoC totaly deactivates CPU part, and phone works on another small processor ? or still works but only clocks with 19 mhz ?
as much as i know i think the Deep sleep things totally deactivates CPU and whatever work being down will be paused and transfer to Hard drive/non volatile storage.. the only thing active at that moment is RAM. and in Deep sleep even u have noticed that it takes a fraction of second extra as compared to normal mode .... coz the processor cache is fully flushed at the time jus before Deep Sleep...
Jus answer based on xperience of what i think ..might be rite or wrong too !!
Im getting battery drainage problem on my X10 in sleep mode it drains from 100% to 75% just in seven hours im running WB 4.04S. Please help me i ve tried all of calibration methods but all of them suck.
Install CPU Spy, Reset Timer, Let phone go to Sleep mode! Look again after 5-7h. I'm sure you're phone isn't the entrie Time in Deep sleep, its only Screen off.
Maybe...

ATT version of SG2 sucks your battery?! *Fixed*

Update and FIX!
My phone is no longer draining massive amount of batt life when idle (3-5% after 7 hours of idle), android system usage is now down to 5-15% instead of 78-97% from before.
My fixes.
1. Turn off data syncing
2. Turn off wifi while on the road (so wifi doesn't constantly look for signals).
3. Clear memory
Yes, att installs a lot of bloatware that constantly update for changes.
If killing those services AND disabling data syncing doesn't help your problem, then you have a kernel problem (like myself).
If this is the case, do the following:
1. Take phone back to att and get a replacement
OR
2. Re-flash your android with the STOCK kernel found here
http://forum.xda-developers.com/showthread.php?t=1286432
OR
3. Reflash with cognition x2 (reported to solve a member's problem, I didn't try this myself).
NOTE** This will root your phone, you will NOT get the exclamation mark during boot up, but kernel counter may be at "1" after this process.
Re-flashing my phone AND applying the three tricks I mentioned above worked for me..finally my phone is no longer crippled with crappy battery life and recharging is A LOT faster now.
I must be going crazy but this sg2 is killing me. I got it from Att yesterday and the battery life has been pretty HORRIBLE. (First time android user btw).
The phone will eat up 10% of my batter life after only 90 mins of idle. I checked the battery usage and Android OS is at around 78%!!! How do I fix this problem? I downloaded OS monitor and didn't really see anything that uses a lot of CPU, except for certain files syncing from time to time (but 2-3% usage usually).
Checked with battery spy and apparently the majority of the time, the phone was hovering around 200mhz 70% of the time and not deep sleep.
It's sad to have only 1.5 hours of display time with a battery of 45% left (7 hours total time)...coming from an Iphone 3gs, this is just unacceptable. I almost flashed to the 2.3.5 firmware but noticed it's NOT compatible with ATT's version of SG2.
I see people who have a total time of 2 days AND a screen time with 3 hours with 30% battery left. I wish I can get half that!
Running on 2.3.4, can't be the infamous drainage bug right? Thought that only happens with the 2.3.3s
Wifi on, application sync on, GPS off, brightness at 25%, using live wallpaper (the windmill). No active apps on. Downloaded aim, epocrates, battery monitor, cpu spy, and os monitor..rest of the apps are stock.
Update
According to my CPU spy
For the past hour that the phone was in idle
2:20mins at 1200mhz
4:52mins at 1000mhz
8:33 at 800mhz
1:28 at 500mhz
10:11 at 200mhz
33:36 in deep sleep
Currently Android CPU usage is @ 97%, display time of 7mins(2%)
2h 30mins since last charge (97% charge)..current power is 79%. Did nothing but idling and checking battery life.
So...that's 30 mins out of the hour in which my idling cellphone was hacking the pentagon....
Also the cellphone is a tiny bit warm to the touch (not cold)
I have 35% battery life remaining and have been unplugged for nearly 11 hours. This is significantly better than what I was getting with a Thunderbolt on Verizon, where I was needing to charge after about six hours of use. 11 hours and 35% remaining isn't the best in the world, but it's only been two days. The phone needs a few days to charge and discharge to determine true battery stats and will probably get better.
Being that this is your first Android battery life will not seem great but let it settle in for a few days it should get better.
Sent from my SAMSUNG-SGH-I777 using xda premium
Used Nexus S, LG Thrill, Samsung Focus, Infuse, This is the best Android phone for battery. I have 40% left with normal use (emails, calls, music, read news) at the end of the day. Huraaaaa
Singuy1234 said:
I must be going crazy but this sg2 is killing me. I got it from Att yesterday and the battery life has been pretty HORRIBLE. (First time android user btw).
The phone will eat up 10% of my batter life after only 90 mins of idle. I checked the battery usage and Android OS is at around 78%!!! How do I fix this problem? I downloaded OS monitor and didn't really see anything that uses a lot of CPU, except for certain files syncing from time to time (but 2-3% usage usually).
Checked with battery spy and apparently the majority of the time, the phone was hovering around 200mhz 70% of the time and not deep sleep.
It's sad to have only 1.5 hours of display time with a battery of 45% left (7 hours total time)...coming from an Iphone 3gs, this is just unacceptable. I almost flashed to the 2.3.5 firmware but noticed it's NOT compatible with ATT's version of SG2.
I see people who have a total time of 2 days AND a screen time with 3 hours with 30% battery left. I wish I can get half that!
Running on 2.3.4, can't be the infamous drainage bug right? Thought that only happens with the 2.3.3s
Click to expand...
Click to collapse
If you only got the phone yesterday, its way to early to make any judgments on battery life. Battery needs at least 3-5 days to settle in and build consistent battery stats.
Also, what are you settings? Auto Brightness, Bluetooth, GPS, auto syn(exchange emal, gmail, facebook, etc). If your not using these, they should be OFF. It's easy to manually refresh email, etc.
I've seen some people reporting very high Android OS(over 50%) but still getting solid battery life.
I'm at 1hr display time, heavy texting. 72% left, been unplugged for 12hrs
no people what this guy is talking about is the android os bug. i have it too. hopefully an upgrade or different rom will fix it. my phone has been unplugged 11 hours with only 1 1/2 hour display but android os has ran for 52 minutes and now im at 32% battery life. once this bug gets worked out the battery life will be amazing.
I don't think that there is an android OS bug. My android OS shows as being 42% with 13hrs of moderate use and I am still at 67% battery remaining. This is by far the best battery use I have ever experienced on an android device! My cappy would not even come close to this performance and this is on stock ROM and kernel.
Sent from my SAMSUNG-SGH-I777 using xda premium
I'm very happy with mine, this was the first total drain on a new battery so I know it will only get better.
Total time: 18hr 25min
Display time: 4hr 48min
I think it's the system os, not the hardware. There were a few times when the battery didn't discharge itself at 7%/hour (had it idle for 3 hours and it went down like 2%).
And yes, everything is turned off except the sync app data and wifi. There's no option to turn off 4g btw. It's just weird how sometimes it's in this mode of power drainage, and then sometimes it doesn't drain much..but most of the time, it's draining.
I seriously doubt the phone can only run 2.5 hours worth of heavy usage or 12 hours of standby (it should last days!). If this is "normal" for android, then maybe I should have a visit back to att and exchange for an iphone (and I really don't to!)
Sledutah said:
I'm very happy with mine, this was the first total drain on a new battery so I know it will only get better.
Total time: 18hr 25min
Display time: 4hr 48min
Click to expand...
Click to collapse
that is freakin incredible. i am gonna try a restore or something im down to 28% life. 1:40 display android os 1 hour.
can you please post the cpu total time in android os so i have an idea
VFO said:
I don't think that there is an android OS bug. My android OS shows as being 42% with 13hrs of moderate use and I am still at 67% battery remaining. This is by far the best battery use I have ever experienced on an android device! My cappy would not even come close to this performance and this is on stock ROM and kernel.
Sent from my SAMSUNG-SGH-I777 using xda premium
Click to expand...
Click to collapse
can you please post the cpu total time in android os so i have an idea
VFO said:
I don't think that there is an android OS bug. My android OS shows as being 42% with 13hrs of moderate use and I am still at 67% battery remaining. This is by far the best battery use I have ever experienced on an android device! My cappy would not even come close to this performance and this is on stock ROM and kernel.
Sent from my SAMSUNG-SGH-I777 using xda premium
Click to expand...
Click to collapse
I agree - as I said in the Android OS drain thread, even in "good" situations, Android OS displays way high on our systems. I think it's a reporting bug.
I dropped 2% in 5.5 hours completely idle (sitting on my shelf) last night - Android OS was at over 60%. It seems that so far for me, the higher it is, the better my battery life is.
I drop around 15-20% in 9 hours of being mostly idle at my desk at work - it's a weak-signal location so the radio eats much more battery.
One thing is that unlike first-generation GalaxyS devices and interim ones like the Infuse, the GS2 has a coulomb-counter type of battery gauge. This type of gauge sometimes needs to be calibrated with multiple charge/discharge cycles or it will misreport battery state of charge. (However, when calibrated, it's much more accurate.)
Edit: I do have some power management tweaks in the kernel I'm running, but they don't make that much off a difference except in some high-drain corner cases in my experience. I'll be releasing it sometime later this week depending on how well these antibiotics do their job.
Do i need to install a battery app to see the percentage? or we have a way?
Install this app:
http://forum.xda-developers.com/showthread.php?p=15869868#post15869868
If you see "DataTracker-FD" or "Fast Dormancy" as the top wake lock, go into dialer
dial *#*#9900#*#*
disable Fast Dormancy (FD).
By default, the Samsung Galaxy S II has Fast Dormancy support enabled. One of the goals of Fast Dormancy is to increase the battery life of a device, by limiting the amount of signaling between the phone and the cell network. But, when Fast Dormancy it is not enabled in the network and is enabled on the phone it ironically works the other way around, and actually drains more battery than before.
Click to expand...
Click to collapse
That applies to the I9100.
As far as I can tell, the I777 has FD disabled by default. (This may change once I9100 ROM ports start showing up)
Okay, charged my battery to 97%(I got a beep saying it's fully charged). Idled for the past 2 hours and 22 mins. Battery is at 86%.
According to the battery, my screen account for 2%, and the android system accounts for 97%.
This is a stock phone guys, I have no apps installed!
Entropy512 said:
One thing is that unlike first-generation GalaxyS devices and interim ones like the Infuse, the GS2 has a coulomb-counter type of battery gauge. This type of gauge sometimes needs to be calibrated with multiple charge/discharge cycles or it will misreport battery state of charge. (However, when calibrated, it's much more accurate.)
Click to expand...
Click to collapse
How do you calibrate it?
sweetboy02125 said:
Do i need to install a battery app to see the percentage? or we have a way?
Click to expand...
Click to collapse
Settings > About phone > Battery usage
WillEat4F00d said:
How do you calibrate it?
Settings > About phone > Battery usage
Click to expand...
Click to collapse
I'm talking about live battery display. I installed no lock and have no lock screen to see how many % left.
sweetboy02125 said:
I'm talking about live battery display. I installed no lock and have no lock screen to see how many % left.
Click to expand...
Click to collapse
Just search up "battery indicator" in the Market and you'll get a few to choose from.
I too got mine yesterday and started tinkering around with installing apps and such to test out all functions before I rooted it and move onto cm7 most likely. The 1 things I noticed was that the battery was NOT completely full when it was first turned on at the store so once it got a little lower after playing with it I charged it up overnight. Today the battery was WAY BETTER and was not dead yet. I have been using it NON STOP today, rebooting it, testing it, trying to root it, rebooting some more, some time using tango to test it out, watched a Netflix movie, pretty much taking full advantage of it all day. I finally decided to charge it up and use my Captivate a bit. I didn't keep track of usage and times today but I KNOW it lasted a WAY LONGER time with all I was doing with it than my Cappy. Tomorrow I will check more out possibly before putting on a rom.
So LOOOONNNNGGGG STORY short make sure you charge it up once you get it before messing with it too much and then it will LAST LONGER.
Sent from My KickAss Captivated CM7 OC'd 1.5Ghz/Undervolted
After two nights of completely draining then recharging the battery to full, the battery has gotten significantly better. I'm trying to drain it again before I go to bed tonight but I don't think I'll make it.
I played the entirety of Toy Story 3 on max brightness, and only burned 20% of the battery!

Battery Drain EXTREMEMLY Fast

Hey guys, I am having a problem with my Amaze, more specifically, the battery is dying absolutely WAY to quickly. For example, yesterday morning, after unplugging my fully charged phone, I dropped it straight into my pocket, and maybe looked at it twice the entire day. When I pull it it at the end of the day, the battery is red, with 8% left. If I were to be using it, the battery would last about 30 minutes on a full charge, most likely. I've also noticed that the phone is really hot, even in my pocket. If it helps, I am on ICS and have been using it since it was leaked in April, however, this problem is new (about 2 days ago is when it first started), as I usually get about 8-10 hours with moderate usage. Can you guys please help me? Thanks!
Well if it just started happening recently, and you haven't made any changes, then the battery may just be going bad... If that's the case, you can call HTC and they will send you one free replacement.
sent from my NRGized Amaze,
powered by faux kernel v.10
could be just the battery.. but if you don't mind me asking - how long have you owned the device? I suggest you dl JuiceDefender from the playstore and see if that helps - Definitely helps my device get through the day with moderate use and one time charge every 1 1/4 a day but this could vary on owners usage. Also, check your settings to conserve battery life such as turning off wifi, gps, auto syncs on your fb, gmail etc. and adjust your brightness to the lowest if possible and OH... less widgets and windows > less power that the battery consumes. Hope that helps!
b33j7030 said:
could be just the battery.. but if you don't mind me asking - how long have you owned the device? I suggest you dl JuiceDefender from the playstore and see if that helps - Definitely helps my device get through the day with moderate use and one time charge every 1 1/4 a day but this could vary on owners usage. Also, check your settings to conserve battery life such as turning off wifi, gps, auto syncs on your fb, gmail etc. and adjust your brightness to the lowest if possible and OH... less widgets and windows > less power that the battery consumes. Hope that helps!
Click to expand...
Click to collapse
Like I said, this just started happening. I didn't just decide to leave all my wifi and GPS and Bluetooth on all day. Also, to answer your question, I've had it since the beginning of the year. I think it's just the battery. I'll call HTC and report back.
cool.. i'm hoping its just the battery.
b33j7030 said:
cool.. i'm hoping its just the battery.
Click to expand...
Click to collapse
Thanks. The overheating does concern me a bit, however.
HarryHyper said:
Thanks. The overheating does concern me a bit, however.
Click to expand...
Click to collapse
you're not alone in that dept but its highly tolerable... look on the bright side.. least you'll have a pocket warmer during WINTER lol
b33j7030 said:
you're not alone in that dept but its highly tolerable... look on the bright side.. least you'll have a pocket warmer during WINTER lol
Click to expand...
Click to collapse
LOL.
Alright guys, looks like it solved itself. Interesting...
I usually only get 6-8 hours on my battery, and its been like that from the beginning. is there something wrong with my phone then?
erkk_69 said:
I usually only get 6-8 hours on my battery, and its been like that from the beginning. is there something wrong with my phone then?
Click to expand...
Click to collapse
Nope, battery life isn't that great with this phone, depending on how much you use your phone and what all you use it for you will get any where from 6-14 hrs + or - some. Also your Rom and kernel will make a difference..
sent from my NRGized Amaze,
powered by faux kernel v.10
I find usually its the user when it comes to battery I get roughly 20 hours with regular use
Sent from my HTC_Amaze_4G using xda premium
HarryHyper said:
Alright guys, looks like it solved itself. Interesting...
Click to expand...
Click to collapse
Nice!... Glad to hear
This happens to me from time to time, and the phone is ALWAYS hot when this happens.
What I've come to discover that it's usually something that' activating the phone while asleep.
The phone is hot, because the processor is being used. That's why the battery is completely dead so quickly, something is pulling it out of deep sleep and causing it to run full bore. The key sign is the phone is hot.
I recommend you get an app that lets you see wakelocks, and what's keeping the phone awake etc (I use GSAM battery monitor) Whenever I notice my phone becoming hot for no apparent reason, I know for a FACT that my battery will be dead in a matter of hours. Lately it has been "Android System" that's the culprit, and I can't quite nail down what is doing it, but it's very random and not much of a problem because I do a reboot and things are back to normal.
First, try to reboot your phone. Get system tuner and see what processes are using the processor when the phone is hot (make sure you show ALL processes, even the default excluded ones). Check the wakelocks. Get battery monitor and check the mA usage (it keeps a running history). When my phone is running optimally, I have a mA drain of around 70-90mA when screen off/deep sleep, and it should maintain this type of drain... when my phone is becoming hot for no reason, I see numbers anywhere from 300-600mA drain for no apparent reason. A lot of the time there was an APP that was offending, so I would first check that. Like I said though lately it has been "Android System" and it's kind of hard to nail that down, but it's so random.
When my phone is cool to the touch most of the time, I know it's running optimally because it's achieving deep sleep. I've found a lot of it has to do with what you had running before you turn the screen off. A reboot ALWAYS fixes it for me. If you can't seem to nail down the offending app, do a full reset back to stock and you should notice that your phone runs very very cool when the screen is off and it's sleeping. I usually get anywhere from 24hrs-2 days of moderate use with the screen off governor set to conservative, and maximum clock for screen off ~600mHZ. I use interactive governor for screen on, but that's for responsiveness and you'll probably have better luck with ondemand for battery life. YOu can set these in System Tuner.
Just remember, if the phone is HOT, it's using energy. If it's hot, something, somewhere, is causing the processor to run at a high clock frequency. If the phone is HOT after being in your pocket/screen off for a good amount of time, something is definitely wrong/rogue app. The phone should never be hot returning from deep sleep. I bet if you check your default battery monitor (The android one) you'll notice that the bar for AWAKE is probably almost solid blue, something is preventing it from going into deep sleep. If I notice my phone is hot when I take it out of my pocket, I immediately know that something isn't right. This should NOT happen.
sportsstar89 said:
I find usually its the user when it comes to battery I get roughly 20 hours with regular use
Sent from my HTC_Amaze_4G using xda premium
Click to expand...
Click to collapse
I'm just past my 9th day of using my Amaze 4G.... so far, if I turn off data and turn off autosync, my drain per hour goes below 1%/hour... so i could get >50 hour idle battery life + 4 hours screen usage
with data on and autosync off, maybe 2%/hour -> this translates to ~ 20hour idle battery life + 4 hour screen usage
with data on and autosync on, maybe 4%/hour -> 10 hour idle battery + 4 hour screen usage
I have only calendar widget on my home page, only Google Accounts on auto-sync (2 mail account, 1 contact, 1 calendar)....
EnergyROM 6.21.2012 ICS 4.0.3, faux kernel 0.07, ankor battery
ericdjobs said:
This happens to me from time to time, and the phone is ALWAYS hot when this happens.
What I've come to discover that it's usually something that' activating the phone while asleep.
The phone is hot, because the processor is being used. That's why the battery is completely dead so quickly, something is pulling it out of deep sleep and causing it to run full bore. The key sign is the phone is hot.
I recommend you get an app that lets you see wakelocks, and what's keeping the phone awake etc (I use GSAM battery monitor) Whenever I notice my phone becoming hot for no apparent reason, I know for a FACT that my battery will be dead in a matter of hours. Lately it has been "Android System" that's the culprit, and I can't quite nail down what is doing it, but it's very random and not much of a problem because I do a reboot and things are back to normal.
First, try to reboot your phone. Get system tuner and see what processes are using the processor when the phone is hot (make sure you show ALL processes, even the default excluded ones). Check the wakelocks. Get battery monitor and check the mA usage (it keeps a running history). When my phone is running optimally, I have a mA drain of around 70-90mA when screen off/deep sleep, and it should maintain this type of drain... when my phone is becoming hot for no reason, I see numbers anywhere from 300-600mA drain for no apparent reason. A lot of the time there was an APP that was offending, so I would first check that. Like I said though lately it has been "Android System" and it's kind of hard to nail that down, but it's so random.
When my phone is cool to the touch most of the time, I know it's running optimally because it's achieving deep sleep. I've found a lot of it has to do with what you had running before you turn the screen off. A reboot ALWAYS fixes it for me. If you can't seem to nail down the offending app, do a full reset back to stock and you should notice that your phone runs very very cool when the screen is off and it's sleeping. I usually get anywhere from 24hrs-2 days of moderate use with the screen off governor set to conservative, and maximum clock for screen off ~600mHZ. I use interactive governor for screen on, but that's for responsiveness and you'll probably have better luck with ondemand for battery life. YOu can set these in System Tuner.
Just remember, if the phone is HOT, it's using energy. If it's hot, something, somewhere, is causing the processor to run at a high clock frequency. If the phone is HOT after being in your pocket/screen off for a good amount of time, something is definitely wrong/rogue app. The phone should never be hot returning from deep sleep. I bet if you check your default battery monitor (The android one) you'll notice that the bar for AWAKE is probably almost solid blue, something is preventing it from going into deep sleep. If I notice my phone is hot when I take it out of my pocket, I immediately know that something isn't right. This should NOT happen.
Click to expand...
Click to collapse
what program do you use to measure battery drain? I use Battery Monitor Widget, but it's not giving me an accurate answer (lets say I had the phone on idle w/o data/sync... the available % is stable over 5 hours (~1% loss per hour), but the current usage says at least -100mAh)
for me, the idle battery drain (apps autosyncing/using data) is the problem
I see my device properly going to sleep (deep sleep is the majority of the usage, not too many wakelocks/processes.....)
with data off and sync off, idle battery usage goes to a minimum
paperWastage said:
I'm just past my 9th day of using my Amaze 4G.... so far, if I turn off data and turn off autosync, my drain per hour goes below 1%/hour... so i could get >50 hour idle battery life + 4 hours screen usage
with data on and autosync off, maybe 2%/hour -> this translates to ~ 20hour idle battery life + 4 hour screen usage
with data on and autosync on, maybe 4%/hour -> 10 hour idle battery + 4 hour screen usage
I have only calendar widget on my home page, only Google Accounts on auto-sync (2 mail account, 1 contact, 1 calendar)....
EnergyROM 6.21.2012 ICS 4.0.3, faux kernel 0.07, ankor battery
what program do you use to measure battery drain? I use Battery Monitor Widget, but it's not giving me an accurate answer (lets say I had the phone on idle w/o data/sync... the available % is stable over 5 hours (~1% loss per hour), but the current usage says at least -100mAh)
for me, the idle battery drain (apps autosyncing/using data) is the problem
I see my device properly going to sleep (deep sleep is the majority of the usage, not too many wakelocks/processes.....)
with data off and sync off, idle battery usage goes to a minimum
Click to expand...
Click to collapse
I use battery monitor widget to measure drain.. as far as accuracy, I'm not sure? I don't know if it's EXACT but it seems to be a pretty good indicator of drain. When in deep sleep the phone usually measures anywhere from 70~mA-120mA. Usually it stays below 100. Before I changed the screen off governor / max freq (screen off) it was almost always 100+. Screen off governor is conservative with a max freq of ~600MHz.
I have no idea how exact it is, but when it's reporting ~300mA, my battery is definitely draining much faster.. and when it's reporting 500-900mA~ my battery is draining incredibly fast, so it at least seems to be a solid indicator of current usage.
ericdjobs said:
I use battery monitor widget to measure drain.. as far as accuracy, I'm not sure? I don't know if it's EXACT but it seems to be a pretty good indicator of drain. When in deep sleep the phone usually measures anywhere from 70~mA-120mA. Usually it stays below 100. Before I changed the screen off governor / max freq (screen off) it was almost always 100+. Screen off governor is conservative with a max freq of ~600MHz.
I have no idea how exact it is, but when it's reporting ~300mA, my battery is definitely draining much faster.. and when it's reporting 500-900mA~ my battery is draining incredibly fast, so it at least seems to be a solid indicator of current usage.
Click to expand...
Click to collapse
On my previous phone (LG Optimus T / Optimus One/ P509, CM9 ICS ROM), Battery Monitor Widget reports more accurate readings (idle with data off= -2mA or -20mA<dont remember>, accurately representing that 1% of battery would last at least 2 hours)
Phone with the new kernel (KozmiK Ruby -0.5a) still goes battery drain crazy (even with Juice Defender installed now).... I hit 10%, then got fed up, turned off data... then the phone slowly sipped battery for the next 3 hours going down only 1%.... sigh
I think Facebook Messenger is the data hogger in my case, since I do use it often... will try a new ROM build without logging onto facebook messenger, see how it goes
paperWastage said:
I'm just past my 9th day of using my Amaze 4G.... so far, if I turn off data and turn off autosync, my drain per hour goes below 1%/hour... so i could get >50 hour idle battery life + 4 hours screen usage
with data on and autosync off, maybe 2%/hour -> this translates to ~ 20hour idle battery life + 4 hour screen usage
with data on and autosync on, maybe 4%/hour -> 10 hour idle battery + 4 hour screen usage
I have only calendar widget on my home page, only Google Accounts on auto-sync (2 mail account, 1 contact, 1 calendar)....
EnergyROM 6.21.2012 ICS 4.0.3, faux kernel 0.07, ankor battery
Click to expand...
Click to collapse
What you said is true, at least for data on - autosync on. My battery last around 10 hours idle + 3.5 - 4 hours on screen usage. It seems that autosync eats a lot of battery. Will try to turn that monster off and see how much it will improve. I have bad habit to push refresh button on gmail/facebook widget, even with autosync on,
I used to get 14-16 hours. Now my battery won't last more than 6 hours. I gotta replace my Anker
Sent From My HTC Amaze 4G via Someone's Room
Most recently I got 1 day and five hours with a fair amount of use by using faux 011 kernel and using CPU editor script to set it to battery saving profile. I'm at 45% right now with fairly heavy use after over 18 hours.
Battery life is totally under your control, it takes some work to get it where you want it.. but you also have the option of buying a bigger anker battery with external charger for $20 and carrying that spare battery, and simply not giving a damn.
Just saying, battery doesn't have to matter for a very small price and a little space to carry the spare battery in your pocket.
Sent from my HTC_Amaze_4G using xda app-developers app

Question about the governor/cpu frequency scaling

I've just done some undervolting and governor changes on my phone... (faux 012 kernel), build.prop added ro.ril.disable.power.collapse=0, pm.sleep_mode=1
On Powersave (where the CPU frequency is locked at the lowest 192mhz, I was able to hit 9mAh(reported by Battery Monitor Widget with HTC Sensation current detection option enabled) on idle with data on, sync on
Reported by the phone's built in stats:
30 min screen-on time, 1 hour phone on time, >12 hours deep sleep, my battery was just above 50%
of course, with frequency at 192mhz, there was major noticeable lag... one time, there was too much stuff running on the phone when it rang, and it couldn't work fast enough for me to answer the phone in time before bouncing to voicemail
lowest noted current usage before change - after change
deep sleep: 20mA | 9mA
screen on idle: 100mA | 60mA
9 hours usage before hitting 50% | >12 hours usage before hitting 50%
I've looked/used at the other available governors....
the interactive is next "power saving" efficient... clocks up from 192mhz somewhat slowly after some use, and goes back to 192mhz
the conservative is next... clocks up very fast from 192mhz use, slowly goes back to 192mhz
the ondemand clocks up faster and goes down slower
all of them clock up from 192mhz when the usage barely passes 50%
anyways... is there a way to customize my own needs? I want the phone on 192mhz until the CPU goes over 90% for 1s, then clocks up slowly... when a phone call comes in, i want it to use as much as it needs... etc
Maybe it's just me, but this phone is pretty fast/stable without missing with out volting
Sent from my HTC_Amaze_4G using xda app-developers app
Spastic909 said:
Maybe it's just me, but this phone is pretty fast/stable without missing with out volting
Sent from my HTC_Amaze_4G using xda app-developers app
Click to expand...
Click to collapse
I just want to be able to maximize battery life when I need(eg when I'm going out and I know I won't be near a phone charger for more than 20 hours, and still need the use of GPS/camera etc)
paperWastage said:
I've just done some undervolting and governor changes on my phone... (faux 012 kernel), build.prop added ro.ril.disable.power.collapse=0, pm.sleep_mode=1
On Powersave (where the CPU frequency is locked at the lowest 192mhz, I was able to hit 9mAh(reported by Battery Monitor Widget with HTC Sensation current detection option enabled) on idle with data on, sync on
Reported by the phone's built in stats:
30 min screen-on time, 1 hour phone on time, >12 hours deep sleep, my battery was just above 50%
of course, with frequency at 192mhz, there was major noticeable lag... one time, there was too much stuff running on the phone when it rang, and it couldn't work fast enough for me to answer the phone in time before bouncing to voicemail
lowest noted current usage before change - after change
deep sleep: 20mA | 9mA
screen on idle: 100mA | 60mA
9 hours usage before hitting 50% | >12 hours usage before hitting 50%
I've looked/used at the other available governors....
the interactive is next "power saving" efficient... clocks up from 192mhz somewhat slowly after some use, and goes back to 192mhz
the conservative is next... clocks up very fast from 192mhz use, slowly goes back to 192mhz
the ondemand clocks up faster and goes down slower
all of them clock up from 192mhz when the usage barely passes 50%
anyways... is there a way to customize my own needs? I want the phone on 192mhz until the CPU goes over 90% for 1s, then clocks up slowly... when a phone call comes in, i want it to use as much as it needs... etc
Click to expand...
Click to collapse
There are several other things you can do which may be more effective than what you are trying to do- or even more effective WITH what you are trying to do.
First, don't lower the minimum clock speed, 384 is the minimum that HTC chose, probably for multiple reasons. As long as your phone is going into deep sleep, it doesn't use ANY processor, and on any governor EXCEPT battery saver, it is VERY rarely idling at the minimum speed.
Next, look at the init.post_boot.sh and init.qcom.post_boot.sh files(you may have one, or you may have both, faux added the second one in later builds) in the system/etc folder, that sets many of the kernel settings. Do some research into how changing the line for "down_differential"(which is 5 stock, 1 increases battery A LOT, but increases lag a bit too), , "up_threshold"(stock is 90, setting to 95 increases battery, but takes longer to get to full clock speed), "sampling_down_factor"(stock is 4, you can lower to 1 for increased battery life, and slightly more lag), "sampling_rate"(latest faux changes to 30000, setting to 50000 means it checks whether to increase/decrease cpu speed less often, and gives better battery life).. changing those values will have much bigger impact on battery life, while adding a little bit of lag at most if you change them quite a bit. Also, look to see if you have a line that says "echo 1 > /sys/devices/system/cpu/cpu1/online", if you do, change it to a 0, 1 forces the second core on ALL the time instead of letting ICS decide when to turn it on.
Next, look at thermald.conf in the same folder, some of the biggest differences in battery life between roms is because of that file- faux replaces it with his later kernels, but I'm not sure if it is to increase battery life, or increase performance. His is definitely different than any rom I have seen, and people report much improved battery, and that file is likely why.
Doing all of these things with system files rather than with a 3rd party CPU app means the phone will deep sleep more, and be more responsive, because there is no app constantly running in the background trying to make changes on the fly. Also, you can find "battery saver" scripts that can be put into the above files that have their own tweaks you can make if you are determined to use that governor- but battery saver tries to constantly stay at the minimum speed possible(if you read it in some places, it simply stays at minimum speed PERIOD), and will have the most extreme lag, with a questionable amount of increased battery life compared to a tweaked on_demand governor.
And last, before undervolting, try decreasing the max speed of the core.. you can lower it by 1-2 steps and notice NO difference in speeds, yet get far better gains than undervolting, without creating instability. The volts that HTC chose are probably the very minimum that works well for all of our phones, as undervolting by 12.5 may work fine on my phone, but may introduce random reboots or worse on yours- once you undervolt you simply can't troubleshoot any issue on your phone, because the UV could be the cause instead of anything else..
There is more than that you can do also, like making sure that your screen-on and your actual usage numbers are almost EXACTLY the same- get an app like betterbatterystats(available free on XDA) to see what partial-wakelocks are keeping your phone from deep-sleep.. the higher the % of deep sleep, the less you have to worry about ANYTHING to do with the CPU, since the CPU isn't being used at all..
paperWastage said:
I just want to be able to maximize battery life when I need(eg when I'm going out and I know I won't be near a phone charger for more than 20 hours, and still need the use of GPS/camera etc)
Click to expand...
Click to collapse
If you do everything I said above to maximize battery on the on_demand governor, you can use a CPU app to change to battery saver governor when you know you won't be near a charger, and you just want basic functionality(no games, browser, etc), and DONT set on boot.. that way on reboot it defaults to normal governor.
I tweaked all the things I said above and get at LEAST 16+ hours with 3+ hours of screen on, and will get over 24 hours if I underclock to around 1.2ghz.. battery saver isn't even needed if you set everything else right.
Or you can buy 2 1900mah ankers and an external charger for 29.99 and free shipping on amazon, and simply carry the spare charged battery, and never care again.. much simpler fix if you ask me.
thanks for the tips Silentbtdeadly. I'll look at them this weekend
I am already using the Anker 1900mAh battery, with the latest faux kernel and energy stock ICS rom...
I get maybe 15 hours from 100% to 10% with ~1-2 hours of usage
From looking at BetterBatteryStats, it looks like the phone is falling into deep sleep properly with no obvious problems with wakelocks/alarms...
If I left my phone unplugged overnight with data on and autosync, it levels out.... lost 9% over 6 hours
I think I just have 2 main problems:
Drain from 100%->80% is fast after unplug... I think it takes 30 minutes to get to 90% and another 60 minutes to get to 80%. BBS shows phone in deep sleep, Battery Monitor Widget shows mA usage ~50mAh with -2%/hour, but the %-left slopes down a lot, since i did lose 20% in 90 minutes
when I turn on the phone and use it for <1 minute and put it back to sleep... Battery Monitor Widget shows a sharp drop in %-left even though BBS shows falling into deep sleep
I guess my problem might be the battery-monitoring hardware/firmware... I just received the Digital Timer, will try Bump Charging to see if I can get 16-20 hours with 3 hours of usage
paperWastage said:
thanks for the tips Silentbtdeadly. I'll look at them this weekend
I am already using the Anker 1900mAh battery, with the latest faux kernel and energy stock ICS rom...
I get maybe 15 hours from 100% to 10% with ~1-2 hours of usage
From looking at BetterBatteryStats, it looks like the phone is falling into deep sleep properly with no obvious problems with wakelocks/alarms...
If I left my phone unplugged overnight with data on and autosync, it levels out.... lost 9% over 6 hours
I think I just have 2 main problems:
Drain from 100%->80% is fast after unplug... I think it takes 30 minutes to get to 90% and another 60 minutes to get to 80%. BBS shows phone in deep sleep, Battery Monitor Widget shows mA usage ~50mAh with -2%/hour, but the %-left slopes down a lot, since i did lose 20% in 90 minutes
when I turn on the phone and use it for <1 minute and put it back to sleep... Battery Monitor Widget shows a sharp drop in %-left even though BBS shows falling into deep sleep
I guess my problem might be the battery-monitoring hardware/firmware... I just received the Digital Timer, will try Bump Charging to see if I can get 16-20 hours with 3 hours of usage
Click to expand...
Click to collapse
Careful with battery monitor widget, the way it polls the battery creates its own drain.. there is another widget called currentwidget that can actually log how much energy is being used by an app, it too can drain a lot, but it could show you if a certain app is using an absurd amount of power.. I have more info for it in the battery saver section of the bible in my signature.
I think about 16 hours with 2-4 hours of screen on is the most that can be gotten without seriously degrading the performance. If you set the governor options like I said in the last post and under clock a little, you will get a little lag on minor things, but the phone is still quite usable, and 24 hours is totally doable at those settings with 3-4 hours screen on.
Do realize the anker batteries aren't perfect, I bought two at once.. one gives me much more battery life than the other does even tho they were bought together, so that could be a factor too. I try to maximize battery life, but I'll carry a spare charged battery so I don't worry too much, it is the best solution thus far.
Sent from my HTC_Amaze_4G using xda app-developers app

Categories

Resources