yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] bemymonkey:
Not likely to be the battery percentage display, IMO - it's just that you notice it more when you see the numbers ticking away.

I don't think it's because of the ROM either... more likely to be the display, IMO (unless there's a bug in the power usage statistics (settings=>about phone=>battery usage), but I don't think there is one).

If we were to extrapolate: My display used 75% of the 8% I drained in 30 minutes. The battery is 1400mAh IIRC, so that would mean 30 minutes of display on, on the lowest setting, would be equal to 0.75*0.08*1400mAh = 87.36mAh per 30 minutes, or about 175mAh per hour.

So basically, if only the screen was on (on the lowest brightness!), the Desire battery could power it for about 8 hours. And since the Desire's screen is so insanely dim (seriously... put it next to a Droid with both on the lowest setting and wonder if the Desire is even on), we nearly ever have it on the lowest setting unless we're in low-lit indoors areas, so I'd assume we usually use twice as much power... so 4 hours of power, if ONLY the display is on and the CPU, radios etc. are using no power whatsoever.

Pretty bad if you ask me - wasn't AMOLED supposed to save power as opposed to LCD? I feel like I'm getting far worse battery life than on my old Milestone whenever I actually *use* the phone...

sLCD may help here - but when will OpenDesire add support? If there's no OpenDesire, it's not worth the hassle... :great:

That's perfectly fine... I take it the screen wasn't on?

Bitrate? Format?

Thanks.

So, we have:

1. Web browser, on WiFi with perfect signal strength on both Wifi and cell radio: 4% used in 10 minutes (74% by the display, even though the brightness is on 0%).

2. Gaming (SNESoid, latest version, DK Country 2), screen on lowest, wifi and cell with perfect signal but no data transferring: 19% in 20 minutes.

3. ver.3.0.5

Batery drain

screen off ~1% / 1h (cpu set 245MHz)

screen on (brightnes 0) ~ 1% / 5 min

4. After an hour of music playing 10% of battery have been use (at 90% of volume), which is almost the same as with the htc 1.21 rom, so not bad.

5. Continuation of 1.: 8% in 30 minutes with same continued usage

Extrapolating from:

1. 250 minutes from a full charge

2. 100 minutes from a full charge

3. 100 hours with screen off, 500 minutes with screen on (sure about this one, BaGros?)

4. 10 hours with screen off but music playing

5. about 6 hours from a full charge

Conclusion: Our Desires use way too much power. RenderFX might not be such a bad idea after all... guess I may have to try it out. Which color uses the least power again?

Oh, and while we're on the topic of saving power: Anyone know what I need to enter in the console or Gscript to turn off the button backlights permanently? Or maybe someone has a flashable ZIP laying around for this?
[Desire Android Development] gianton:
Nicely put mate, I am too dissapointed by the battery life of my Desire! I was getting almost 48h on my HD2 with the same usage, where now I am getting less than 24h... :( and Amoled screen should give better battery life than the LCD!
[Desire Android Development] gianton:
+1 on this, it could save some juice! :)
[Desire Android Development] bemymonkey:
Tried the script from here http://xdaforums.com/showthread.php?t=704977

But it seems that /sys/devices/platform/leds-microp doesn't exist. Where are the LED settings for OpenDesire hidden? :p

-edit- THink I've found it.

DNLgee posted this earlier:

adb shell

cd sys/class/leds/

echo 1 > blue/brightness

the settings for the button backlights are in there too, I think...

-edit- The settings are there, but the setting isn't permanent.

echo 0 > brightness when you're in the folder for the button backlight turns it off, but as soon as the display goes off it's back on. :(

Setting max_brightness to 0 doesn't help...
[Desire Android Development] subvertbeats:
Yep same here
[Desire Android Development] pa.pn2:
what is the rendererFX for?

i tried it, there are some background colours.

use it for?
[Desire Android Development] bemymonkey:
Turns off some subpixels (leaving only green, red or blue pixels on) and therefore using less power... it just looks horrible :p
[Desire Android Development] gianton:
Maybe Adam can make a flashable .zip file for us newbies! :D
[Desire Android Development] Cactus42:
For those that asked - unfortunately I don't use ROM Manager, and go in through the recovery mode. Also (force of habit) I wipe everything I can including Dalvik and Battery Stats whenever doing a full install.

A few of the settings I'm using that could affect battery:

Using 3.0.0 flashed straight to 3.0.5 with the Circle battery CM Blackbar mod flashed after the first reboot. (if you've patched 3.0.0 - 3.0.1 - 3.0.2 - 3.0.3 - 3.0.4 - 3.0.5 there might be a throwback from an earlier patch, there was a brief 3.0.3 patch than had shocking battery life too - gave me less than 8 hours full to empty)

Using JuiceDefender, CPU set to 245Mhz/499Mhz/1113Mhz. Kills wireless/Data off peak (Midnight till 9am) and when the screen locks - except if in use - and only tries to connect to known wireless networks (none of this popping up and trying to connect to every house when I drive through my local area!)

First and foremost, Using Automatic brighness (that shocked me!)

LauncherPro over the stock app

Static (not live) wallpaper

Facebook drain fixed as using the latest version

Use MMS quite frequently and not found any issues with the stock program myself, using SMS Popup on top of that.

Using Dolphin Browser HD over the stock app

Beautiful Widgets clock on main screen

aTakePhone to replace the stock dialer

Switchpro so I can enable disable things quickly

GPS and BlueTooth permanently disabled - until needed

Also been using the camera quite a bit over the weekend too.

Mine also shows display using anywhere betweek 45-70% of the battery time, so as mentioned I'm pretty sure this is still just a bug in the way it calculates/displays the usages.
[Desire Android Development] georgemv:
The battery drain issue is kernel related for sure.

I switched kernels (installed the HAVS zImage and modules from DeFrost) and it's perfect.
[Desire Android Development] zeebee:
Anyone got an idea why the game "Hyper Jump" (lite or full) is not working with this rom? It works fine with Sense roms...
[Desire Android Development] ourfear:
how to switch kernel? and what's your Open desire version?

i want to try too:p
[Desire Android Development] Cactus42:
If it was the 3.0.5 kernel we'd all have the problem, but some don't.

Everyone with battery issues - have you installed incrementally or done a full wipe and installed 3.0.0 then 3.0.5 without the other patches?

Do a full wipe and install 3.0.0 then 3.0.5 if you haven't already to make sure it's not some theowback from a previous patch
[Desire Android Development] zdufs:
this would suck if we have to do this everytime new patch comes out... like we all love to install apps and set settings all over again...
[Desire Android Development] gianton:
Can you share the .zip file to install it?
[Desire Android Development] Cactus42:
You shouldn't usually, but if there is something from a previous patch causing the issue that hasn't been overridden properly then that could be causing the issue, If a complete flash fixes it then we know that it's not 3.0.5 thats the issue.

Just reread that - how many times can you say issue in one post :)
[Desire Android Development] ourfear:
yes, that's what i did, full wiped 3.0.0 , and install the patch 3.0.5
[Desire Android Development] georgemv:
There is no zip file. You have to manually hack the stuff with adb in recovery mode.
[Desire Android Development] Cactus42:
OK, so second question is - those that did a full install jobbie, did you wipe the battery stats as well?

Go into recovery in Clockworkmod it's Advanced - Wipe Battery Stats.

Recharge to 100%, then see what happens.
[Desire Android Development] bemymonkey:
How do you hack it? Which file needs to be changed to what?

Using echo 0 > brightness in ADB doesn't help... :(
[Desire Android Development] ourfear:
yes, i did it this morning. when battery is 100%.
[Desire Android Development] hagen.von.tronje:
maybe this is your battery life solution

try this before complaining :p

1) turn your desire off

2) fully charge your desire in off mode

3) start clockworkmod recovery - choose advanced - wipe battery stats

4) go back and reboot system now

5) use all power from your desire (without charging in the meantime) till it shuts down itself.

6) fully charge your desire again an turn it on afterwards.

this solved the battery issue for me
[Desire Android Development] Cactus42:
Is the battery still as bad as before? As a guideline I've lost 7% in 4 hours, with a few texts and keep turning the screen on to check the battery every 20/30 mins.
[Desire Android Development] Cactus42:
Word of warning - don't do this a lot. Li-Ion batteries aren't designed to be run down to zero and doing this more than a few times can be detrimental to battery life.
[Desire Android Development] andrewsoong:
Down 18% in 1.5 hours. Checked OJ and it wasn't working.
[Desire Android Development] ourfear:
yes,

3.5 hours battery from 100% to 80% with 3.0.5

6 hours battery from 70% to 54% with 3.0.2
[Desire Android Development] hagen.von.tronje:
didnt say you should do this hundreds of times.

but it sure helped me with the battery drain issue.
[Desire Android Development] Cactus42:
I can't think of anything other than something not sleeping the phone properly - but the Facebook side has been fixed, can't be MMS or the kernel or we'd all have it, and the display usage is and always has been a bug in Froyo. Also can't see it being the auto brightness as again we'd all have it.

I know that when I'm in a low signal area and my phone keeps trying to connect/get signal it goes faster, same if it keeps finding wireless.

One thought - is wireless set to stay on (and saved) after sleep, as turning on/off, getting connection then confirming IP uses more power than just sitting idle in the background.

Not a dig, just wanted to mention - in case people do it over and over if it doesn't improve and then kill thier battery :)
[Desire Android Development] kfasheldon:
BATT 3.05

Totaly ran phone to power off last night.

8:00am today wiped and cleared all inc batt statts, re flashed 3.00, 3.05 from recovery.

Installed apps , set up phone, only change to default install settings is Beautiful Home widget and SetCPU to 245/245 screen off and 998/245 OnDemand normal.

Unplugged about 9:00 light use for about 1/2 hour checking XDA, Mail. 1 10 min phone call. No text.

no use then till checked screen now batt at 75% so very rapid decline in battery, Not as bat as before I rested batt stats I don't think. Also as no text sent or received and neither stock or Handcent opened this is also a possible help today. Still much higher than 3.02. Why?

STATS

Didplay 48% (22min) , Voice 30% (8min), Cell Stb 7%, 2h53m 1% No Sig!, Idle 5% 2h 30m, WiFi 4%, 1hr24m, Android 3% 2m, Browser 2% 1m.

Hope Adam finds the reason and fixes for 3.1.

Any ETA Adam please !
[Desire Android Development] alexis_p3300:
What's your average battery temp when charging the phone? mine goes to 40c everytime i charge
[Desire Android Development] mr.r9:
Does this rom really have battery drain issues?
[Desire Android Development] pipi002:
Wifi sleep??... i can't explain my od's issue. .

It sometime can't connect to wifi ap..

and never connect before reboot
[Desire Android Development] dnlgee:
This is my battery stats, phone was in sleep mode from 1am to roughly 9am with WiFi connected all night, been making a few phone calls and checking Facebook this morning since wake. So not every one has bad battery drain..
[Desire Android Development] andycted:
No, it's actually better than others. In my opinion, people having problems must have some particular situations.

If you check, every single thread for a rom has someone reporting battery drain. That said, this custom rom has the optical trackpad dying issue.
[Desire Android Development] Cactus42:
Agreed, 3.0.5 is actually the best battery life I've had since rooting the phone.
[Desire Android Development] kfasheldon:
Must add this

THIS ROM DOES NOT SUFFER A BATTERY ISSUE ANY MORE THAN OTHER ROMS

Despite the battle drain in 3.05 suddenly it is still better than others I have tried. For me 3.02 and bellow were much better but no one seems to know the reason.

This is still in my opinion the best rom at the moment, lets see what Adam does with 3.1
[Desire Android Development] bemymonkey:
I wouldn't expect it does - apparently the Desire itself is an incredible battery hog.

What I'm more interested in is whether or not the display using 50-75% of battery power each charge, even though it's only in use about 15% of the time, is a bug or not. Is this behaviour present on other ROMs as well? I'm leaning towards no bug, because when the screen is off, the battery lasts for ages... :)
[Desire Android Development] Cactus42:
It is a bug. It was a bug before then it was fixed for a bit then it came back. Other ROM's do have this (ie DeFrost) and it was unanimously agreed to be a bug.
[Desire Android Development] dnlgee:
Just emailed Adam about this, it's definitely not a bug with the display usage, it's just different values being set. Sense ROM's set the value a lot lower so that it doesn't give the same usage display.
[Desire Android Development] andycted:
I'm interested in knowing from who is saying this, which smartphone did you previously have which lasted longer ?

I had a Touch HD, which wasn't 'always connected' as this, and lasted about the same.

My friends with 3GS usually are out of juice way before or about the same time but without actually using it as much.

My girlfriend had a LG Arena, which is quite smaller and lasted about 3 days without any browsing or 3G data usage (didn't have it).

I can get about 2 days of light use or 1 of heavy use. Changing ROM doesn't make all that difference, but there are some touches which can give a tad more, like lower auto-brightness.

I've never seen a smartphone with a big touchscreen, that _does_ stuff, lasting longer. I might be wrong and I'd like to know which actually lasts longer.
[Desire Android Development] isaw:
Nice ROM!

Wow, I have to say, the battery life on this 3.0.5 edition is simply stunning.

I've been unplugged since 6am today, made a call, have gmaps with GPS on, gtalk running, done some mail and txt msgs and even played a bit of Sudoku during my morning's constitution (too much info?) and I'm only now at 93%.

Very impressed!
[Desire Android Development] cjm1979:
Ive been reading the thread and see alot complaining of battery issues and saying the OJ had stopped working. What is this? Ive read through the last 300-400 posts and cant find what it is, just lots of people refering to it. Ive been using the rom for a couple of days now and have had no issues at all. In fact i dont have 90% of the issues that people complain of on any rom.

Everytime i flash a rom i always do a complete wipe of everything and this seems to be why i dont. I think the battery has dropped a couple of % in 3 hours standby this morning.
[Desire Android Development] gianton:
OJ= Optical Joystick
[Desire Android Development] Cactus42:
Sorry - that's what I meant - It's not a bug with the display eating battery, its a bug with the way the values are displayed. Should have made myself clearer
[Desire Android Development] og01:
New Bug?

BUG

I made a 3 minuet 30ish seconds video the otherday, total filesize is 154MB. If i try to upload to youtube using the share button then I get a message saying cannot upload files larger than 1GB. Someone has their unit conversions wrong here I think 154MB is <= 1GB. I can upload smaller files i've made but this is very annoying. makes no difference if I try to up load through Astro or through Meridian.

Also I checked the file is complete and not corrupt - will play fine on phone or on pc. Also tried to reboot phone - just incase.

If this should be posted elsewhere let me know and I'll do so.
[Desire Android Development] bemymonkey:
I'm coming from a Motorola Milestone... also with a 1400mAh battery, IIRC. It had about the same battery life as my Desire with OpenDesire when it comes to standby (i.e. screen off, minimal connectivity, CPU idle, Sipdroid and Locale running in the background), but lasted about twice as long (!!!) with the screen on.

I'm guessing it's just AMOLED sucking down tons of energy while displaying web pages and such, because they all have white or relatively bright backgrounds, and AMOLED uses a ton of power to display white (needs to light up all the subpixels at once)... although to be honest, the Milestone lasted longer when reading eBooks too (white text on black background).

Also, the Milestone was actually readable outdoors without cranking up the brightness past 15%. The Desire, on the other hand, needs at least 50-60% to be legible...

I'm assuming the sLCD Desires will get better battery life, which is why I'm hoping for a version of OpenDesire that supports sLCD displays... that would be pretty much a perfect phone :D
[Desire Android Development] xlxl:
what u mean "is working correctly"?

it makes sound, yes. But the remote control isnt working at all.
[Desire Android Development] andycted:
I see, then we have different pattern usage. I took the pain of taking measurment of mA drained by the different use of the phone, from display with various brightness to wifi, etc. (you can find them from around post 54 of this thread:http://xdaforums.com/showthread.php?t=743172). I also did this on my old touch hd with WinMo.

Indeed what I found was that at lower brightness there wasn't much difference when showing a completely white screen, between the two. But on high brightness, the desire drains about 400 mA without doing much else, while the lcd from the touch hd, I think, was in the range of 280.

On the other hand, at any brightness, showing a darker screen (like I almost always have), saves lots of battery, to the point that while reading xda or feedr in white on black almost halves the battery usage.

Overall I can't really complain, and since batteries are so cheap, I'm almost always swapping them.

EDIT: I don't mean to go OT, since those tests were done with this rom
[Desire Android Development] tttommy:
Before removal of the mms.apk:

After removal of the mms.apk:

The phone got decharged by only 10% in 11h (92% - 81%) overnight, and it's now at 61% after 17h 41m on battery.

Battery Usage shows this:

Screen: 53% (Time elapsed without sleeping: 1h 7m)

When doing a *#*#4636#*#*, I get the following data:

Running: 14,4% (Time elapsed without sleeping: 2t 29m 15s)

Screen On: 6,9%

Phone On: 0,3%

Wifi On: 0,5%

Wifi Running: 0,5%

I've made some short phonecalls and, I've listened to spotify 50min with headset, and 30 min with speaker. I did also play a game for 15 min.

I'm quite sure that mms.apk really was causing this, so it does not seem like a "value-bug" to me. I had better battery on the OD 2.x, than I've had with 3.x, but after I removed mms.apk it's been better than ever! :)

And just to mention it; I always do a factory reset, wipe, dalvik and battery wipe before I flash a rom.
[Desire Android Development] kfasheldon:
This odd battle drain has slowed sin last post the difference well gone for a walk put maps on with GPS, with wifi left on but no connection. Full signal all the way on mobile. Battle at 67% at start about 2 hours ago used screen lots and Also taken 10 photos now battle at 57% I would have thought much.

Two things come to mind.

1 poor phone signal causes battle drain

2 phone is not sleeping, hence never getting set to 245 by setcpu and using as much power on it off

Question is why!
[Desire Android Development] dnlgee:
Anyone else having problems syncing with Gmail? Just noticed it last night and today so not entirely sure if it's only this ROM and can't be bothered to flash any other..

When I delete an email on my Desire it doesn't delete it from the Gmail inbox on the web, however if I delete it on the web it deletes from my device..
[Desire Android Development] hshah:
But I prefer the default messaging application :(
[Desire Android Development] bemymonkey:
Hmmm, I don't think the battery voltage decreases linearly as you discharge (you seem to have made your measurements with the battery voltage readout in Android). Probably not a good way to measure power usage...

How did you get those current in mA? Amperemeter? Or is there now a way to measure the drain on-device, like in WinMo?

Actually, I've had the problem that reading it on the device doesn't mark mail as read on Gmail in the web... figured it's a bug Google introduced in the Froyo Gmail app...?
[Desire Android Development] gianton:
Syncing working OK here, deleted emails from my Desire don't show up in the web.
[Desire Android Development] dnlgee:
Which version of OD you running?

I've just reverted the Gmail.apk back to what was original released in 3.0.0 and all is fine again, must be a bug in the new apk.
[Desire Android Development] AzureusPT:
I'm on 3.0.5 and Gmail sync seems to be ok. Tested deleting some emails from phone and they appear also deleted when I login from a computer.
[Desire Android Development] gianton:
I am on 3.0.5 as well.
[Desire Android Development] otijhuis:
Did you sync again after deleting or did you check right away? It should delete the mail on next sync or refresh.
[Desire Android Development] andycted:
Read my last three posts there, you will get the full answer
[Desire Android Development] frankiedj86:
I have a issue with 720p recording. Indeed whenever i make a video my camera use the last focus impostation. For example if i take a panoramic photo and after i make macro video, the phone maintains the same focus impostation so the video results out of focus.

Sorry for my english...
[Desire Android Development] liamstears:
How would i add:

symlink /data/local/fonts/DroidSans.ttf SYSTEM:fonts/DroidSans.ttf

symlink /data/local/fonts/DroidSans-Bold.ttf SYSTEM:fonts/DroidSans-Bold.ttf

to the updater script?

Ive tried just adding it but I get an error number 6 when trying to flash :-(

Please help someone....
[Desire Android Development] dnlgee:
symlink("/data/local/fonts/DroidSans.ttf", "/system/fonts/DroidSans.ttf");

symlink("/data/local/fonts/DroidSans-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");

I think..
[Desire Android Development] liamstears:
Anywhere in particular I would have to add it or just anywhere?
[Desire Android Development] bemymonkey:
Awesome, thanks. Pity we can't get a higher refresh rate, but that's great nonetheless. :)
[Desire Android Development] andycted:
whops I probably linked you to page 3 but I have 20 posts per page ? basically after post n.50
[Desire Android Development] tron13:
This kernel its OC or UV?

if not can i add a oc kernel? which?
[Desire Android Development] bemymonkey:
Precisely. Took me a while to find it ;)
[Desire Android Development] anatidus:
Hi, how its the battery working on latest update? Can anyone confirm that there is smaller battery drain. I will be grateful for response with radio which you have installed. Have anyone identified the bug with battery on previous roms, maybe son fix etc.? Thanks.

Sent from my HTC Desire
[Desire Android Development] isaw:
Well, if it helps...

On 3.0.5, I unplugged my phone this morning around 6am.. It's now 17:50 and I'm at 86%.

For me, that's amazing :)
[Desire Android Development] liamstears:
Doesnt seem to work :-(

But also at the same time, after a full wipe I still have some settings remaining from my last install including my wallpaper still being set :-S
[Desire Android Development] Ivanovic:
Can i install on this rom HTC IME Mod?
[Desire Android Development] dnlgee:
Did you place those lines after it mounts the /data/ partiiion? Might not work at all as I haven't tried it..
[Desire Android Development] liamstears:
Yeh

Its weird, mods just dont seem to wanna work until after the main flash :-(

Nevermind i'll live lol