yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] Fetzl:
Battery life was good, but it got worse

I decided to change to Android last week... had experimented with it from time to time and I was pleased... except for the battery life

When I read this thread and installed the Hastarin kernel with setCPU it was already much much better.

The initial Android install did in fact gave me around 5 mA of consumption.

In the mean time I installed some apps from the market.... like swipe, google sky, some games...

the daily usage is about the same (wifi connection, twitter update, calling and messaging) but for some reason in standby I'm now at about 64 mA

I even reduced set CPU to minimal (245 min 245 max)

I kill as much tasks and services after each usage before going to standby

When the device in on and I'm just looking at the home screen, I'm at 111 mA

Where i could last a day with a full battery, I'm now down to 10-12 hr (little less than 10% drain per hour)

Any suggestions what I could do or where to start looking ?

I just read something about disabeling Sense UI before booting Android.... maybe I could give that one a try....
[HD2 Android Q&A, Help & Troubleshooting and Genera] Fetzl:
it worked

well, I must say the WM tweaks before booting Android really did it

Disabled Sense UI (in fact I unchecked all items in the Home tab), switched to Flight mode and then used a 3 sec autoboot for Android (Excellers boot loader)

On standby I'm back at about 5-7 mA

Today, on just below average use (some calls, some texts, a couple Tweetcaster-updates and a very limited time on Wi Fi) it ate only 30% of the battery.

about 18 hours after unplugging it from the charger I'm still at 68% battery

With these settings I can easily match the battery life as when on WinMo. :)

Definately on a path without return (Exit WinMo for real !)

tnx for the neat tweak-suggestions
[HD2 Android Q&A, Help & Troubleshooting and Genera] cylent:
Some questions if i may (in red below)

also all profiles with Prioirty 50... right?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Authi:
Fine, I'll try it.

Thanks
[HD2 Android Q&A, Help & Troubleshooting and Genera] drunkenfcuk:
Nice guide. One of the big problems is not being able to charge the HD2 while it's powered off, if you're using MagLDR, so you can't properly calibrate the battery. CLK has this functionality enabled, so I'm thinking of flashing that and seeing if it makes any difference to my battery after proper calibration... If you can really call it calibration, of course. Really just good housekeeping! :p
[HD2 Android Q&A, Help & Troubleshooting and Genera] Martijn085:
Some great tips m8, thx for sharing :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] :
most tips done but strengh battery drain while standby :(

(about 65mAh)
[HD2 Android Q&A, Help & Troubleshooting and Genera] HD2ONE:
Does this still apply for the recent builds?
[HD2 Android Q&A, Help & Troubleshooting and Genera] thekillingroad:
cyanogen 7

kernel 2.6.32.15

3G always on

auto sync on

background data on

wifi off almost all the time

screen auto bright

setcpu 768mHz

tried lots of stuff..

I can not live a full day (8am 11pm) with a single charge.. never.. ever..

just got used to it.

oh.. once I was out of town for business and forgot everthing that could charge my phone =)

300sth mHz, 3G off, autosync off, background data on..

that day, well it did last well =)

that is the single day I have a goog memory about my HD2s battery.. winmo or droid.. SD or NAND..

I could turn autosync off background off 3g stimes off etc..

then why the hell am I using such a phone?

edit:

Well, my usage effects of course.

1 gmail on IMAP

1 POP3 on 30mins s/r time (both on only k-9 mail)

main communication is whatsapp

daily moderate twitter usage (if not on meetings all the time)

but, when on idle, even when freshly restarted, I have a %3-4 drain per hour with not activity at all.

also one thing I'd like to ask here..

can the one discharge as rapidly as on wall-outlet charge? not talking.. just whatsapp usage.. the phone is on my hand and I'm typing.. thats all I do..

I had a conversationg going on for about 15mins (conversation I mean whatsapp)..

then put the phone on charge..

and later checked the battery usage graph provided on settings..

the graph was en excellent V shape..

the phone gets to full charge at almost 1,5 hours..

can whatsapp usage do this?

not makes sense...
[HD2 Android Q&A, Help & Troubleshooting and Genera] thekillingroad:
another update..

same configuration.

40mins... in pocket.. just in pocket no calls nothing.. %6 battery drain..

looks like it will be %10 in an hour, just sent 2 sms', right now after the 40min period. it %8 (45mins total)
[HD2 Android Q&A, Help & Troubleshooting and Genera] xdaxda111:
Get currentwidget and log your power draw, with 3g on, all other stuff off 3mA is normal standby consumption, background data and sync as well as imap should draw just some peaks...

Suggestion would be to try it a day without and then compare your logs.

I switch to 3g only when using the phone for more than 2min, that saves you easily 10% a day, and wont bother your use.

Edit: with widgetsoid you can place a switch for this on your desktop
[HD2 Android Q&A, Help & Troubleshooting and Genera] thekillingroad:
Thanks, I'll use currentwidget and log the drain. After upgrading to a new rom tonight =)

Saving %10 only for a total days 3g? well, wont be a much more "win" for me, %10 is something I can forget for the data speed.

Does 3mA mean this?

3mA per hour, is, well, nothing. Lets say its 6mA with my config, 3g background and autosync.. in 10 hours thats 60mA and this is 5 percent (of total 1200mAh in battery). so with no action, in 10hours of standby that should consume 5 %. Is this correct?

Last night btw, ı had about 20-25 % of battery left. Phone was laying besides me in bed =) just an alarm in the morning, dismissed immediately.. after 8hrs of sleep, phone was turned of, due to empty battery.
[HD2 Android Q&A, Help & Troubleshooting and Genera] cappii:
I was too lazy too see which Roms you guys were all using, but, I am not seeing this kind of battery loss. I am up at 6am, and don't generally see my pillows again until 11pm. Since I flashed my HD2 to android, I have not once gone below 50% on a full day's use. I am a heavy user, as well. I watch a couple of youtube videos, stay on my wi-fi constantly ($40 simple mobile plan lacks sufficient data speeds), and am on my phone a good bit.

I am using:

2.6.32.12_tytung_r12.4-geeabf2c

tyuing@ubuntu #120

I have an HD2 1024. I have my setCPU at 1190400 max, 128000 min. Scaling on demand.

Screen timeout set to 1 minute. I have played with the screen animations, and tweaked a few performance things here and there, but mostly to see how fast I can get my wi-fi. (15.75 Mbps, best I've gotten).

Just thought I'd throw this out there.

I'll be glad to go over my settings with any of you, if you think it might help.
[HD2 Android Q&A, Help & Troubleshooting and Genera] xdaxda111:
Yep killingroad, thats right,

without peaks you calculated correctly, maybe add 1% selfdischarging. Means your (whatever) background services are on heavy load. What you could try is after finishing install and before going to bed is to restart the phone and next morning watch the android power draw statistics. Doesnt offer application exact consumption, but offers atleast an idea. Btw. I am using Hyperdroid.

Edit:

About 3g, I use a widget switch, makes it easy to change if you know u will spend some time in net/netservices now. Try it, you wont miss anything, except of the power draw (which is an allabout 3g problem)
[HD2 Android Q&A, Help & Troubleshooting and Genera] thekillingroad:
The thing is, I'm a bit "pyscho" about how fast things can be. While switching between 2G / 3G, the signal goes for a while and then comes back etc. Total of 10secs max but.. This is a mental situation. =)

Well, I saw lots of mA's at the currentwidget.. 99mA when I unlock the screen etc..

Anyways.. Upgraded to 3.7.0 typhoon cyanogen.. gone to bed @4am with %78.. I think I slept 5to6 hrs and batt was %50sthing, 58 lets say for the best.. %20.. still draining..

but..

then I went to kitchen.. phone was in standby for 15-20mins.. then unlocked it, I saw 3mA on the widget...

then.. left it on the table for 5mins.. now re-unlocked, I saw 720mA =))

what the hell is this? =))) and the screen is dimmed, not even auto =)

Radio: 2.14.50.14

Kernel 2.6.32.15_tytung_r12.4-geeabf2c

cyanogen 7.1.0 desire[typhoon v3.7.0]
[HD2 Android Q&A, Help & Troubleshooting and Genera] xdaxda111:
Uff, 720mA???? Thats amazing! I would say thats full cpu load, full data load at 3g and Display. The several 99mA over the night will propably be your background services.

All in all an disappointing situation. Looks like you will have to switch off part by part and monitor your drain to find the small vampires in your phone.

Alternative would be an external battery to share your day. I bought one chinese made at the CeBit for 10 Euros an its my insurance over the day. So there is no need to switch off the phone.
[HD2 Android Q&A, Help & Troubleshooting and Genera] xdaxda111:
Other good tool is battery monitor widget. My max draw is 470mA (last 6 days)
[HD2 Android Q&A, Help & Troubleshooting and Genera] thekillingroad:
Well, have seen 791mA too.. =)

I think that widget is not really updating on the schedule we set from the properties or do the update from the update button on it.

OK, live info now.

I've picked up the phone from my pocket, it's on standby for 5 mins.

Unlock and directly to widget: 129mA

Clicked update, 149mA.. Green lights of H icon is not on, mean no connection. (also that lasts for a while. When the screen is on, I can see that at least every 10 seconds it does communicate with somewhere.. How can this be possible?

Clicked update after writing this, 208mA.. Screen?

I'm really having a hard time to understand this.

I can't be the only person who has 2 mails (1 is active at this moment btw), constant 3G and autosync. This ain't bearable..

Update: 214mA.. (Screen was on the entire time since I wrote the first current draw)

Screen of for 2 mins, re-on: 95mA... Update right after, 261mA

(syncin apps are whatsapp, twitter, facebook and google (contacts and calendar))

I know I'm going with full questions =) how can I analyze that log file the wigdet has produced?
[HD2 Android Q&A, Help & Troubleshooting and Genera] xdaxda111:
Before we go on, try this:

Install droidwall an enable just mail, browser, whatsapp, twitter and fb,

(Google services will be blocked)

then check power draw,

either disable one by one or allow more.

While typing here I have around 250mA.
[HD2 Android Q&A, Help & Troubleshooting and Genera] thekillingroad:
Before going on with droidwall :p here are some statistics..

I've installed Task Manager by Rhythm Software

Opened it, then saw some interesting stuff.. =)

I have an application for American Eagle's mobile shop, named AE. It's on the running list.. =)

DU Meter, which meters the Data and WiFi usage, but should it be on all the time? Can be, ok.

IVONA Kendra US English TTS.. Why?

Facebook, though not opened and AutoSync is off.

Google Search.. Never used that widget and wont do it even once in the future. Should I uninstall?

Voice Dialer..

All sent to auto-kill list, which kills the selected apps when the screen is of, but, I now again see AE on the running list.. Why the hell is that running? =) I haven't even checked it out, not even for once. =)

Anyways, today I installed the Task Mgr, added the ones above to Auto-Kill, turned off Auto-Sync which might seem like a killer while it syncs all the time like every minute? dont know but turned off. Charged to %100, fresh restart, then plug off. (those were done at 5pm)

The first 50mins had a %4 discharge, didn't even turn on the screen, not even just to check the clock, just forgot the phone =) Seems like 49mA drain? Too much isn't it?

Now its 11.30pm, here are the results.

%51 while taking the screenshots. All the time on 3G, on wi-fi for the last 5mins since I got home (never have that habit, I think I should =) since corect me if I'm wrong, wifi uses much less power than 3G)

6hrs, only 1minute of talking, 4-5 SMS's, 3-4 WhatsApp messages, little bit of desktop-app positioning, 2 installations, little bit of twitter check. That's all I did.. =)

All the screenshots due to usage are attached. I couldn't attach the log file, here it is.

http://www.2shared.com/file/xaHoo9Ct/currentwidget.html

I know it'll take lots of time of yours, no matter what thank you for your kind interest so far!

edit: Now checking droidwall, seems to be a permanent blocker for applications to use data or wifi.

Wish it could block apps unless it's demanded by user, I don't want to block AE, since I might check out for some shopping, but I don't want it to access 3G, unless I tap on it, which sounds like an utopia.. =)

Just to be sure, now restarted phone and market is not enabled, to see if it can not run the market.. (well the phone is locked right now:p)

edit2: after droidwall the phone became super unstable. Managed to stop it, but couldn't uninstall it yet, been 3 restarts. =)
[HD2 Android Q&A, Help & Troubleshooting and Genera] xdaxda111:
Hmmm,

Watch the graph from current widget, smth steadily sucks your battery out.

Peaks from 50mA are ok for 2-5s, but either u have to much from them by using to much syncing apps or you have just one bad app. Well, sorry that droidwall didnt work, until today it run on any rooted android i installed it. Did u use the right version? There is one for 1.6 only.

If you dont get it managed, save your rom and remeber the partition settings and try for example hyperdroid.

But anyways, best way will be droidwall for the moment. Btw. Googlesearch doesnt disturb

Aaaaah: dont add droidwall to the autokiller.

And: autokill is unnessesary, dont use this, doesnt help. Makes more trouble than it helpes.
[HD2 Android Q&A, Help & Troubleshooting and Genera] thekillingroad:
written somthing, then cliked my currentwidget graph screenshot I've added to the previous message, and all gone.. =)

anyways.. nothins working.. thanks anyway for your time and care..

phone is on the desk standing still for 22mins, its on %93.. =)

well, will try hyperdroid since its built for hd2 from scratch..

but I've (dont know why) flashed cwm from rom manager and now I cant connect to usb from magldr or bootloader.. and guess what, this very still cwm is not installing any roms successfully =)
[HD2 Android Q&A, Help & Troubleshooting and Genera] Hahutzy:
Tagged for use later.
[HD2 Android Q&A, Help & Troubleshooting and Genera] scariola:
Task managers are very bad for the battery after android 2.2.
[HD2 Android Q&A, Help & Troubleshooting and Genera] xdaxda111:
Install the fresh rom (wipe the old one out ;)

and install/use your apps slowly and monitor ur barrery drain!

Take your time!!!

And dont let us die without to hear from ya!
[HD2 Android Q&A, Help & Troubleshooting and Genera] maseo:
Ofcourse, i agree with you 100% that it does the same thing. But the fact that that program also supports certain extra benefits (auto data disconnect, data schedules, data timeouts etc) it's more like an AIO option then 2 or 3 loose programs.
[HD2 Android Q&A, Help & Troubleshooting and Genera] skylinepigeon:
theres no such option on hd2. and i can't find anywhere you can download it
[HD2 Android Q&A, Help & Troubleshooting and Genera] DrewOntheMYT:
does anyone have a problem with the phone not waking up? i keep raising the cpu to see if anything changes but to no avail.
[HD2 Android Q&A, Help & Troubleshooting and Genera] aussiebum:
it's not on the HD2 - it's a module that needs to be downloaded and installed into Android. Search XDA/Google for "conservative.ko"
[HD2 Android Q&A, Help & Troubleshooting and Genera] aussiebum:
I've had it once or twice after boot... it seems to depend on the zimage used and the android image build you're using. 23/7 zimage seems to have least trouble for most.
[HD2 Android Q&A, Help & Troubleshooting and Genera] aussiebum:
did some digging around and realised this isn't going to work for android on HD2 - it'll need to be re-compiled for the kernel we used 1st. nevermind for now then :(
[HD2 Android Q&A, Help & Troubleshooting and Genera] hazard99:
what setcpu settings is everyone using.

I pretty much keep my cpu under 800 mhz and when its sleep i keep it about 385 to make sure it wakes up nice and clean .

What do you use?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Fmstrat:
I would actually recommend slightly different settings. Instead of allowing the min to go so high, scale up the threshold so the CPU doesn't wait so long to speed up. By default, setCPU waits until the CPU is under 95% load before scaling up, which is what causes that delay resuming from sleep, rotating the browser, or loading an email. I leave mine at 245 in sleep, but as soon as I hit the power button, the CPU scales up.

Here are my settings, which are working great for long battery life on mattc's RC1.2:

Main Tab:

998Mhz Max

245Mhz Min

Ondemand Scaling

Check Set on Boot

Profile Tab:

Check Enable

Check Notifications

Screen Off Profile

245 Max

245 Min

Ondemand Governor

Priority 100

Battery < 25% Profile

652 Max

245 Min

Ondemand Governor

Priority 0

Advanced Tab:

20000 Sampling Rate

30 Up Threshold (THIS IS THE KEY: This means when your CPU load hits 30%, it will scale up the mhz. If the phone still responds too slow for your taste, set this lower)

0 Ignore Nice

0 Powersave

Check Set on Boot (And Apply)

Try these out and see if you want to put them in the main post.

Thanks.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Shatterv2:
Thanks for the post, added the threshold settings as I forgot to mention that. Will test the CPU settings. Thanks again!
[HD2 Android Q&A, Help & Troubleshooting and Genera] cw-data:
My settings:

998Mhz Max

245Mhz Min

Ondemand Scaling

Check Set on Boot

Profiles disabled

Also: Data always on disabled, use 2G only enabled while not using data.

After 13 hrs now with some moderate browsing and mail checking still 69 % battery left.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Fmstrat:
Maybe I'm missing something simple, but how did you accomplish the second one of these? And do you have problem with email syncing in the background with data always on disabled? (scheduled, not push)
[HD2 Android Q&A, Help & Troubleshooting and Genera] cw-data:
You can set the option "Use 2G Networks only" in the same settings page as the Data connection. I do this manually and switching to 3G mode just before using data.

Scheduled E-Mail sync is not working, when Data is switched off. All data over cell networks is disabled then and programs cannot activate it. So you have to enable manually before sync.
[HD2 Android Q&A, Help & Troubleshooting and Genera] pack21:
i put your sets... tomorow, what improvements, i will able to see .)
[HD2 Android Q&A, Help & Troubleshooting and Genera] Hakeem5:
THANK you, WORKS GREAT ON BATTERY NOW!

Rom: Leo Froyo 1.2
[HD2 Android Q&A, Help & Troubleshooting and Genera] maxijer:
Thanks for the settings. Will try and share here.:)
[HD2 Android Q&A, Help & Troubleshooting and Genera] flame10:
First time user for setcpu, using your setting Fmstrat .. will report how it goes
[HD2 Android Q&A, Help & Troubleshooting and Genera] Tlowery88:
are you using android all day? anyone else?
[HD2 Android Q&A, Help & Troubleshooting and Genera] sanjosanjo:
I searched for "cpu governor module" and the only result is your posting. Where do you find the module?
[HD2 Android Q&A, Help & Troubleshooting and Genera] maxijer:
After one full day and one night of testing, I confirm the battery drain is lesser than normal. Saving of battery is significant with Fmstrat settings.
[HD2 Android Q&A, Help & Troubleshooting and Genera] flame10:
Ditto

and

@ Tlowery88

yes running android fullday
[HD2 Android Q&A, Help & Troubleshooting and Genera] pack21:
In screen off Profile;

If i have set. 245 Max. i have Sleep Dead, and must take The battery.

So i put 460 max, now work, and wake up fine...

In standyby mode, i have 1%/hour battery drainage.
[HD2 Android Q&A, Help & Troubleshooting and Genera] theredundant:
guys i might have an issue. i tried a custom setting, but max mhz is 528mhz. but can i use a nexus one setting and customise the settings accordingly?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Shatterv2:
Hit auto detect, your speeds will correct themselves.
[HD2 Android Q&A, Help & Troubleshooting and Genera] spacerx:
got it .... thanks

---i dont see any [auto detect] button/key ... any advise? thanks---
[HD2 Android Q&A, Help & Troubleshooting and Genera] Shatterv2:
Go to Setcpu, hit the windows key, and configure device settings.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Sab3elbromba:
This post changed my life running android on my HD2
[HD2 Android Q&A, Help & Troubleshooting and Genera] Dblfstr:
Advise

Word to the wise, from my experience. Try your best not to let the battery completely die. If it does, you will not be able to charge again until you do a battery pull. (Darkstone Froyo) This is happening to me and may not be applicable to everyone, but I thought I'd mention it.
[HD2 Android Q&A, Help & Troubleshooting and Genera] shutdown:
my battery has died a couple of times (been away from any power source so unable to plug in)

When I've plugged in and rebooted, most of my settings are screwed as in can no longer download app, can't run many apps without getting a force close alert, no internet...pretty much having to reinstall the OS to get a functional phone again
[HD2 Android Q&A, Help & Troubleshooting and Genera] palestinian91:
Ok when i hit autodetect in setcpu it says no root access detected. What could be the problem?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Shatterv2:
Thats what I've been hoping to hear ;)

BTW- Thread was featured on front page, thanks guys!
[HD2 Android Q&A, Help & Troubleshooting and Genera] chris_ah1:
Yep, actually makes android 100% 24/7 ROm on my HD2. Sure, it's not three days like WM6.5.5....but geez, it gets through a whole day - and that includes bluetooth calls, regular calls, data use, a spritz of gps.

I have also however set the backlight to a manual low level (about 30%) just like my WM settings - this and setcpu are fab!!!

congrats guys.

Only problem is I have had to install setcpu on my three android builds!!! (mattc froyo, darksquare 2.1 and Cm6 from shubcraft)
[HD2 Android Q&A, Help & Troubleshooting and Genera] CaCtuZ123:
Anyone tried the fat battery for HD2?

2300mAh should last longer than the original 1230mAh, and ofc SETcpu :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] Kush Smoke:
my camera apps dont work now lol wtf...
[HD2 Android Q&A, Help & Troubleshooting and Genera] ogonzuhnina:
the extended battery is not supported by the kernel yet. The temperature read-out is bad (shows 90C at ~30 in reality) and won't boot cause of that.

The CE driver is complex to be regenerated for linux/android so for now u can not use that battery.

these info are per IRC chat log of last few days.

cheers

06
[HD2 Android Q&A, Help & Troubleshooting and Genera] the_scotsman:
Is there a way to turn off the data connection, but let it enable a connection on demand, just like windows mobile?

Having 3G connected all the time is a waste of battery.
[HD2 Android Q&A, Help & Troubleshooting and Genera] flame10:
Add the power widget , you will love it
[HD2 Android Q&A, Help & Troubleshooting and Genera] hazard99:
On the main page they posted an app that switches to 3g while the screen is off.

It is atleast worth a look.

http://xdaforums.com/showthread.php?t=739530

Pretty awesome if you ask me I will be trying it.