yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] Bakedbread:
yeaaahhh, so background:

I'm running Miri v17 with radio 2.10.50.x with Darkstone Froyo v1, latest zimage (aug3) , and 1GB data.img

Today was the first day ive tried running android ALL day, because my only issue before was the in-call audio quality, which was fixed with the latest zimge

Im pretty sure other ppl have the problem of the battery charging only to 97-98%, but anyways, i charged my phone all night , so "max" at 98% , unplugged this morning and came to work.

I didnt touch use my phone for any calls or SMS, just played around with it for a bit and went to a meeting. I came back to it with 25% battery left.

That was a time span of 9:30am to 12:30 noon

that's why i came to this page and i set up the profile as per Fmstrat's post with SetCPU

SO! recharging right now (cause my phone was about to die), and ill report back my personal findings. Ive read a lot of great things about SetCPU and conserving battery life, so im looking foward to it!
[HD2 Android Q&A, Help & Troubleshooting and Genera] david04:
This is true. I found this out the hard way last night.
[HD2 Android Q&A, Help & Troubleshooting and Genera] SuJaR:
yeahh ... maybe is the BEST app i try on my HD2 android ever. The battery life is larger than ever and now the phone is cool than ever!!!

REALLY A GREAT JOB!! :cool:

I use the pack21 config:

Main Tab:

* 998Mhz Max

* 245Mhz Min

* Ondemand Scaling

* Check Set on Boot

Profile Tab:

* Check Enable

* Check Notifications

* Screen Off Profile

o

o 245 Max

o 245 Min

o Ondemand Governor

o Priority 100

* Battery < 25% Profile

o 652 Max

o 245 Min

o Ondemand Governor

o 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)

AND WORKS FANTASTIC!!
[HD2 Android Q&A, Help & Troubleshooting and Genera] the_scotsman:
Running spimonkey34 's build, I lose 35-40% battery overnight. That's with SetCPU profiles and disabling 3G with screen off.

Does this sound about right for the current Android builds on the HD2?
[HD2 Android Q&A, Help & Troubleshooting and Genera] dcordes:
Shhhh this is a

secret

only known to Linux hackers, so don't tell anybody...

Every distribution of Linux has an 'app for this' included. It is called "echo".

Type the following on the command line to set your CPU settings with it to

get into performance mode (automatic high clock):

get into powersaving mode (automatic low clock):

get into ondemand mode (automatic clock adaption to system load):

get into manual mode (set your own clock frequency):

find out what frequencies in MHz you can set (another app called 'cat' must be used here):

set your own clock frequency in MHz

Hope this will shed some light.

If you want to become a smart a** like me one day, just read the documentation of your operating system.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Shatterv2:
Thanks for the post dcordes :)

But I based this guide off of SetCPU just to keep things simple.
[HD2 Android Q&A, Help & Troubleshooting and Genera] g29er:
When I go into the main screen it wont let me change anything. I can change the battery and screen but I cant into advanced settings. It wont let me change the scaling governor. In the help section it said if my kernel doesnt support auto detect then it wont detect for me. Could this be zimage related?

I was able to change battery and screen though.
[HD2 Android Q&A, Help & Troubleshooting and Genera] tsrzealot:
For me, it doesn't. I haven't tried out that build yet, but I am using Darkstone's Froyo with the 25/7 zimage. I'm probably about to change it to the exact same build you're using with the new 3/8 zimage.

With my build and zimage, I have about 8-10% battery drain overnight (even had that before I started using SetCPU, which, to my surprise, did not really change the battery drain overnight, but since it was already ok, I didn't worry about it.).

Maybe you haven't disabled GPS? That'S a major difference between our builds...

Hope that helps you.
[HD2 Android Q&A, Help & Troubleshooting and Genera] nzxtneo:
What about flashing to a new radio like 2.10.xx or 2.12.xx, would that improve battery life while running Android? Or does that only affect performance when the phone, I mean the HD2 is loaded into WinMo?
[HD2 Android Q&A, Help & Troubleshooting and Genera] tsrzealot:
From what I know (which comes only from hours and hours of research in this fine forum ;)), the radio rom part indeed may have something to do with power management. But I think there is no one "best" radio, so you might want to try them out. I think they should affect the battery drainage under Android (if they do under WinMo, which must not necessarily be the case when you change your radio).

If I got these facts wrong, please, someone be so nice as to correct me, I'm always willing to learn ;)

EDIT: BTW, which I don't know is if you could really expect that much of a difference, since you already need one of the "later" radio roms in order to boot android. But then again, my knowledge about this is kind of limited, so I don't know how big the difference between (for example) the 2.10 and the 2.12 radio is. Maybe you can't even generalize and one radio means less power consumption for one user while another radio means more power consumption for another user, based on their carrier, location, signal strength and so on.
[HD2 Android Q&A, Help & Troubleshooting and Genera] zabique:
I am using shubCRAFT CM6RC2/Froyo

ROM energy radio 2.12.50.02_2

Juice plotter to record battery usage.

no additional apps eg. setcpu

between 24.00 (68% battery) to 8.30 (59%) = 9 % in 8.5 hours

are you getting similar results?
[HD2 Android Q&A, Help & Troubleshooting and Genera] HotShotAzn:
Is that idle? (I'm guess so since its in the middle of the night).

I'm on Energy ROM with 2.08.xx. Using MattC's Froyo.

in 2.5 hours with moderate use, I'm at 75% from 99%. 10% per hour drain with use. That's with Facebook, Weather, and Google sync all on. I haven't tested idle yet.

This is the same drain I had on Energy WM with heavy use so it's not too bad. I'll try a different radio to see if I can get any improvements. It's way better than the 10% per our drain IDLE on the former versions of Android.
[HD2 Android Q&A, Help & Troubleshooting and Genera] zabique:
Yes while Idle, and i'm getting about 15%/h with heavy internet use: Wi-fi ON.
[HD2 Android Q&A, Help & Troubleshooting and Genera] nzxtneo:
Thank you very much Shatterv2 and Fmstrat for your SetCPU tips!

Android is now running beautifully on my device.
[HD2 Android Q&A, Help & Troubleshooting and Genera] prudviraj:
Try APN On/Off in market place.. its pretty awesome to control the internet data..
[HD2 Android Q&A, Help & Troubleshooting and Genera] waldemator:
/signed

Thank you guys, great tips, now i can completely drop of WinMo (if it would be passible :D)
[HD2 Android Q&A, Help & Troubleshooting and Genera] HotShotAzn:
Update on my drain issue:

I changed to radio 2.12.xx and the latest Energy Titanium ROM. I disabled EVERYTHING (data/phone) in the ROM as well as backlight controlling.

Last night, I got 5.5% per hour drain with WiFi left on (on accident). That's with Google and Facebook syncing all the time.

I turned WiFi off and I've been getting 3.5% drain with moderate use.
[HD2 Android Q&A, Help & Troubleshooting and Genera] nzxtneo:
I tried radio 2.10.xx today and my battery was just over 10% an hour...ouch

I WAS using 2.12.xx and my results were about the same as yours, HotShotAzn.
[HD2 Android Q&A, Help & Troubleshooting and Genera] :
reboot

if i have chucky droid rom and running android, if i reboot and load android again, does it work and do i loose any of the apps and setting?
[HD2 Android Q&A, Help & Troubleshooting and Genera] HotShotAzn:
Here's some more food for thought:

- With the stock battery, I got 2.4% drain idle last night.

- I switched to a 1200 mah battery and "reportedly" getting 6% drain.

I know that extended life batteries are not reporting correctly so perhaps the drain I'm seeing is not really happening? I'll report again tomorrow when I test the stock battery again.
[HD2 Android Q&A, Help & Troubleshooting and Genera] 11calcal:
Thanx very much for the tips, temperature has dropped considerably & running very smooth now ;)
[HD2 Android Q&A, Help & Troubleshooting and Genera] JamesRC:
I would also recommend WiSync - it can enable/disable auto-sync when wifi is on/off, saving a lot of battery power. Without it, I saw ~30-40% drain overnight, now ~10%.
[HD2 Android Q&A, Help & Troubleshooting and Genera] nzxtneo:
Everyone looking to save additional battery life should also check out:

http://xdaforums.com/showthread.php?t=749753&page=6

The thread talks about using BsB Tweaks in WinMo along with some registry edits to maximize battery life.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Shatterv2:
Windows mobile is shutdown before android boots up, how does that even help? :o
[HD2 Android Q&A, Help & Troubleshooting and Genera] hazard99:
The way I understand it once you load the speed steeping file set cpu should show the conservative setting. I can see the speed fluctuate but I have no conservative settings. I am on shu8i froyo 1.2 with the latest kernal from git and set cpu 2.0.2 any idea what could be going on
[HD2 Android Q&A, Help & Troubleshooting and Genera] Shatterv2:
Conservative scaling is different than ondemand and performance. The kernel needs to be Conservative enabled for it to work, if thats what your asking. ;)
[HD2 Android Q&A, Help & Troubleshooting and Genera] hazard99:
Well I loaded the bcm4329.ko file via Droid explorer was that not suppose to enable the conservative setting? I guess I misread.
[HD2 Android Q&A, Help & Troubleshooting and Genera] TheInVisibleGoD:
bcm4329.ko is a Wi-Fi module!

In order to use the "Conservative" setting, you need another kernel, the link is in the first post...
[HD2 Android Q&A, Help & Troubleshooting and Genera] hazard99:
Aww damnit so ill loose my full ram kernal? Man I feel like a noob!
[HD2 Android Q&A, Help & Troubleshooting and Genera] nbhor:
As per my understanding WM does not shut down completely. Few drivers are still memory resident. So when haret boots up few WM drivers are loaded up in memory.

Check Post#6 in this thread http://xdaforums.com/showthread.php?t=749753
[HD2 Android Q&A, Help & Troubleshooting and Genera] TheInVisibleGoD:
Don't no if it helps you, but this build already have included the kernel with conservative setting and full RAM available! ;) I'm using it right now, if you don't like Sense, this one is a good option!
[HD2 Android Q&A, Help & Troubleshooting and Genera] CB620:
My friend sent this over to me, he said it worked for his Evo, Been running for 2 days now and im at 72%. Auto Brightness On. 2G On. Auto-Sync Off. Animations Off:

LAST LINE IS: Battery < 100%, 0 priority, MAX as the highest value, MIN lowest value, and scaling as ondemand.
[HD2 Android Q&A, Help & Troubleshooting and Genera] interfreak:
Sounds pretty cool. Might give this a try this afternoon and test during the day tomorrow.
[HD2 Android Q&A, Help & Troubleshooting and Genera] interfreak:
Also, what settings do you have in the 'Advanced' tab?
[HD2 Android Q&A, Help & Troubleshooting and Genera] brolee93:
Can you please detail all your parameter ?

thanks
[HD2 Android Q&A, Help & Troubleshooting and Genera] kevin319:
Hi guys, after using the setcpu app my phone no longer screen locks when i press the red button. Does anyone have any suggestions?
[HD2 Android Q&A, Help & Troubleshooting and Genera] alantak:
When I first installed SetCPU (mattc froyo w/sense 1.5b, chuckydroidrom) and used setting from this thread I saw significant improvments, 1-2% per hour when idle. At some point since then, after some reboots and recharges, its has back up to 5-6% drain per hour (about where it was before SetCPU).

I confirmed all the SetCPU settings are the same, still sets on boot.

Anybody else have this happen?

(edit: all of my other battery saving settings were unchanged as well, such as background data off, always-on data off, gps off, etc.
[HD2 Android Q&A, Help & Troubleshooting and Genera] alantak:
I am also noticing many more touchscreen freezes now. Could this be related?

It is behaving so much like before I initially installed SetCPU that I am beginning to think its not kicking in or something. So I have uninstalled/reinstalled it. Lets see if that makes a difference.
[HD2 Android Q&A, Help & Troubleshooting and Genera] zamurai:
I couldn't slide to get 998mhz, only 883mhz then jumps to 1036mhz

????:confused:
[HD2 Android Q&A, Help & Troubleshooting and Genera] alantak:
Reinstalling SetCPU made no difference.

Interesting development: I was going to try recharging then deleting batterystats.bin (as described here: http://xdaforums.com/showpost.php?p=7709560&postcount=20) but while charging in WinMo (ChuckyDroidROM) I never charged more than 72% via usb cable.

Am now trying to recharge with phone off via USB cable.
[HD2 Android Q&A, Help & Troubleshooting and Genera] alantak:
Which kernel are you using? I believe the options for cpu frequency are set in kernel configs.
[HD2 Android Q&A, Help & Troubleshooting and Genera] zamurai:
great I really don't know.....

kernal version: 2.6.32.9.........-dirty
[HD2 Android Q&A, Help & Troubleshooting and Genera] alantak:
Just to keep this going a while longer....

Didn't work. Recharged to green with power off, booted into android, removed batterystats.bin, powered off and booted back in android, battery drain still ~5% hr in idle.

Now trying this airplane thing: http://xdaforums.com/showpost.php?p=7818333&postcount=74

Then its on to trying fresh new roms/builds.
[HD2 Android Q&A, Help & Troubleshooting and Genera] alantak:
No dice, still ~5% drain per hour when idle.

Of all the mysterious issues with android on hd2, this battery drain issue seems to have the most elusive cause(s), with many possible solutions that are not universal.
[HD2 Android Q&A, Help & Troubleshooting and Genera] mrvpdang:
have u figure out how to slide to 998? im having the same problem
[HD2 Android Q&A, Help & Troubleshooting and Genera] kor kuiper:
I have a great improvement of battery life with this setcpu settings and removing de battery stats. Now i am combining with the winmo setting for sdcard, let you know !!

kor
[HD2 Android Q&A, Help & Troubleshooting and Genera] alantak:
Success, not sure why: did a fresh mattc 1.5b build, updated kernel to latest (8/24), charged to green light with charger (not usb cable), android shows 100%. 3 hrs in with just a few texts and am at 97%. Now lets see if this holds.

mrvpdang, do you know what kernel is used in your build? find it and see what frequencies are enabled. thats where I would start, anyway.
[HD2 Android Q&A, Help & Troubleshooting and Genera] relic:
is it normal not to have any apps in the ignore list to select?

tried it on several builds now. How can I select ignored apps if I can't see them in the ignore list to tick.
[HD2 Android Q&A, Help & Troubleshooting and Genera] alantak:
27 hours in, moderate use, battery at 36%.

I have been keeping close tabs on anything I do with the phone to see what triggers the battery drain (or battery calibration issue, whichever it actually is).

I will start to do more crap now (installing apps one by one, messing with settings, charging in Android with USB cable)

To hopefully debunk some myths/red-herrings with battery drain, this success came while:

- background data is ON

- GPS is ON

- Network location is ON

- AutoSync is OFF

- SetCPU is ON

- Did not touch WinMo registry (ChuckyDroidROM)

- never did any battery "calibration"

- never touched batterystats.bin

I think some of these things may be actually helping people, but maybe they are not the root cause and have an indirect effect randomly.
[HD2 Android Q&A, Help & Troubleshooting and Genera] xarejay28x:
took FMstrat tips/setting and im not sure if those settings applies to me because im still loosing around 15-20% battery per hour. of course thats with heavy use but nothing near as what i get with my wm with the same usage.

just want to know if thats normal so i can stop stressing over this drainage issue?

i just read some ppl get more battery life than me and i hope to get that too.

btw: have been running Android for one week and its been flawless. no SODs, glitches, lags, just battery life is short lived. thanks!!!
[HD2 Android Q&A, Help & Troubleshooting and Genera] :
Does Set CPU affect PIN lock required by MS Exchange

My MS Exchange Server requires a PIN for its security certificate (there is no way around this). I simply use "0000" for simplicity. This means that

This is fine generally, however I have noticed that if I reboot into 1.6b after restoring settings from Titanium Backup it somehow "resets" the PIN to something I cannot recover meaning a reformat of the SD Card and starting again.

My research of both XDA and the University of Google have come up with a couple of theories and alleged causes. I am not technically savvy enough to distinguish between those who know and those who are guessing.

These theories have largely focused on three offending applications:

1. BsB Tweaks 1.6 and more specifically activating power saving; or

2. Swype Beta as a stand alone APK installed after Android; or

3. Set CPU.

I assumed that BsB Tweaks would be irrelevant if Android was being run from the SD Card and I had installed BsB Tweaks to Internal Memory.

Anyone else in the same boat or have any ideas about this? :confused:

I know it is simply anecdotal (I am not a newbie but certainly a tech luddite) but I suspect whatever is occurring happens after I put the settings as suggested @ post #89.

Sure I could just try other settings in Set CPU or not use it at all but I thought I would raise the issue. Any assistance or pointers to other discussions about this would be greatly appreciated.:)
[HD2 Android Q&A, Help & Troubleshooting and Genera] hazard99:
Data on demand which i found in the market completely turns of data until you unlock the phone.

It does take a few seconds to come back but overall it does work. It helps me save battery though i believe my battery is shot!
[HD2 Android Q&A, Help & Troubleshooting and Genera] alantak:
Well, I am still baffled.

To rehash: chuckydroidrom, mattc 1.5b, 8/24 kernel, SetCPU.

On the initial charge done in Android I got green and 100%, lasted me 2 days, or about 40hrs, at which point i was at 6% before going to bed. I was getting just ver 1% idle. Battery temp usually are 24-25C.

I recharged in the exact same way overnight and the next morning idle battery drain was back up to 2-3%. No idea why. No apps were installed. No settings were changed. Nothing.

Since my battery drain was bad again, later that day I decided to try mattc 1.6b with the bundled kernel. Idle battery drain was immediately terrible, over 7% idle and battery temp was always high 30-35C.

I am now back to trying 1.5b with 8/24 kernel. (8/27 kernel breaks by keypad buttons.)
[HD2 Android Q&A, Help & Troubleshooting and Genera] qipengart:
Alantek what was your screen brightness setting?
[HD2 Android Q&A, Help & Troubleshooting and Genera] alantak:
Right about 25%. I cranked it up a few times while outside but turned it back down again.
[HD2 Android Q&A, Help & Troubleshooting and Genera] qipengart:
Alantek, thanks a lot. Would 60% be too bright and suck up battery life too fast?
[HD2 Android Q&A, Help & Troubleshooting and Genera] alantak:
In my opinion yes. 25-30% is plenty for most situations I find. But it is problematic when walking outside and the light sensor (not yet ready in android/hd2) does not auto adjust the brightness.
[HD2 Android Q&A, Help & Troubleshooting and Genera] xarejay28x:
@alantak: i too im trying to figure out why one day i lose 1-3% per/hr (idle) and then another day 5-10% (idel) ive been monitoring my usage very carefully and jotting down everything i turn on/off/use etc. anyone have any logic to our battery drainage.

imma update to the latest kernal, uninstall all apps, maybe reinstall everything! and see whats what!!
[HD2 Android Q&A, Help & Troubleshooting and Genera] qipengart:
I am getting pretty good results on idle. HEAVY USE gotten me around 7-8% per hour down in life.
[HD2 Android Q&A, Help & Troubleshooting and Genera] desiboi00:
The best battery life i've ever had

I took my phone off of charge @ 8:06am.... I did some texting,took phone calls & played around on the net. It is now 5:00pm my battery is @ 77%....
[HD2 Android Q&A, Help & Troubleshooting and Genera] HTC_HDD:
Hey guys,

i am using mattc 1.7 since yesterday and i have problems with SetCPU.

Everytime i go to profiles, i get a force close :/

I need to get running SetCPU :/

Any ideas?

// EDIT: And i am already using the rmnet version.
[HD2 Android Q&A, Help & Troubleshooting and Genera] alexlam127:
someone on this forum said that taskkiller drain battery more that usual

he said when it kill when screen off, it drain heavy battery in 3minutes

it is wise to use task killer or let android to use its multitask function?
[HD2 Android Q&A, Help & Troubleshooting and Genera] alexlam127:
its insantly good, can you share your build plx
[HD2 Android Q&A, Help & Troubleshooting and Genera] xarejay28x:
that maybe the culprit to my battery drainage. ill give it a try and report back in.

but still trying to figure out mine and Alantek's question on why one day we get 1-3% loss then the next 10-15% loss with the same amount of use!
[HD2 Android Q&A, Help & Troubleshooting and Genera] xarejay28x:
found the solution to "MY" battery problem

okay. i gave it a try and uninstalled "task killer" and im showing excellent results.

i was losing 10-15% and hour of battery life with medium amounts of usage and 5-8% on idle. and my phone wouldnt even last a day or let alone 12 hours with lil data use.

i kept track of everything i did in the past few days and compared it to yesterday when i took task killer off... in 22hrs my phone is at 38% with heavy usage.

i mean its not the best ive seen or heard but its way better to where i was at before. hope this helps. and my phone doesnt run above 30 degrees c anymore.
[HD2 Android Q&A, Help & Troubleshooting and Genera] alantak:
Same here. I uninstalled Task Killer, and am using AutoKiller on "moderate" setting instead. I am getting much less drain.

You can use "CurrentWidget" (from the Market) to monitor battery usage in idle.
[HD2 Android Q&A, Help & Troubleshooting and Genera] SNL:
I guess you restored SetCPU with Titanium Backup. At least i had the same problem when i did that. After a clean install of SetCPU all was working fine again.
[HD2 Android Q&A, Help & Troubleshooting and Genera] hc000:
I can't seem to install this apk on my HD2 Tmobil usa.

I put the apk file on to my sd card, and installed all the app installer from the market place, none of them can find this apk.

I also downloaded android sdk, and the windows usb rev 3 then went to command prompt and typed adb install file path filename. but it keeps saying file not found?

I have allowed installation of unknown sources checked as well.

the apk file is not hidden. suggestions?
[HD2 Android Q&A, Help & Troubleshooting and Genera] jdeezyboo:
Hey guys im trying to set my SETcpu to 998 but i cant only 1036. My kernel is 2.6.32.9 dirty. Does anyone know the steps i have to take to get a new kernel and instructions on how to install it? Im using darkstone froyo 2.2 build energy rom. Also my battery only chargers to 96% max and says it fully recharged.