[Q] strange battery / cpu stats issue - HTC Incredible S

I have a strange problem with battery and cpu stats on the phone, ever since I rooted and upgraded from GB to my first custom ROM as per this page:
http://forum.xda-developers.com/showthread.php?t=1908187
So, my phone is:
Incredible S (duh)
Revolutionary HBoot
Clockworkmod Recovery
The ROM is supposedly just an unlocked but otherwise unmodified ICS RUU from HTC, so
Android 4.0.4, HTC Sense 3.6
Radio: 00_24_M
Now the problem. Using the built-in Battery setting, I can see the the discharge chart and the items using the power, as before. But what's weird is that only Screen, Wifi, and Cell standby are ever listed. And Screen takes like 90%. No Android system, no apps ever show up here. And mobile network signal within the chart is always gray/yellow, even though I have full bars of reception most of the time.
If I use GSam Battery Monitor, I can see that App actually uses up 80% of the battery, whereas the screen takes up about 16%. This looks more plausible based on my usage. And GSam shows the phone signal as constant at 40% (and 0% when I go into airplane mode).
And if I use CPU Spy, it complains that it can't read the file /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state. This might explain why in BetterBatteryStat, the CPU States page is blank (unlike before the upgrade).
In short, it looks like some stats files aren't be generated / made readable.
Any help?

boubule said:
I have a strange problem with battery and cpu stats on the phone, ever since I rooted and upgraded from GB to my first custom ROM as per this page:
http://forum.xda-developers.com/showthread.php?t=1908187
So, my phone is:
Incredible S (duh)
Revolutionary HBoot
Clockworkmod Recovery
The ROM is supposedly just an unlocked but otherwise unmodified ICS RUU from HTC, so
Android 4.0.4, HTC Sense 3.6
Radio: 00_24_M
Now the problem. Using the built-in Battery setting, I can see the the discharge chart and the items using the power, as before. But what's weird is that only Screen, Wifi, and Cell standby are ever listed. And Screen takes like 90%. No Android system, no apps ever show up here. And mobile network signal within the chart is always gray/yellow, even though I have full bars of reception most of the time.
If I use GSam Battery Monitor, I can see that App actually uses up 80% of the battery, whereas the screen takes up about 16%. This looks more plausible based on my usage. And GSam shows the phone signal as constant at 40% (and 0% when I go into airplane mode).
And if I use CPU Spy, it complains that it can't read the file /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state. This might explain why in BetterBatteryStat, the CPU States page is blank (unlike before the upgrade).
In short, it looks like some stats files aren't be generated / made readable.
Any help?
Click to expand...
Click to collapse
So just rely on your GSam battery monitor. Or better yet, use Android Revolution HD or Blackout. Both are based off the ICS RUU (I forget which one and I'm too lazy to find it right now) but they are both modified and tweaked here and there with the latter having many more Mods and tweaks etc. I personally recommend Blackout because I always though of it to be a very speedy, yet battery efficient ROM for me.

Related

Battery Drain on G1

Guys,I own a T Mobile G1 Android 1.6 Phone and recently I’m facing some problems. The problem that appeared recently is with the battery drain. before some days ago the battery of my G1 lasted up to 4-5 days, without using Wireless, GPS, and Bluetooth. If I used the mentioned services normally the battery lasted up to two days. But recently the battery is draining too fast. Within 4 hours the battery goes down less then 15% even I do not use any mentioned services. I keep my phone on standby, without talking a single minute with the phone, not using any service etc, and again it goes down very quick. I took some measures according to HTC instructions how to save the battery but again it does not function. I uninstalled all applications and reset the phone to factory setting by again same thing. Then I searched on the Google some instructions, I tried also that one’s but again it does not function. I always used HTC charger that came with the phone but again same problem. What is the strangest thing that after some days the battery gets back and works perfectly for two weeks, which means I use the phone normally without charging 4-5 days. As I operate very well with the smartphones, Pocket PC’s etc I start analyzing G1 and monitoring very closely why the battery goes down, I monitored for a long time the query under the :About Phone-Battery use- and I see there that Andorid OS is using the battery from 76% up to 85%. Now it came to my mind that something is keeping engaged or it keeps running the Andorid OS always on. Then I suspected that thre my be any virus on my phone, but I installed form Market Flexilis/lookout antivirus application, but there was no virus and again the battery goes very quickly down. As I said after sometime the system returns to normal and the battery lasts for 4-5 days, and when I check the information under Phone,Battery use, I see that the Andorid OS is spending only 6% of the battery. Comparing with the previous description it is a huge difference. According to my opinion there is a small problem with any file which keeps always running to much the Andorid OS. Can you please give me any instruction why Andorid OS is spending that much the battery? Or give me any instruction how to prevent this operation that keeps Android OS to much engaged? or is there any programming mistake?, is there any need for update?, do I need to root my phone as it is not rooted? The reason why I’m thinking that there is a technical problem is because sometimes the system gets back to normal and sometimes it goes out of normal running. I appreciate a lot if you could help me to resolve the mentioned problem.
I've noticed the same thing on my G1 sometimes there is fast battery drain and it seems associated with Android OS. The percentage is over 70%. I also notice it be associated with the display as well. Could be that there is some process that won't stop running and is using Android OS or it could be that on other occasions the display is not going into sleep mode properly. I wish I knew how to fix these problems but I don't. I just observe them.
The battery issue, is an up and down problem for me. Sometime I can go through it in one day or less, other days it will last me for 2 plus days.
It also could be that the battery need replacing. Who's know.
I just bought a 2nd hand G1 - works just fine. I rooted and installed CM6.1.
My battery drains within 1-2 hours. I've tried various methods of resetting stats, with no luck. How frustrating! I wonder if it's a battery hardware problem or software?
battery
I also faced bad battery life on various roms. Since I'm using COS-DS (android 2.3.3) http://forum.xda-developers.com/showthread.php?t=950765 and the Biffmod kernel http://forum.xda-developers.com/showthread.php?t=950765 the phone runs more than 24h when texting and calling. Of course you should apply the 14MB RAM hack in comination with this kernel http://forum.xda-developers.com/showthread.php?t=831139. On standby (everything off, except data and 3g) my G1 runs >48h, before it needs to be plugged in.
-
mqazimi said:
I monitored for a long time the query under the :About Phone-Battery use- and I see there that Andorid OS is using the battery from 76% up to 85%.
Click to expand...
Click to collapse
Sounds like the basic description of the USB Charging Bug.
The bug triggers if the G1 is using a kernel starting 2.6.35 and onward tree, and charged using the USB instead of AC wall charger.
A couple of option to avoid the super discharge after that (you can use either);
1. Reboot after you unplug the USB charger.
2. Change kernel to one from 2.6.34 tree
You can also visit the Dev sub-forum, there's a thread there discussing the debugging process.
It is so unpredictable for me...I have just got into the habit of a reboot after unplugging USB.
Battery drain on the G1
I have the same problem. Even on standby it drops to less than half of its battery life. Sometimes its worse. today i noticed that the battery percentage was at 84. Next thing I know the phone reboots itself and it displays that it has 1% battery, battery icon empty all in red and LED flashing in red. Then I turn it off connect it to the charger, after a couple of seconds I turn it back on and says its 90 something percent. Could be a virus or just a battery bug,that's my guess. I scanned the phone with Lookout Security and there was no Virus,malware or spyware found.
I want to try different kernels for this battery issue but want to make sure I am installing the right one.
I have CM6.1 with 2.22.23.02 radio and DangerSPL installed. Can I just load any of the kernels built for EBI0?
Specifically, can I flash the kernel in the 1st post here? http://forum.xda-developers.com/showthread.php?t=1010932
Thanks.

[Q] Major Screen Battery Drain Help

Alright so I've been running the cyan nightlies, I just updated to the latest one, installed the battery fix. Everythings working fine, put my phone down for and hour and the batt is at like %75, I go under battery use and it puts the screen at 79%, is this normal? I had my screen off most of the time and when it was on it wasnt bright and if this isn't normal how can I fix it?
Have you rebooted to see if it does this after every reboot? Try rebooting normally then see if its still doing it.
If so, then reboot into recovery, wipe dalvik, then reboot normally. Check your battery stats again after a couple hours and see if it's still doing it after the dalvik wipe.
(FYI, this belongs in Q&A section)
can you link to the battery fix plz?
I have had very high display usage on every version of CM6, and you will find it is a VERY common complaint on CDMA Hero's running CM6.
Everyone says it's because Froyo is more efficient, and uses less battery overall, so your display percentage is higher.
I call B.S. on that. I have had poor battery life with the more than 20 nightly versions I have run. I have had the Hero since the day before it came out, and I have never had worse battery life. I even bought a new battery thinking my battery was dying on me, and I still won't make it through a day (7 am - 11 pm) without plugging the phone in during the day.
My guess is there is something up with the display/lights/light sensor drivers that have been implemented in CM6 that don't allow something with the display to sleep properly. Either that, or the battery usage screen is simply completely inaccurate.
I could literally reboot my phone, leave it untouched with the screen off for four hours, then turn on the screen for one minute, and the display usage would shoot up to 50-75%. There is no way one minute of screen usage is using more battery than 4 hours of phone standby using the radio, checking email/twitter/facebook/gmail.
Anyway, that's just my opinion on the matter. Other than the battery life, the newest nightlies of CM6 are simply incredible, so I just deal with the poor battery life.
@ziggy682 -- Thanks for that info. I haven't yet tried CM6 (mainly cuz I'm so dependent on some Sense apps and widgets), and now that I'm reading about some battery issues I may hold off on trying it even longer.
@omair2005 -- if you haven't found it yet, here's the new thread on collin_ph's battery tweak specifically for CM/darch ROMs: http://forum.xda-developers.com/showthread.php?t=762283

[Q] Battery Life on Froyo (Dream/Sapphire)

Simple Poll.
Have you seen a decrease or increase?
Someone can explain this battery drain?
in a lot of roms based on 2.2.1 there is a big battery drain, in some other there isn't.
nagash91 said:
Someone can explain this battery drain?
in a lot of roms based on 2.2.1 there is a big battery drain, in some other there isn't.
Click to expand...
Click to collapse
Reboot after unplugging from USB and battery drain is gone. For further improvement install SetCPU and reduce min/max frequency. I am getting more or less the same lifetime as with donut ROMs.
AndDiSa said:
Reboot after unplugging from USB and battery drain is gone. For further improvement install SetCPU and reduce min/max frequency. I am getting more or less the same lifetime as with donut ROMs.
Click to expand...
Click to collapse
OK I have done.. but the problem is that when I use it 3 o 4 minutes (for example I install an application using a file explorer, then I read a message and then I come back to home) m battery get 5% lower...
In standby I lose 10% in 6 - 7 hours (I think this is normal).
AndDiSa said:
Reboot after unplugging from USB and battery drain is gone. For further improvement install SetCPU and reduce min/max frequency. I am getting more or less the same lifetime as with donut ROMs.
Click to expand...
Click to collapse
I am currently without a computer therefore immune to this USB bug. I flashed CM6.1 to this and the other g1 and both suffered substaintial amounts of battery drain so I nandroid restored back to CSDIv4 and still the lowest frequencies and settings did little to combat the descending digits. So I tried this...
Recalibrated my battery
Flashed SuperWipe.zip
Reboot
Flashed SparksMod's latest
Reboot
Wiped battery stats
Unplugged...reboot
Battery lasted 23 hours the first day never seen anything like it.
Lifes great.
Sent from my HTC Grandaddy via XDA app
Sent from my HTC Grandaddy via XDA app
I'm using TMUS-G1-Froyo CM6 remix..
and I'm using the new radio with +14mb.
The rom flies but the battery go down too fast.
I'm using setCPU with 256 - 528 mhz while screen is on, 122 - 256 mhz while screen off.
If I go to battery use in settings I see
Cell standby 45%
display 28%
phone idle 22%
android system 3%
I don't think is normal... cell standby is the battery use by cell radio..
I wonder if the new radio give a big battery drain..
nagash91 said:
I'm using TMUS-G1-Froyo CM6 remix..
and I'm using the new radio with +14mb.
The rom flies but the battery go down too fast.
I'm using setCPU with 256 - 528 mhz while screen is on, 122 - 256 mhz while screen off.
If I go to battery use in settings I see
Cell standby 45%
display 28%
phone idle 22%
android system 3%
I don't think is normal... cell standby is the battery use by cell radio..
I wonder if the new radio give a big battery drain..
Click to expand...
Click to collapse
I got real excited when I heard about the new radio and hboot even thought that its exclusion was the source of the the battery issues. Haven't been able to try it as I'm without a up-to-date PC at the moment.
It would be real nice if I could find a seasoned dev who understands battery consumption. I thought the kernal was the main culprit but I've tried two different roms with the same kernal and one has notably better battery life than the other. So confusing.
Sent from my HTC Grandaddy via XDA app
I can't use my phone with this battery drain...
I will come back to official android OTA-AOSP 1.6.. with +14mb.
So I'll test if this kernel with 14mb is a cause of battery drain.
PS: I'm not a lover of rom customizations.. I think the official roms are the best.
The other are all too heavy. I'm not a fan of cm kernel, that is too heavy for g1.
I would see an official OTA 2.2 without customizations, so every one could customize as he want, and if he want.
PS: OK I flashed AOSP 1.6 using ezBiff_kernel to have 15mb (cause I have new radio and spl, so I can flash roms only using this kernel).
Result: my battery life is similar to froyo 2.2 roms... so the problem is:
1) Kernel? (ezBiff_kernel is based on cyanomod kernel... ... ... heavy as death)
2) New radio/spl?
3) My battery (I don't think so.. it's new battery. I buy it 2 weeks ago and in the beginning it works so well.. but then I flashed new radio/spl and new kernel for 15mb..)
nagash91 said:
1) Kernel? (ezBiff_kernel is based on cyanomod kernel... ... ... heavy as death)
Click to expand...
Click to collapse
Come now.. the cm pershoot kernels are super optimized so they don't collapse under the heavy as death rom that is usually on top of it..
I get mixed results with that kernel between testing and feedback.
A test phone can idle on wifi+2g for days on the stock g1 battery even after a usb unplug.. but on more common use with syncing services its not performing as well as I'd like..
Some of it is fixed with less swap/compcache or changing clock speeds 122/480 for most the speed but lower voltage levels. Also the interactive governor may work better.. I'm testing these ideas if results are good my next kernels defaults will use them.
Cm/pershoot have some interesting new power management code from other htc devices.. So hopefully soon all will be better. (I merged most of it to my kernel but there are some loose ends.. works well untill the phone locks up.. so no public release yet)
ezterry said:
Come now.. the cm pershoot kernels are super optimized so they don't collapse under the heavy as death rom that is usually on top of it..
I get mixed results with that kernel between testing and feedback.
A test phone can idle on wifi+2g for days on the stock g1 battery even after a usb unplug.. but on more common use with syncing services its not performing as well as I'd like..
Some of it is fixed with less swap/compcache or changing clock speeds 122/480 for most the speed but lower voltage levels. Also the interactive governor may work better.. I'm testing these ideas if results are good my next kernels defaults will use them.
Click to expand...
Click to collapse
Ok sorry I talk without knowledge. I really don't know the effect of the cm kernel. I only know that all roms based on cm release, with cm kernel, are so heavy and slow.
I like your rom (2.2.1 AOSP) and I love your new way to get 14mb.
But I have this orrible problem. My phone has a lot of battery drain when I use it. With screen off, no problems.
I have never used swap or compcache in this days, and I also try different clock speeds (not over 528mhz).
The result is that when I unlock my phone, I go to settings, I see for example 95% battery. Ok, I return to home, I open a message, I return to home, I open contacts and I scroll some contacts without make calls.
Then I come back to battery settings and I see that is 92-93%..
in 2 minutes of soft use.. I think this is impossible. If I open stupids 2D games... ahah in 5-10 minutes my battery lose 10 - 20%.
I remember 1 year ago, with 1.6 (no cyanomod) my battery was good.
Now it isn't (I have a new battery).
Today I flashed aosp 1.6 with your kernel for 14mb (I have new radio&spl) but nothing... I lose a lot of battery percent as in froyo.
So I think problem is or battery calibration, or something to wipe, or cm kernel, or new radio&spl + your new kernel...
Now I'm recalibrating battery (is at 1% from 2 hours, I'm not using it.. ) then I will recharge for 8 - 9 hours and then wipe battery state, but I have done this process a lot of time without a benefit.
I'll try to remove the new radio+spl (so also using standard kernel) if my battery continue to lose percents so fast.
I'll keep you update on my "story".
PS: Sorry for my bad english!! XD
OK.. after a day of low discharging and a night of 8 hour of recharging, I wiped battery states, I wiped data-cache-ext ecc... I flashed aosp 1.6 and ezbiff kernel..
"battery drain" continue...
I will try tomorrow to reflash death-spl and old radio..
BTW, is normal for hours battery 4v at 90%?
On the back of the battery sais 3.7v... I thought 3.7 was the voltage for 100%
Update
I know this thread is a little old, but I ran into this problem as well. What I found was that the official US radio (2.22.23.02) used considerably more battery than the international one (2.22.19.26i). The other thing I noticed is that switching to "use 2G networks only" in mobile networks settings and disabling data over mobile drastically improved battery life.
I also noticed that wifi used a fair bit of juice so my recommendation is to disable wifi if you're going to be on the go for a bit, and disable data/3g if you're just going to be hanging out in the local webcafe, your/a friend's house, or some other location with wifi access for a while.
If you wanted to be ambitious and cared enough you could write a script to use as a shortcut on the home screen to do the swap automatically (detect which setting(s) are enabled and swap them to the opposite).
With those changes, you should get much better battery life. My thoughts on different Froyo flavors is that possibly different builds have different settings by default. Cyanogen comes with data and 3g enabled by default so this will quickly suck out your battery if you're running your 3g, 2g and wifi antennas all at once.
The stock build (1.6) got about the same battery life as I'm getting now with those settings applied. With either build, having all antennas on all the time will drain your battery very rapidly. Being a little more cognizant of the settings (perhaps you also had it set to 2g only on the stock build) you're using will significantly improve your battery life. And when I say significantly, I mean night and day (but the antenna version definitely does also make a difference... at least in my case).

[Q] Samsung Galaxy Note critical battery life after 4.1.2 update

Hello!
I know that there were a lot said about battery problems in 4.1.2 android, but i still haven't found any solution on my problem. My Note was bought with GB 2.3.6 and had an awesome battery, but after i updated it to JB 4.1.2 (via Kies), suddenly battery life is catastrophic. I have everything off (bluetooth, wi-fi, gps), my screen brightness is on minimum, i use my phone on GSM band (not 4g), i also disabled some of unused apps, etc...everything said was also my practice on previous version 2.3.6 and phone battery lasts up to 4 days, but now, it drains off in 17hrs and I barely use my phone!
If I check battery stats, it shows that screen is the major consumer of battery and it seems like it is on all the time, although the phone screen is physically off most of the time. It means something causing my phone being awake all the time instead of being off.
Any ideas how to fix this??
ajvek8558 said:
Hello!
I know that there were a lot said about battery problems in 4.1.2 android, but i still haven't found any solution on my problem. My Note was bought with GB 2.3.6 and had an awesome battery, but after i updated it to JB 4.1.2 (via Kies), suddenly battery life is catastrophic. I have everything off (bluetooth, wi-fi, gps), my screen brightness is on minimum, i use my phone on GSM band (not 4g), i also disabled some of unused apps, etc...everything said was also my practice on previous version 2.3.6 and phone battery lasts up to 4 days, but now, it drains off in 17hrs and I barely use my phone!
If I check battery stats, it shows that screen is the major consumer of battery and it seems like it is on all the time, although the phone screen is physically off most of the time. It means something causing my phone being awake all the time instead of being off.
Any ideas how to fix this??
Click to expand...
Click to collapse
4 days? really? think that is unheard of. Either how, it should last longer than 17 hours.
Try going back to factory settings, perhaps theres something running thats divided by zero :silly: .
If you feel adventurous you can also choose to root & try a custom rom. Though thats your responsibility and choice entirely.
Anthropostar said:
4 days? really? think that is unheard of. Either how, it should last longer than 17 hours.
Try going back to factory settings, perhaps theres something running thats divided by zero :silly: .
If you feel adventurous you can also choose to root & try a custom rom. Though thats your responsibility and choice entirely.
Click to expand...
Click to collapse
Yup 4 days, not kiddin...4 days of average use.
I forgot to mention that i already did the factory reset and i also wipe the cache partition in recovery menu... I disabled practically everything, and i use things when i need, nothing is set on auto, sync or anything. Last night I didn't touch the phone for about 9 hrs and battery consumption was around 1% which is ok, but it's draining everytime i turn on the screen like 5% in 10mins. BBS shows that well known GTALK_ASYNC_CONN as a battery eater. Is it possible to kill this annoying thing on un-rooted phone???

horrible battery

Is it just for me? After a full charge the screen on time is about 2 hours.. Tried cm11 and other custom roms without luck.. When i bought the phone and wasnt on KitKat the screen could pass 4hours. Huge different!
In battery info the only program that drain the battery is the system it self . any tips?
check your rom and kernel, any overclock setting is active.
check battery usage to find what drain your battery.
Mine have 4h30 - 6h screen on (just wifi, without mobile data)
hxq88 said:
check your rom and kernel, any overclock setting is active.
check battery usage to find what drain your battery.
Mine have 4h30 - 6h screen on (just wifi, without mobile data)
Click to expand...
Click to collapse
No overclock set.. Just the system thats drains battery..
@colors Battery life isn't as good as I think it could have been but at completely stock and with nothing on the phone the phones battery is pretty phenomenal, an idle Z1 will stay on for over a week, infact i've seen some phones with 19 days before now quoted within stamina mode.
Just took a pic of one in my workplace and it's saying just over 19 days, that's not too bad for a phone which is always on and capable of receiving apps via wifi (see picture attached)
I know that 19 days is excessive and no one here is ever going to get anywhere near that or even a week, unless you don't use the phone, the problem most of us face is the apps that we use and their footprint on our phones, affecting battery life and performance.
Take a good look at your apps and what you use and see what you could do without or what could be affecting battery.
A clean install will usually give you great battery if theres nothing on the phone to slow it down, eliminating apps one by one might seem mundane but it's key to great battery life, after a while you'll learn whats bad and whats acceptable.
Using the likes of CM11 could cause even greater battery drain as it's all custom stuff, not to mention that some things within the system aren't working as good as they could be, there is still a lot of work before things are perfect, double tap to wake for example is a feature which could cause massive drain.
Always perform a full wipe and don't restore anything via recovery, leave it as a bare rom until you can verify the ROM you are using is without issue.
Hope this helps

Categories

Resources