yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] jcrompton:
Battery Life Issues

I have asked similar question before that didn't get answered. If anyone has any input please let me know:

I have been using my Desire for the last several weeks (gave my iphone 4 to my daughter). The main reason I even stopped using the Desire in the first place was poor battery life. I have mainly been using LeeDroid ROM and this DeFrost ROM. I actually prefer the feel of the DeFrost ROM but I have finalized the "testing" this AM - it would appear that there is at least a

20% worse battery life

with the DeFrost ROM - with all other factors being equal. This wouldn't be so bad but by noon at work with no phone calls or heavy use I'm down to 50 - 60% battery. I have SetCPU installed, I've changed screen brightness to whatis really too low ..

Does anybody else, who might have used both ROM's have any ideas as to why this might be happening ?? Any ideas on increasiong battery life with this particular ROM?
[Desire Android Development] olaxe:
i can absolutely not confirm this problem.

some examples mit constant consumtion:

time: 4h / drainage: 5% with mobile internet on

time: 3h / drainage: 1% nothing switched on

time: 3h / drainage: 15% with music playing

for me this is totally ok.

whats your defrost, kernel and radio version? (OJ death)

you can also try apps like "system panel" to see your CPU usage and by which process its caused.

bye
[Desire Android Development] danarama:
Likewise, I am a heavy user, I can take it from 08:00 - 22:30, no charge, over 2 hours screen on, browser, wifi etc, still 20,30% left.
[Desire Android Development] richardtrip:
HAVS 4.9d test kernel

New 2.6.35 HAVS kernels posted (4.9d).

This is a test kernel to make sure the wake problem isn't caused by a shared interrupt from wlan.

please test.
[Desire Android Development] UpSpin:
Using DeFroST 4.9 with SVS 998MHz 2.6.34 (more stable) and the CG CircleMod + colored Icons

Had a BSOD, or somehow the new one.

The phone was connected to the charger, the green LED was on, I tried to turn it on, no reaction. Removed the charger, no reaction, green LED continued to light.

I connected it to my PC, ran adb shell dmesg, logcat and bugreport with the results attached to this post.

I hadn't any issues with DeFroST 4.7 and SVS kernel, however, there I also haven't used the CircleMod (wasn't available).

Don't know if it's related with this, because I use the 2.6.34 kernel at the moment, the same I used on DeFroST 2.7, so there's absolutely no other difference, I think ;-)

PS: It seems as if WLAN and GPS was turned on (at least it is after the reboot). While using 4.7 I haven't used WLAN that often, nor GPS.
[Desire Android Development] buzmay:
Why when after I have flashed the WIFI N kernel, I try to turn on the wifi mode on my desire and get ERROR.

Does anybody knows how to fix it or why is this problem??
[Desire Android Development] jcrompton:
It's the strangest thing for me - with side by side comparison of the two different ROM's.

With DeFrost I can have nothing on at 5AM except, turn on the display for a few brief seconds 3 or four times to check to see what time it is and by 7:30 AM I'm already down to 90% battery. My TouchDown doesn't even start push sync until 7AM.

With LeeDroid I would be at 95 or 96%.

When I run programs to check battery usage - it gives me mostly display usage.

I have tried multiple Kernels with about the same results BUT the main reason I can comment so positively (or negatively) is that there was the side by side of the two different ROM
[Desire Android Development] Dramiro:
Very BAD experience, two reboot one sleep forever.... :-(

And I try to install HAVS 4.9d 998 and I cant... give me one Error

Installing DeFroST_4.9d_havs_1113Mhz.zip no problem.
[Desire Android Development] asmaridis:
Did you try to re-calibrate your battery? That might do the trick. That is, assuming you have Clockwork recovery (haven't tested with any other):

1. Plug (charge) your phone while it's on until LED turns green

2. Unplug your phone and turn off your phone

3. Plug your phone again until LED turns green

4. Unplug your phone and boot into recovery

5. Wipe battery stats (from recovery) and reboot phone

Let me know if that helps.
[Desire Android Development] jcrompton:
I will try and report back, but as I said it probably won't help because I'm comparing side by side ROM's - not just complaining about one particular ROM. There just seems to be such a drastic difference between the two ???
[Desire Android Development] buzmay:
Hi Richard,

Sorry to be a pain in the ass but as a developer I guess there is nothing better than people testing your software and let you know about bugs.

Therefore I would like to let you know that Bluetooth transfer does not work at all, and neither sending or receiving MMS.

Hopefully this could be fixed in the next upgrade because defrost is the bomb :D

By the way now testing 4.9d HAVS kernels :)
[Desire Android Development] shokwaav:
one thing i've noticed.... when i power off my phone, it reboots!!! lol something abt the poweroff command isn't right and it reboots the phone..
[Desire Android Development] Dramiro:
CyamogenMod, Have the same problem with wake up:

http://forum.cyanogenmod.com/topic/6865-cm60x-semi-randomly-wont-wake-up/
[Desire Android Development] Marsbar:
Sounds quite likely. I'm trying to think what proportion of my crashes have been when I'm at home (logged on to Wifi) as opposed to work (not), I'm struggling to remember the last time I had one at work.

Giving it a try anyway, thanks as always for your efforts.
[Desire Android Development] richardtrip:
I am aware of this. It looks like it is happening on havs more frequently but that could be a plus for debugging.
[Desire Android Development] Dramiro:
I have the problem whe the Wifi is OFF and the last reboot whe I try to push on the Bluethoo... and push off the Wifi
[Desire Android Development] danarama:
You should calibrate the battery or even maybe wipe battery stats from recovery when you change roms.

I get a lot of screen drain too, but it doesn't seem abnormal.
[Desire Android Development] jcrompton:
Titanium backup restore - beware !!!!!

I think I may have found the issue - (I know , I know you guys probably think I'm stupid ...) but I'm reporting for others ! I have been trying to install the ROM and then do a Restore with Titanium Backup with apps and data. This just seems to cause some major issues. Not sure why it would cause battery drain??? but it does seem to be. I have not reflashed the ROM and installed things fresh and the battery life is already noticably better!
[Desire Android Development] nitrox1:
Don't install system settings between the different roms, with titanium, it does cause problem.

Apps and data are fine.

Havs 4.9 d, up for 14 hrs, no problems.

And s-off worked well from defrost 4.9.

Sent from the 25th century.
[Desire Android Development] Semicuda:
I can't agree, 4.9d just died tonight... didn't wake up or turn on with the power button, had to yank the battery. ADB didn't connect, either.

Data, WiFi and Sync were off, btw.

(Did a full wipe before installing 4.9, no backup of any kind used)
[Desire Android Development] rPAD:
s-off

could someone explain what this is and should it be on or off?
[Desire Android Development] kokson:
Hello

I have the problem, that i can't see any flash websites.

It says that i have no flash player, but its installed in the application manager..
[Desire Android Development] buchman:
You could just search it, there is loads of threads in the development forum on it.

Sent from my HTC Desire
[Desire Android Development] Bart1981:
I also had a problem with flash, but just installed it through the market (adobe flash 10.1), and after that I could just play flash on websites.
[Desire Android Development] wingnutta:
First of all - apologies but...

*Start of rant*

For the second time yesterday i had to reflash original RUU rom then re-root followed by nandroid restore to get back my phone. This was extremely inconvenient as i was 200 miles away from my pc and was without a phone for over a day!

I have narrowed down the reason why - which was using mobile data network - i attempted to download a simple app (about 4 meg). The phone hung at about 5% - did a reboot, and as feared - it then hung on the o2 splash screen! Could not get into recovery (hangs at splash screen again) so the phone was kaput :mad: .

So its at the point now where i feel i cant use the mobile network to download/browse when away from home, as the phone may or may not go belly up. Not happy with this.

I love the ROM and i really do appreciate what Mr Trip (And others) have done for me in enjoying my phone. However i think it is time to move on....

Unless someone can give me a defo answer as to why it does this, then i think VillanRomHD will be by next port (excuse the pun) of call..

*End of Rant*

Please understand i am not in anyway having a go at anyone as putting a custom ROM on my phone is totally my own decision...I so appreciate the work gone into this ROM... Its just I am just so frustrated.

If anyone does know the solution then it may help others at a later date... (Or may change my mind ;) )

Cheers :)

ps - using 4.9 with standard kernel that comes with the ROM.
[Desire Android Development] Dragooon123:
Richard, what would be the kernel branch for SVS 4.9c kernel?
[Desire Android Development] Marsbar:
First of all, sorry to hear you're having such a nightmare, I think although everyone knows there's a risk when we install these ROMs no-one expects it to happen to them...

When you say you couldn't get into recovery you mean you can't get to the bootloader screen by holding the back button + poweron? Or you get to that screen but the phone then freezes when you hit the "recovery" option? Sounds like the SD card might have got a bit borked, if it can't load update.zip. What size is your SD, incidentally?

You mention the o2 screen, I guess you have a branded phone; did you root using unrevoked or goldcard?

What did you use to flash? ROM Manager, DeFrost Setup, manual or other?
[Desire Android Development] Laridia:
Installed 4.9d HAVS 998 last night, then charged phone to full. Battery was showing 98% when I put it in Aeroplane mode at 00:30. Woke up this morning at 07:30, Tasker had disabled Aeroplane at 07:00 as normal. Battery was at 8%. Normally I'd lose around 3% overnight so to lose 90% was a bit of a surprise!

Now I have never seen a kernel update cause something like that before and maybe it was just an app going screwy but that's the only thing I had changed. Partial Wake Usage showed that E-mail and Android had used about 40% each. No idea what E-mail was doing since it was in Plane mode, maybe it was stuck in some kind of loop.

Anyway I have reverted to 4.5 SVS 998 for the moment and will see how it goes today and tonight.
[Desire Android Development] Marsbar:
Just a thought: if you've got a spare SD card lying around you could maybe put a clean update.zip and a nandroid backup on there and carry it around with you so if the phone won't boot you could swap SDs and restore.
[Desire Android Development] Marsbar:
Actually I'm getting the sequence wrong, aren't I? Recovery doesn't try to load update.zip until after you get past the red triangle and click "apply update.zip", so if it's getting stuck at the o2 splash that's before that.

I don't know enough about the recovery process to know what the phone's trying to do before then, sorry.
[Desire Android Development] kokson:
hmm ok, but i cant find the player through the market

edit:

ok, found it another way, now it works, thx
[Desire Android Development] davdavo:
Richard, please rip into the htc source code and get us FM Radio & all the HTC sense to work on this ROM. You can do it :D

http://xdaforums.com/showthread.php?t=801040
[Desire Android Development] jcrompton:
Update on Battery Drain after Titanium Restore

Update: For sure the new ROM install has been ruinning this AM, after a full charge -- for over 4 hours and I've only lost 4 % of the battery .. ( I had been losing 20 to 30 % in the same time period )

MORAL - Be very careful with Titanium Backup restores - not only can the other problems like Force Close happen, as have been reported, in this case can also cause a mysterious significant battery drain or increase use.

I have succesfully used Titanium to restore the "data" for Launcher a selected few apps along with data, but I would suggest doing this only one at a time since I have no idea what or which restore (app or data) caused my issue with battery drain
[Desire Android Development] zigson:
Just a thought on HAVS/SVS, I'd be interested in people's thoughts.

:confused: Is it worth it :confused:

I mean HAVS is causing issues for most of us, even when not overclocked. I'm doubtful that including core temperature as a parameter for dynamic clock speeds and voltages is going to yield a significant difference in battery life. When I've had HAVS running, in between the reboots, battery discharge was precisely the same as on the basic kernel.

Similarly I've found that overclocking doesn't change my experience in any positive way, just lowers stability (all caused by overheating IMO). I have one 1 3D intensive game (Wipeout XL on PSX Droid) and it runs perfectly smoothly using the base DeFrosT kernel. If my phone can keep up with games designed for the PlayStation, I don't need to overclock.

Underclocking causes me wake issues on SVS or HAVS. If I leave SetCPU off, I never have BSOD / wake problems.

So running the basic DeFrosT rom with SetCPU installed but switched off, and not downloading any other kernels, I've had one reboot in a month, battery is amazing (idle discharge 0.5%/hour), and gaming is great.

Basically my advice is to keep it simple. Messing with amount of power drawn causes reboots and freezes and the payback for battery life and processing speed is not noticeable. I'm sure some will disagree?
[Desire Android Development] mintvilla:
yh the ps1 ran at 33mhz so its no great feat being able to run at that, the main thing with overclocking is web pages, when i was overclocking to 1.305, web pages loaded up noticeably faster.

also not all processors are the same, ive been running 1113 havs and not had any reboots and my battery life is much better, if i use my phone with normal kernel, i can get 6 hours of constant internet browsing, with the havs kernel, i can get over 9 hours, which am more than happy with.
[Desire Android Development] Marsbar:
And your qualifications in the field of semiconductor efficiency are?

Maybe you should ring up intel and tell them not to bother with those stupid heatsinks and coolers and stuff, a bit of heat isn't likely to make that much difference to the speed of their chips, right?

</sarcasm>

When HAVS works it makes a measurable difference to battery life on my phone. I have measured it, not in a massively scientific way I admit but in the way that matters to me - how much battery is used in a certain amount of time.

It may be that on your phone there's no difference; however I would certainly not be putting up with the hassle of (sometimes) daily crashes in the hope of eventually finding a fix if there wasn't a measurable (and significant) difference on my phone.
[Desire Android Development] zigson:
No qualifications Marsbar, just personal experience from overclocking PCs and messing with mobiles etc. Take your point re. the importance of heat management in running a chip effectively, but I'm talking about the relative value of switching voltage, not whether it's worth bothering with fans and sinks.

If people are getting some battery / speed value from HAVS then that's good news, I'm not trying to devalue the effort, I just hadn't read many positive comments. I'll happily jump on the HAVS bandwagon once its stabilised.
[Desire Android Development] danarama:
It depends, if you rooted using unrevoked, it actually flashes recovery over the stock recovery.

I used an old fashioned rooting method which gave me an engineer HTC recovery. I use clockwork via rom manger. In that case, it does use update.zip.
[Desire Android Development] Fancois:
Hello All

I dunno if it's only me, but someone notice after a reboot, that there is no more sync account ? Just asking ;)
[Desire Android Development] Dragooon123:
Must be you, I've rebooted a billion times and everything's in place.
[Desire Android Development] Fancois:
Erf, What the hell :p

I'm looking back ;)
[Desire Android Development] Latty:
Yup. If you're concerned about stability, stick with SVS.

There is a [albeit slight] benefit battery-life-wise using HAVS though. For me, using currentwidget, it averages as a few mA less on average.

HAVS @ 1113 MHz has been nothing but stable for me in the last couple builds though (my specific processor, etc.), so it makes no sense for me to not use it :p

In short again, rule of thumb:

stability -> use SVS

maximum battery savings -> use HAVS (may or may not be stable for you)
[Desire Android Development] shokwaav:
yay bsod... i think im running 4.9d will have to check...

haven't had one in quite a while tho.. most of the time when i think im having a bsod i press the power button again and the screen comes back on.
[Desire Android Development] jcrompton:
SetCPU with HAVS

For those of you happily and successfully using HAVS kernel - are you using SetCPU or not ??
[Desire Android Development] NCFreezz:
And the best news today comes from Twitter..

RT @adamg_xda: HTC finally decided to release the Froyo kernel source, kiss byebye to battery drain forever :)

:D
[Desire Android Development] Proteous:
Guys i need some help , i am getting a crazy battery drain , anything to do ??! please help :confused:
[Desire Android Development] buzmay:
No I am not. I can report that for me 4.9 c and specially 4.9d HAVS have been very stable.

With 4.9c HAVS I did hav 2 BSOD but now that im on 4.9d no problem at all
[Desire Android Development] gutsbn:
Have you read the previous 12,000 posts, or even searched instead?

Or even considered the fact that you may not be the only one with this issue? Or too selfish to think any more?

I'll go further and ask what ROM you're using, given your other 2 posts are for "SuperVillain 1.0 ROM"...
[Desire Android Development] shokwaav:
havs 1133MHz w/ setcpu but i just got a bsod on 4.9d.... i never had a bsod on 4.9c
[Desire Android Development] twicejr:
Yes i do. Ondemand works fine. Rest not tested
[Desire Android Development] Proteous:
I did read much of the prev posts tried most of the things with no success ..

I am using the Defrost 4.9, i have tried over most of the roms out there but this one gives the biggest drain ..
[Desire Android Development] gutsbn:
No, you didn't

less than 20 posts up...

http://xdaforums.com/showpost.php?p=8483796&postcount=12153

http://xdaforums.com/showpost.php?p=8483796&postcount=12154

http://xdaforums.com/showpost.php?p=8483796&postcount=12155

http://xdaforums.com/showpost.php?p=8483796&postcount=12156
[Desire Android Development] Dragooon123:
What branch is the SVS 4.9c kernel on git? I tried the msm-2.6.35-bravo one and it failed :).
[Desire Android Development] peewster:
Does someone know why i can't add new contacts to my phone. Everytime i create a new contact it will only show up under other contacts instead of my normal phonebook. I did make sure the contacts were created within google contacts, but they don't show up after adding.
[Desire Android Development] richardtrip:
New HAVS kernel

New HAVS kernels posted:

4.9e 998Mhz and 1113Mhz:

change:

Disabled 256000 from acpu-table (see original htc .32 kernel):

/* Work arround for acpu resume hung, GPLL is turn off by arm9 */
/*{ 256000, CCTL(CLK_GLOBAL_PLL, 3),	SRC_RAW, 0, 0, 1050, 29000 },*/
[Desire Android Development] richardtrip:
4.9e:

http://github.com/richardtrip/cm-kernel/tree/bravonew
[Desire Android Development] Dragooon123:
Ofcourse, thats why it failed :P. Thanks a lot :).
[Desire Android Development] Dramiro:
WOW FM Radio¡¡¡¡¡ Please Richard¡¡¡

I use kernel HAVS with SetCpu, but I try not more that 1000Mhz, my phone is rebooting if I overclock the proccesor.

I use Ondemand.
[Desire Android Development] richardtrip:
Grab the current config with:

adb pull /proc/config.gz .

gunzip config.gz

cp config .config
[Desire Android Development] joostjodel:
… anyone the same (now on 4.9)?

Oh, and I can't seem to install Flash player, neither on external memory nor internally. Message: "insufficient storage available", with some 45 MB on /data and 2 Gigs external… Google Earth - which is even bigger - installs fine.
[Desire Android Development] Dragooon123:
Sorry to be an ass but I only see SVS 4.9c on DeFroST setup, there isn't any 4.9e of SVS(HAVS however exists).
[Desire Android Development] lpachuong:
I got 1452 with 1267Mhz and many 46.258 for linpack :) It is amazing fast. Rending is faster than before too
[Desire Android Development] dafunky:
Quadrant never give me the same result. I just launched it for the fourth time, the best score is 1692 (1.2Ghz). But the bench after I can lose 200 points.

Let's see with linpack EDIT : Linpack give me 43.3 for the best result
[Desire Android Development] defectivereject:
i've installed this with my goldcard, but its not giving root access...... anyone else having this issue??
[Desire Android Development] asci:
Re: [ROM-FroYo] DeFroST 0.7 Desire(Camera,Portable Hotspot,BlueTooth+A2SD)

BIG PROBLEM HERE

Microphone is not working, people can't ear me.

-------------------------------------

Sent via the XDA Tapatalk App
[Desire Android Development] hensk:
wauuuu this is realy fast m8,:eek:
[Desire Android Development] hensk:
do you have call-recording app installed

this can make problems:rolleyes:

I have that issue too,& after remove work perfect
[Desire Android Development] MaTiCeK-:
It works fine over here. Just had a 15 min talk, no problems. There even was no echo, which is astonishing.

So now the only "deal" breaker is video capture. Once video capture is working, it's an everyday rom! Great work, everybody!
[Desire Android Development] asci:
Re: [ROM-FroYo] DeFroST 0.7 Desire(Camera,Portable Hotspot,BlueTooth+A2SD)

Absolutely not. Any call rec installed.

-------------------------------------

Sent via the XDA Tapatalk App
[Desire Android Development] dafunky:
Something I don't understand, all icons from apps previously installed on SD have disapeared. Won't show on drawer, neither on main screen. Just afer I did the update from 0.6 to 0.7 + DeFroST_0.7_marketupdate.

If I move them to the phone memory, they appear after a reboot.

If I use the search my invisible apps launch correctly :(
[Desire Android Development] Epedemic:
Bluetooth seems to be broken with 0.7. I can no longer pair my Sony Ericsson MW600 A2DP headset. It finds it just fine, but just keeps on saying "pairing" forever (usually only takes a second). This worked on 0.6.

*edit* After the 10th attempt it worked.got paired... But i can't seem to establish an actual connection. It just says "paired but not connected"...

*edit2* Actually i managed to get a connection after switching bt and the headset on and off a couple of times... So for now it works, but its more dodgy than ever, thats for sure...

*edit3* blah, and after picking up a call on the phone it dropped the connection to the headset, and wont reestablish.

Also there is no led flash on incoming sms or missed call.
[Desire Android Development] vinsyl:
Hi,

I can pair and connect my bluetooh headset (HBH DS980) but the sound goes through the normal speaker. Any idea?
[Desire Android Development] puttitat:
Just installed 0.7, works like a charm! :-)

Although, MarketEnabler doesn't work anymore - I'm only able to see Free Apps again now. Anyone else experience this?
[Desire Android Development] puttitat:
Like a bugged charm :-|

After using the camera, the screen won't auto-rotate anymore. The home screen is stuck in landscape mode and won't return to portrait unless i enter settings -> display -> disable and re-enable auto rotate....
[Desire Android Development] maxermaxer:
Dear all, if I want to update from 0.6 to 0.7 do I have to remove anything? Can I use Tatinuim backup to re-install every program after upgrading to 0.7? Many thanks!!