SwiftDroid - Android 2.3.2 by Mur4ik - Battery draining problem - Solution... - GT540 Optimus General

Hello everyone!
Since I'm a newbie to this forum, I can't post in dev. branch, so I'm posting this here.
Yesterday I flashed Mur4ik's newest 2.3.2 Android ROM and I'm most satisfied with it, apart from the heavy drain on the battery. I'll try to solve that problem and post the results here. My main suspect is the Cyanogen's CPU OC control in Settings. Here's why...
Yesterday in the evening I charged the phone to full and left it on the table overnight. In the morning my battery was at 55%!!! Immediately, I went and checket CPU clock times in Android System Info and percentage of time the phone used max CPU speed was over 50%! So, this morning I installed SetCPU and used the same settings I used with the built-in CPU speed setting tool and I manualy set the speed to be min. 245MHz and max. to 806MHz. Then I added a profile for "screen off" to use min. 245MHz and max 245MHz too. I think this could be the solution, but we'll see.
I'l keep u posted!
Cicko

I'm kind a notice it myself. When update to new 2.3.2 without OC battery last for two days with heavy using and after OC to 806 Mhz its one day.
Sent from my GT540 using XDA App

I'm already seeing improvement with SetCPU and screen off profile! CPU time spent at 806MHz is rapidly decreasing in favor of 245MHz --> Battery drain slowing down proportionally! And the phone is responsive as ever.
I'll keep track of it in the next few days and post results.
Greets!
Mur4ik, thanks buddy, for an excellent job so far!

Thanks for the info, hopefully we'll be able to sort this out.
I'm living on battery fear land now
Sent from my GT540 using XDA App

ill try it... i got the same problem with cyanogenMod 7 ... when i was with official LG Eclair.. battery was great...
cyanogen extremly drain my battery life...
when im chargin it.. some time it stucks at random percent... sometimes stuckst at 50 % , 70 % :S

Update:
My battery life improved, but not as expected...
I didi a little research myself and found out that there is a similar/same problem on other Gingerbread ports for other phones. But, people there are saying that they have problems with sensors daemon (akmd2) which is using more CPU than it should. I noticed almost the same thing on my phone. There are two possible fixes proposed by some people:
- First is to set a huge polling delay for akmd2 which reduces responsiveness of orientation sensor and compass. It's done like this:
adb shell
echo 250 > /data/delay
- Second option is to rename or move the akmd2 binary from /system/bin, which would turn off the orientation sensor and compass.
I don't like these "fixes", since they are disabling some of the main features of the phone, or rendering them almost unusable...
I'm considering a downgrade to openswift 4.4 untill this is resolved...
Another thing I noticed is in the logs. When the screen is turned on there is a error message regarding sensors which could be preventing the akmd2 process from working properly and thus draining the battery. Log entries say:
I/power (1266) *** set_screen_state 1
E/Sensors (1266) read_sensors_state
Edit #1:
I checked logcat on my friends HTC Magic and it says (when screen turned on):
I/power ( 144): *** set_screen_state 1
D/AKMD ( 110): Compass OPEN
D/Sensors ( 144): sensors=00000001, real=00000001
Edit #2:
I restored my previously backed up OpenSwift 4.4 (Android 2.2.1) ROM and from logcat i see this when screen powers up:
I/power ( 1151): *** set_screen_state 1
D/Sensors ( 1151): using /dev/input/event3 (name=compass)
D/Sensors ( 1151): sensors_data_open: fd = 99
E/Sensors ( 1151): sensors_control_activate active=00000000 sensor=00000002 new_
sensors=2 changed=2
D/Sensors ( 1151): open_akm, fd=101
D/Sensors ( 1151): sensors=00000002, real=00000006
After seeing this it seems to me that in SwiftDroid 1.3 sensors stay ON (they all work normally when needed) even after screen goes off, so that could be the main problem with battery drain.
Anyone pass this to Mur4ik, please?

Never mind, I got the post count to 10...

I used set cpu in cyanogen and the battery life were improved a lot.. mie i can use it about 1 day. I hope cyanogen moders can fix this problem asap.
Sent from my MotoroiX using XDA App

Battery problem
Hi 540 maniacs
After i flash it my 540 with CM 7 2.3.2 battery was alright for over 2 days and I was surprise that is so good but then after recharged; phone discharged in 8 hours (LOL?). So I started look around WTF and SetCpu profile for screen off + Auto Rotation Off and that cause my phone have 60% of battery from 18/02 5:50 AM. So it could be sensors as well draining battery ehh hope for quick fix.
Peace ^_^

I don't user overclock, then I use CPU tuner.

With SwiftDroid 1.4b the battery life is increased. Try it.

I am trying it already and it's great so far!
Sent from my GT540 using XDA App

1.4b is better but still draining too fast as compared to the stock 2.1.

It's doing well for me. I just had to disable the built in overclocking app and use SetCPU with speeds 245-806 MHz (ondemand governor) and a screen off profile with 245 min/max speed and it works like a charm! No more meaningless battery drain.
If anyone has a better profile for SetCPU (more efficient) please share it with us!

how you disable cyanogens utility OC?

Sorry for re-posting from the general forum
I am having some trouble with the 2.3.2 by Mur4ik. The problem is when I closed an application like K-9 Mail of Facebook or whatever, it takes about 20 seconds to reload the android home screen. During that time I get only the wallpaper and I have to wait to load the shortcuts and widgets.
Another symptom is when I move from and application to another without closing the first one, and then I go back to the first one through long press on home button, I find the application restarting.
For example if I am at the opera browser and I press home and open K-9 mail or a notebook app, and then long-press the home button and choose opera I find the page gone and it says loading, just like starting the app all over again.
This happens with all apps not only the browser.
Is this because the memory is simply not enough so the phone kills everything not currently active?
or is it a bug in the OS that needs to be looked into?

@SrkeeOSK:
I just unticked the option in overclocking "set at boot" in Cyanogen's settings menu. Then installed and configured SetCPU as normal.
@Dr.Alani:
Maybe you haven't flashed properly, maybe Your SD-Card needs to be reformatted... Try to follow the exact procedure for flashing the rom (wipe first with "fastboot -w"). make sure that You don't touch any settings if You are unsure of what they do!
Good luck

Apparently there was some app killing the launcher automatically. I looked into it after a friends advice over @modaco and foound that the app "super manager" has an autokill thingy in its widget.
Uninstalled it and testing now.
Sent from my GT540 using XDA App

panoramixus said:
Hi 540 maniacs
After i flash it my 540 with CM 7 2.3.2 battery was alright for over 2 days and I was surprise that is so good but then after recharged; phone discharged in 8 hours (LOL?). So I started look around WTF and SetCpu profile for screen off + Auto Rotation Off and that cause my phone have 60% of battery from 18/02 5:50 AM. So it could be sensors as well draining battery ehh hope for quick fix.
Peace ^_^
Click to expand...
Click to collapse
First time I flashed my 540 with CM 7 2.3.2 battery lasted alright for almost 2 days buty after that it hardly lasts 20 hours with implementing all advice to increase battery life for this ROM. Definitely in this ROM the battery is not charging to full and OS is reporting wrong percentahe during the charging and discharging. Any one found the reason why it is and how the wrong % can be corrected. As soon as the OS reports 100% phone stops charging the battery.

I had (1.3) problem with battery too, i did battery format:
1. full charge battery (when is full, unconnect charger, and then connect again, i did it twice)
2.wipe batery stats
3. normal use (1,5 day - without usb connection!!!)
4. at 5% i try to discharge battery completly (turn off and turn on, again and again until device start)
5. then i charged to full (unconnect charger, and connect it again)
6. normal use (3 days - without usb connection!!!)
7. at 5% charge to full
8. normal use 94 h (alamost 4. day)
normal use by day: appr. 1 hour call, sync on (edge/hspd), mailing, every evening at home wifi switched on, i am not using oveclocking, i don't play games, gps active only once for 1 hour walk, instaling apps a lot, for datatranfer bluetooth (to prevent be charnig from usb)
Percentage looks more accurate too, after charging 100% is for 30 min, then fall down to 95, and slowly to 75, then very slowly to 5% (before fast to 50% and then stuck there, and then fast to 5%)

Related

Battery Life Stories

Hello,
I have been following these forums for a couple months now, and wow I am impressed. I love this community. I feel like I haven't contributed yet, so I started this thread. Below are my phone specs and my battery success. If this helps you, great! If you can contribute to this thread with your success, please do. If a similar thread is around, let me know; I don't want to take up extra space if I don't need to. My primary goal is for people to share their specs, usage, and battery life with Android. I had my brightness on high and 3g, GPS, and sync on (things you would normally want on all day). Peace!
Specs:
Leo - T-Mobile version
SD - 16GB class 4 (not sure brand, doesn't say)
Radio - 2.12.50.02_2
ROM - 28/7/10 Elegancia V 1.0 Final, Max Sense (T-Mobile version, if there is a difference?)
Android- 03/08/10 shubCRAFT CM6RC2/Froyo/Themed V1.1
Kernel - Cotulla 2.6.32.9#103
Info:
Unplugged at 07:30 am with 100%
Immediately checked email/XDA app for any updates (yep, I'm lame)
Standby for about an hour
Music/web browsing on Train to work (30 min)
Standby for 3 hours
Video playback during break (20 min)
Standby for 5 hours
Music/web browsing on Train home (30 min)
Home for about 3 hours with mix of standby/web browsing
9:10 pm - 15% warning (close to 15 hrs)
I stopped at 15%, because that is my "safety zone" for normal usage.
Anyone else care to share similar stories?
Before sleep yesterday, i have 97% battery, but when i wake up today, the battery left 47% :S 6hours drain 50% battery life only in stanby!!
when i checked background for what was running, Nothing..... maybe the android's screen is off, just it's not really sleep..
Hey guys, it's totaly normal, the actual HD2-Android roms are RC's, these problems will get fixed, just be patient.
My battery expirience:
8:30 - took from charging at 97% and went to work
normal use @ work (sms, googletalk, twitter and facebook)
15:00 - 15% warning
its about half the time from my windows rom, i think at current state of development it ist totaly OK.
And if you use SetCPU you can get a 1% discharge per hour in standby mode, if set up correctly
And what Waldemotor said, it's still in development.
Powermanagment isn't fully functioning, yet.
patience young grasshopper
5:40pm 100% when leaving work, started listening to music
5:55pm Standby for train ride
6:45pm Listening to music
7pm: Stopped listening to music
7-10pm: bit of xda app, checking my ps3 friends to decide whether to play MW2, showed the kids a couple of games
10pm-7am: Standby
7:40am-7:55 - Music before train
7:55-8:45 - Standby
8:45-9am Music
And here I am 09:35 and I have 30% battery left.
maseo said:
And if you use SetCPU you can get a 1% discharge per hour in standby mode, if set up correctly
And what Waldemotor said, it's still in development.
Powermanagment isn't fully functioning, yet.
patience young grasshopper
Click to expand...
Click to collapse
I'm with Darkstone Froyo 1.1 and i sync:
Gmail (push)
Exchange Mail, Calendar Contacts) every hour
Facebook every 2h
Twitter every 2h
I use SetCpu set to 245/245 profile screen off and 998/245 standard profile
I also Use
Juice Defender (paid version from market) :
With this i can plan usage of WIFI/3G :
- U can choose from push up to 5mn every 2h, i don't plan
- U can disable during night my night is from 22h to 7h
- disable if battery under 15%
- enable when i use choosed application in a list form exmple email, browser ... (keep disable elsewhere)
- U can choose automatically enable when screen is ON i don't : i prefer enable with application
Note: it's possible to control CPU too but i don't .. i think setcpu is better
- Wifi may be auto disabled when there's no access point near u
Estrong Task manager
- With this i kill all application except a choosen list when screen is off
GPS is always Disabled
With theses applications and settings i can get:
0% lost during night
and during day, my battery life depends on how much i use applications with 3G or Wifi and ... over all how much i phone
Note :
I've same conf on my Htc Hero ... (Android 2.1 hect sense) my battery life is almost 3 days
With HD2 desire V5 results are not so good
So i recommend :
Darkstone Froyo 1.1 (waiting for next build)
Wirh SetCPU, Juicedefender (paid version on market), and Estrong task manager
JuiceDefender has a free version but wiyh less options but u can try it
U can control battery JuicePlotter : it draws a graph for ur battery consumption and temperature telling u if wifi or APN were enabled.
Hope my contribution will be useful for some people
A+
Jpq
Went to work with a full 100% battery, did a bit of webbrowsing and texting. It was down to 30% within about three hours.
But I'm not fussed. As it's been said, it's still in its infancy. I've done nothing to try and amend it (SetCPU etc). I just have everything running on default settings.
When things drop so far though, I just switch back to Windows if I'm not near a charger.
My 2 cents on the matter
I own an HD2 since last Friday, I think. I found out that it can run Android and I wanted to test it. I spent an entire day with the Android. I started with a full battery, but I browsed the market, installed a lot of applications, listened to some music, even played a few avi files. The battery is drained faster than on WinMobile, but just like it was pointed out here, Android is still in development. The main idea is that I used it a lot and the battery was almost drained in 9 hours (I also stop around 15% too). I used Darkstone Froyo 2.1 build (Dan1j3ls Froyo V1).
- zImage 3/8, Dan1j3ls Froyo V1 (without Sense)
- setCPU enabled (always ondemand between 245 - 998)
- Yesterday 7 am - unplugged with 100 %
- Sync enabled with 3G over the day, some web browsing and playing around all day, measuring
- *#*#4636#*#* -> Phone info -> Menu -> set frequency band to Euro band, afterwards the constant 2G/3G flapping disappeared, switch to 2G only happens, when no more 3G available
- 11:30 pm went to bed, disabled Data overnight -> 50% left.
- Woke up this morning 8 am with several alarms ringing -> still 41% battery left.
With little usage good two days possible!
foxcheng said:
Before sleep yesterday, i have 97% battery, but when i wake up today, the battery left 47% :S 6hours drain 50% battery life only in stanby!!
when i checked background for what was running, Nothing..... maybe the android's screen is off, just it's not really sleep..
Click to expand...
Click to collapse
I left mine at 98% before going to bed and 8 hours later (yes, I slept that long) there was 78% left...
I'm on MattC's build, German Vodafone Stock Rom (1.72...) and 2.10.._2 Radio.
SetCPU activ and Exchange checking for mails every hour...
However, I'm not sure if 20% or 2,5% per hour is good or bad
u can globally underclock ur cpu for better effect, I run mine at 80% clock (main profile)
Im now on my 3rd day of using mattc v1.4.
1st day battery life was SHOCKING (as to be 'expected' (can you expect a shock???) for a RC running off an SD card).
I probably got about 4 hours heavy use from 100% to 10%.
2nd day I set up SetCPU with profiles for 'screen off' and <25% battery, disabled all data except wifi, disabled gps (tried juice defender but didnt find it useful as I never really use mobile data anyways). LEFT SCREEN AT 100% BRIGHTNESS!
This ^^^ helped with battery drain a lot and stopped the huge drain i was getting while the phone/screen was asleep.
BUT on day 2 I got a WEIRD problem:
Tried to set a pattern for unlocking - Put phone to sleep and rewoke to test lock.
The screen came on almost all white with my home screen barely visible underneath the white 'vail'.
I shutdown android and booted into WM6.5.x.
THE WEIRD THING IS THAT BEFORE THE 'CRASH' MY BATTERY SHOWED 49% BUT AFTER A REBOOT IT SHOWED 14%!
Multiple restarts into winmo and android still showed 14%/13%! WTF? I had to start charging again from there.
Now the HD2 wont charge past 91% (in android), untested in WM. I unplugged the USB and replugged numerous times - still wouldnt charge past 91%.
Left on charge overnight (android) and still at 91 this morning.
Been using it quite heavily ~3 hrs on and ~1 in standby today with lots of wifi and batt has gone from 91 to 76%.
ONLY LOSING 0.5 PER HOUR in standby now.
So basically, my battery is going nuts lol.
But so far I'm more than happy with it (considering it running from sd etc etc).
To all devs working on android builds - THANK YOU and keep up the good work.
Anyone else had any battery anomolies like mine?
I also experienced wrong loading behaviour, or maybe it's just the percentage showing wrong.
The following helped for me: Reboot into Windows Mobile, there the battery loading status was display correctly as 100% (also with the status LED glowing green constantly). Then with loading cable still plugged in, boot Android, then in Android the percentage reading was correct again.
really offtopic but anyone care to share how do you choose what to run in the background and what not? I use the task killer app but I kill the apps and they just reapear without me starting them.
thanks for sharing brothers!
can anyone comment on the battery life/consumption with this latest kernal and 384+ RAM ?
im using zimage 08/03 right now with Darkstone froyo v1 and my battery life is pretttty bad...
it will go from "93%" (full, it wont charge over), to about 25% in 4.5 hours..
and this is making NO phone calls and on standby. I have setCPU with the settings from the other thread too
just trying to figure out a good solution
I'm using the CM6 froyo.
Without setcpu and without the Aug 3 zimage, my battery drain was about 12% an hour on standby.
Now, with the Aug3 zimage and setcpu, I have about 6% battery drain per hour on standby.
Win mo: stock Tmo-US ROM. 2.08 radio. (both stock). 16GB class 2 MicroSD.
I always make sure I charge when phone is either off, or in winmo. I never charge the battery on android. I don't yet trust the android kernel enough to charge my battery correctly.
5%/h in standby problem
thesweeney said:
Im now on my 3rd day of using mattc v1.4.
Anyone else had any battery anomolies like mine?
Click to expand...
Click to collapse
Yes.
Not matter what I do, and whatever distribution I'm using there is huge battery drain in stanby mode (~5%/h). I changed ROM, radio, android version (mattc, darkstone, ...). Even used winmo registry tricks.
HD2 (eu), ROM Energy, checked mattc v1.5, shubCRAFT 1.3, NexusLeo v1, ...
But there was a time I had very good results - like 1%/h in standby. Do not know what changed (except changing Android ditribution very often). The other users (a lots of them) has 1-1,5%/h in standby mode, so I'm sure it is possible. There is some kind of setting/mistake or something to discover. For now Android (even running form SD) is capable to have as good "battery results" as winmo.
I will try
- charging in winmo only
- sd format or using another microsd card
- clean Android (without data and additional software)
cw-data said:
- zImage 3/8, Dan1j3ls Froyo V1 (without Sense)
- setCPU enabled (always ondemand between 245 - 998)
- Yesterday 7 am - unplugged with 100 %
- Sync enabled with 3G over the day, some web browsing and playing around all day, measuring
- *#*#4636#*#* -> Phone info -> Menu -> set frequency band to Euro band, afterwards the constant 2G/3G flapping disappeared, switch to 2G only happens, when no more 3G available
- 11:30 pm went to bed, disabled Data overnight -> 50% left.
- Woke up this morning 8 am with several alarms ringing -> still 41% battery left.
With little usage good two days possible!
Click to expand...
Click to collapse
same case for me as little usage (sync email few times a day manually, play few songs for kids, little browsing and market). 2 days with batteryminder. ~ 50% since last charged 1 day ago.
The one that making real different for me is when I used GSM auto (PRL) (in *#*#4636#*#*).
Also auto turn to airplane mode 11:30pm-7:00am for me.
I also applied the sdcard registry changes in winmo. seems this will take some effect also.
Post best Setting for battery life
lemar123 said:
Yes.
But there was a time I had very good results - like 1%/h in standby. Do not know what changed (except changing Android ditribution very often). The other users (a lots of them) has 1-1,5%/h in standby mode, so I'm sure it is possible. There is some kind of setting/mistake or something to discover. For now Android (even running form SD) is capable to have as good "battery results" as winmo.
I will try
- charging in winmo only
- sd format or using another microsd card
- clean Android (without data and additional software)
Click to expand...
Click to collapse
The solution was to
1. I did battery calibration (not sure this task was really necessery) and checked winmo battery drain - to make sure battery is not broken by Android. No, it didn't
2. Charge battery to fulll on WinMo (or turned phone off), boot Android then remove /data/system/batterystats.bin .
Use this commands from Android Terminal (free).
su
rm /data/system/batterystats.bin
Click to expand...
Click to collapse
3. Restart Android (in that moment I had expected 1%/h drain) and use battery till it come empty
Thats all.
Propably, after many android switches (new distribution tests) the battery stats was broken - collected partially in different Android version.
Then finally, after 1 week with 5%/h battery drain problem in standby I have 1%/h in standby again. I think it is standard drain in haret.exe version.

[Q] Serious Trouble about Battery Life

Yes, it's really official , my battery life is draining like hell... I actually hope that's a battery problem or a rom problem so i could fix it cheaply, but if it is about the phone , i'm messed up .
so here it goes, i've got that htc hero i've bought from a friend so im not entirely sure if the battery is well, at least it was when it came on my hands. I had the official rom, and i cant be sure how many time did it spend without charging because i did change immediately the ROM . Now i have froydvillain 1.7.2 installed and i can say that i putted my phone on charge before i went to bed, when i woke up there was 15% gone from the battery, not so bad, i guess.. the worse became after. i did the usually stuff with it, texting, one or two calls not so much, always not using wi-fi, bluetooth or anything like that at all. not listening to music... when i arrived home there was been 16 h and 20 min and the battery was totally off. when i checked up which program was affecting battery most, and it was the screen and it was taxed as 51% of utilisation, i dont know why , there was just 1 h and 30 min of using it, and i can say the my brightness settings are automatic. Im really getting crazy, i also turned of 3g, only using 2g now to save battery, what a mess here guys. any help ?????
Model - HTC Hero
Android Version - 2.2.1
Radio - 63.18.55.06PU_6.35.15.14
Kernel - 2.6.29.6-flykernel-12a
ROM - FroydVillain 1.7.2
I have installed elelinux 6.2.0 wifi always on if not connected to 3g.screen at 8% !no bluetooth,no gps...just 2 calls,whattsapp texting and surfing during the day.100% at 8 am 50% at least in the evening.try this.as far as i know there is no memory effect with these batteries.
Try my settings or delete apps that work in the background.
Hope this helps
Sent from my HTC Hero using XDA App
Battery Calibration
Hi there,
I have 1.7.2 also and I get approx 2 days of battery life before it hits 15%. Light usage though. My display usage always seems to be approx 30-50% overall so don't worry about that just yet.
What i think you need to do is calibrate the battery.
http://forum.xda-developers.com/wiki/index.php?title=Battery_Calibration
Do that and once you are on full charge, before you turn on your phone boot into recovery and wipe battery stats.
Should be all good .
Also are you running any overclock? 352-576 is more than okay and should help with battery life... Most people run it on smartass but I get screen wake-up issues with it so run it on-demand.
Give that a go then if that doesn't work come back and ask some of the smarter people for some advice as thats about all i know about battery issues.
i had setcpu installed with some settings, i already uninstalled it, i believe the settings were switched off , thats what i hope..
anyway , my battery is fully charged in 2 hours, is it normal ? it could be cracked, perfectly normal i guess. sometimes when im connected to wi-fi , it starts decreasing the battery level and i watch it lol, 71 , 70 , 69.... thats really strange in due that i see people using 2 days or 3 with normal usage. i believe that's nothing about the rom, im going to do that , im going to calibrate and wipe, text u as soon as possible to tell u the results
9unk, should i use the setcpu with those setting to save battery, im order to obligate te phone to use those settings, or should i just let it default ?
How did this survive in /dev
Also check any background processes.
My hero sometimes just drains like hell untill restart it (as I haven't found out which app yet) .
i believe there are no background apps , but if there is , how could i close it ?
Try calibrating your battery. VillainRom have a guide on it in their guides section.
Paulopax said:
i had setcpu installed with some settings, i already uninstalled it, i believe the settings were switched off , thats what i hope..
anyway , my battery is fully charged in 2 hours, is it normal ? it could be cracked, perfectly normal i guess. sometimes when im connected to wi-fi , it starts decreasing the battery level and i watch it lol, 71 , 70 , 69.... thats really strange in due that i see people using 2 days or 3 with normal usage. i believe that's nothing about the rom, im going to do that , im going to calibrate and wipe, text u as soon as possible to tell u the results
Click to expand...
Click to collapse
i just want to note something, here you say you are fully charge in 2 hours, thats strange, mine are 4-5hours charge before its full.
in my experience with all is ON, i got 14 hours of battery life, this what i turn on:
- 3G Data is always on, no time schedule, it on all the time.
- Mail (3 account) and Gmail (1 account), (always on, with 15mnt refresh freq)
- Gtalk and Yahoo messenger (always on, cant live w/o it)
- LauncherPro Friends Widget (Facebook and Twitter, always on, with 15mnt refresh freq)
- Weather with Fancy Widget (always on, with 1hour refresh freq)
- Battery Widget
- Game NFS Shift 3D (15mnt a day, is a must, very love the game)
- Browsing (average 2 hours a day)
- and other normal process and background process (network location, contact sync, etc)
can you describe what is you use in your phone and please detail how much hours you get with your hero??
Mine was also draining like a hell , but i let it switch off for one day and now it works great . try that might it will help you
I had similar problems. Very frustrating indeed, but easily corrected.
Calibrate your battery using the above thread. Usually this takes a while, but sounds like it will be quick for you. Follow it closely and carefully.
Install setcpu and start with a conservative governor at 576/176. That alone should give you a day between charges. Play with these settings until you find something you're comfortable with.
Sent from my HTC Hero using XDA App
about the screen, i have 5 screens, one has the calendar with my schedule dates, other has youtube and music app, the main one has beautiful widgets that only update 3 in 3 hours, the other has people widget and last one has just power control widget. I believe this is not too much, for instance i already calibrated my battery and look at my stats today :
Activity time : around 17h
apps tha use battery most :
display 41% (45m e 25s);
inactivity of the phone 18% ( 15h e 30 min )
inactived phone 16% (14h e 44 min )
Media Server 11% (14min e 53 s)
the best of this is when im texting there is nothing about the battery when i start to listen to music i can watch my battery drainly constantly, like 59,58,57 per minute sensivily. is there anyway that my battery is cracked or something ? or is just my settings ? i believe i have set all up to save power, i also set up my screen to minimum stats. another thing that i might let clear is that my phone really charges all up from 0 to 100 in 2 hours, really strange that sometime it stucks on 77 for instance other times is draining and draining and it kills me watching other people using 2 days battery with more apps than me
i dont know if this is important or not , my battery drains 6 % on rebooting , dont know if it is normal or not, but im totally sure , aint normal to got all the battery drain in 17 hours with normal using... please i appreciate any kind of help
If you had calibrated your battery, and if you already had uninstalled all the apps that drain your battery quickly, but still no improvements, I suggest you to try the following things:
_ Change rom (I had a lot of problems too with battery life on FroydVillain, I personally recommend Elelinux 6.2 RC, I got an amazing battery life)
_ Make sure you have Update your Radio to the latest version:
http://www.villainrom.co.uk/forum/s...adio-Roms-Download-Links&highlight=hero+radio
_ Try different Kernels, if you are currently overclocking your Phone, I use flykernel 12a, but the 11c is excellent as well for battery life
_ Use sometimes, not set it automatically, some task killer like Advanced task Killer Froyo from the market, to kill sometimes too many running apps.
Make sure to flash the new rom when your battery is full, then recalibrate it again like other suggest you already on this thread.
I personally notice that, when you calibrate your battery, takes a week or more to see improvements on the battery life, so be patient!
Its good as well to restart your new rom fews times to reach the full potential...
Then, when you set up your rom for the first time DISABLE google backup, I've been told that drains battery like hell, don't set the brightness on automatic mode, but just leave it as less as you can, it will helps.
It would be better also to go to setting, under sync, and leave on the automatic sync mode only for the apps that you really need to run..
If none of this will work, if you have can, I would think to buy a new battery, I checked in an official HTC store once and I found it at 30 pounds...
I don't think I have anymore suggestions, I hope it will help you...
Paulopax said:
i believe there are no background apps , but if there is , how could i close it ?
Click to expand...
Click to collapse
To close an app or clear cache or data go to:
settings>applications>manage applications>running>
and choose the apps you want to close..
I found a major battery killer is an area with no reception.
So if I know I'll be there a while, I'll put my phone on airplane mode to stop it constantly scanning for a signal.
Today i really noticed something strange about battery, i let it charge when it was off. Ive turnee it on, browsed over the internet and it was stuck at 100 % for 30 minutes, than it decreased for 96 in 5 min..
i went to sleep ( turned wifi off ) 6 hours later it was in 77 % ;( and the best part, i reboot it and it get in 51 someone got a help
Paulopax said:
Today i really noticed something strange about battery, i let it charge when it was off. Ive turnee it on, browsed over the internet and it was stuck at 100 % for 30 minutes, than it decreased for 96 in 5 min..
i went to sleep ( turned wifi off ) 6 hours later it was in 77 % ;( and the best part, i reboot it and it get in 51 someone got a help
Click to expand...
Click to collapse
That sounds about normal for most ROMs I've used

A solution of the battery problem in 2.3 (AOSP and CM7)

I have found a way to solve the problem with the battery in a few simple steps without erasing any battery stats or doing anything.
Firstly, install a Start-Up manager to control the apps wich are started after every boot. Leave only the important ones!
And now you have to recalibrate your battery, so
here is what you do:
1. Charge your phone to a 100% (that will take you about 3:00 hours)
2. Discharge the battery until the phone turns of by itself
3. Try turning the phone on until the battery dies completely and the phone doesn't start.
4.Take the battery of and then put it on.
5.Try to turn the phone on until the battery dies completely.
6.Now charge it up to 100% ( minimum 3:00 hours no matter that the phone says it's charged)
7.Ready! Now enjoy your amazing battery life!
Note: I recommend you to charge the phone for minimum 2:30 hours no matter if it says it's charged. Now, i charge mine for 3:00 hours wich is enough.
Here is one Start-Up manager. I use it.
how many days with wifi, gps and so on... ?
Well, before that I was unable to last for half a day. I had the same problem with all of SwiftDroid versions so I followed these steps and my battery life has increased dramatically up to 3-4 days !!!!!!
I use 2 hours wi-fi, 1 hours listening to music trough headphones and my brightenes is set to 40%.
Hope i helped you!
I see this post on all threads....;-)
Sent from my GT540 using XDA App
Thats isnt a battery problem. After you take a call some google services are using the CPU with 100%. After ich kill the google services tasks the cpu goes down to 20%
NO. Before that procedure I restart my phone and don't talk with it and the battery drained ... And after that procedure I talk and there is no battery draining so it's not because that.
thanks gonna try it now
mine goes on for about 2 days, with SwiftDroid Milestone1 Version 2.0
LinxAndroid said:
mine goes on for about 2 days, with SwiftDroid Milestone1 Version 2.0
Click to expand...
Click to collapse
if u rename system/bin/akmd2 (akmd2_backup) and reboot,
you get another 1-2 days, but lost compass and
accelerometer, this process permanently takes 1-5% of cpu, but there is no other solution
i try what i found on internet
adb shell
echo 250 /system/data
but not sure if something change, i also found some open alternative,
http://www.google.com/codesearch/p?hl=ru#eYOWr2vJSqE/akmd/Akmd.cpp&q=akmd&d=1
..it works very well for me after doing this.... i might even say it lasts a bit longer then on stock 2.1 with cpu tuner and settings ofc.....swiftdroid v2.0 M2...
There is a good application on the Market. BatteryCalibration
You need to have root. Extended my battery life for 1-2 days!
helps a little bit... but nothing like 2.1 stock
I'm on 2.1
Nothing helped. It is possible that battery just reduce its capacity? I dont want to install another android just to see how battery is there...
nah im fine atm. i always charge at night and my battery lasts till about 10 oclock, then it gets to 10%.
I've installed joes 2.3.2 without any battery-problems.
i'm running setcpu with 852max. -> did you set "on demand"? when setting to performance your phone will run out of battery within a few hours.
my battery life is around 2-3 days with AOSP 2.3.2 @ 852mhz max.
before with 2.1 @ quarxblackkernel @ 800mhz max. around 2 days

[Q] Help, what is your battery drain, and why mine is sooo High???

First - let me state - and it is true - that I used the search function.
I read pages and pages of advices to lower battery consumption on my HD2 Android... without success...
First I used an SD ROM. I read that a NAND would improve battery life. So this is what I did.
I am also using SetCPU with a profile when battery <30% and another one when screen is off to LOWER the CPU speed. In normal use, I set CPU speed at 768MHz trying to lower power consumption...
I use a task killer to free memory and prevent silly programs to drain my battery off...
I use Juice Defender to control wifi, data, etc...
And with all of this in place, my "Current widget" shows a consumption of 180mA with screen on doing nothing, up to 350-400-500!!! mA when acutally using the phone wifi+sync...
In the forum I read consumption like 3 mA - 9 mA!!! This is FAAAAAR Way lower than what I ever had with different builds...
So this is an help scream to everybody: what is your battery drain, and why mine is sooo High???
Hint: I am also a fan of LCD Density changer, with setting at 165... can this have an influence on battery drain??? I reverted to the original 240, doesn't seem to have any influence...
Thanks for your help,
Looki
My drain is 3-9 ma in STANDBY ONLY now and again slightly more but mainly the values stated. And my screen on between 120+160ma. Turn off auto brightness if you have it on, and set it at the lowest your comfortable with (display is big batt drainer) I DONT use taskillers as they do more harm than good. I use NO undervolting and only the default settings with my rom. I have low lcd density setting 167 i think. Lcd density has no effect on your battery drain!
Found this here. http://forum.xda-developers.com/showpost.php?p=13151738&postcount=11296 Might be of some use to you? (from hyperdroid gbx thread)
Whats youre rom?
And do u use ext partition on sd?
I dont even use SetCpu anymore. Only taskkiller.
Auto-brightness is on
Auto sync is off.
Im using UD 3.3 nand from crawlingcity
Stansby is 3 -6 ma
Using round 160 to 250.
Sent from my HTC HD2 using XDA App
How long does your battery last from 100% to self shut down? As for Current Widget, keep in mind that when people say "Standby", its generally referring to the screen being off. Set current widget to update every 30 seconds, and turn the screen of for 40 seconds. Then quickly turn the screen on, unlock, and check what it is reading then.
If its still high, try "Force Stop" applications in the Settings > Applications menu one by one, i've had to do this more than once to locate problem apps that were destroying my battery in standby mode.
I'm knew to Android, let me share you my idea.
I use UD3.3
I removed google stuff
gmail, search, etc
No auto sync
Location off
Always kill market when screen off.
I use beautiful widget for weather manual refresh.
I use battery widget
Auto level for screen
sometimes WIFI on
2g Only
2 or 3 calls,total of 3 to 4 min a day
My battery stay 48 hrs in STBY mode.
I think the most draining factor is
1) google stuff they are battery hog.
2) screen
3) bad written programs (every time they check connection to
internet or looping for doing something, looping will make
CPU in high frequency).
4) bad device driver such as BT which is known as 60ma
drain. it is not the hardware but it is the software doing
the drain.
thanks
pc2058 said:
I'm knew to Android, let me share you my idea.
I use UD3.3
I removed google stuff
gmail, search, etc
No auto sync
Location off
Always kill market when screen off.
I use beautiful widget for weather manual refresh.
I use battery widget
Auto level for screen
sometimes WIFI on
2g Only
2 or 3 calls,total of 3 to 4 min a day
My battery stay 48 hrs in STBY mode.
I think the most draining factor is
1) google stuff they are battery hog.
2) screen
3) bad written programs (every time they check connection to
internet or looping for doing something, looping will make
CPU in high frequency).
4) bad device driver such as BT which is known as 60ma
drain. it is not the hardware but it is the software doing
the drain.
thanks
Click to expand...
Click to collapse
Bt drain has been fixed, wil now get you 6-15 ma.
Google stuff aint bad, just set update frequentcy to manual.
(Helps with alot of other programms that require internet.)
Sent from my HTC HD2 using XDA App
[Ultimate GUIDE] Increase your battery life on Android
Thanks guys for your help!
I made a compilation of all tips I could collect and/or find by myself.
They are here: http://forum.xda-developers.com/showthread.php?p=15229416
Regards,
Looki

[Q] Dramatic battery drain (Hyperdroid 5.9.0)

Hi everyone,
I have used an older version of Hyperdroid over the past few month, which worked very well for me overall. Usually the battery managed to last a couple of days.
However, after I tried some different Android NAND Roms on my HD2 yesterday, I reinstalled the latest version of Hyperdroid (HyperDroid-CM7-Observant-Opossum v5.9.0) and noticed a dramatic increase in battery usage.
It drains about 10% in less than an hour without using it.
- WLAN off
- mobile data off
- Blutooth and GPS off
Androids battery use overview lists:
Display 35%
Cell-Standby - 33%
Idle 29%
Wi-Fi - 4%
There are barely any additional apps installed.
RoperC said:
Hi everyone,
I have used an older version of Hyperdroid over the past few month, which worked very well for me overall. Usually the battery managed to last a couple of days.
However, after I tried some different Android NAND Roms on my HD2 yesterday, I reinstalled the latest version of Hyperdroid (HyperDroid-CM7-Observant-Opossum v5.9.0) and noticed a dramatic increase in battery usage.
It drains about 10% in less than an hour without using it.
- WLAN off
- mobile data off
- Blutooth and GPS off
Androids battery use overview lists:
Display 35%
Cell-Standby - 33%
Idle 29%
Wi-Fi - 4%
There are barely any additional apps installed.
Click to expand...
Click to collapse
Install currentwidget and place a widget on your homescreen. Tell us the battery drain when the screen is off by setting the refresh interval to around 20, leaving the phone to settle in standby for a minute or so and unlocking it and giving the drain immediately displayed (don't wait for it to refresh again) and it should be around 4ma with everything but the phone function itself turned off. Try it in airplane mode as well, here it should be around 2ma. If you mean high drain with the screen on then you're just going to have to live with it unfortunately.
Nigeldg said:
Install currentwidget and place a widget on your homescreen. Tell us the battery drain when the screen is off by setting the refresh interval to around 20, leaving the phone to settle in standby for a minute or so and unlocking it and giving the drain immediately displayed (don't wait for it to refresh again) and it should be around 4ma with everything but the phone function itself turned off. Try it in airplane mode as well, here it should be around 2ma. If you mean high drain with the screen on then you're just going to have to live with it unfortunately.
Click to expand...
Click to collapse
Yes i would definately check sleep drains. But if its when your phone is on, it may also be an update in the CPU governor settings. I would switch to conservative. Especially if you dont game a lot. You can also try changing your CPU voltage levels.
What's your kernel and governor? Any OC? Maybe the kernel isn't allowing deep sleep.
RoperC said:
Hi everyone,
I have used an older version of Hyperdroid over the past few month, which worked very well for me overall. Usually the battery managed to last a couple of days.
However, after I tried some different Android NAND Roms on my HD2 yesterday, I reinstalled the latest version of Hyperdroid (HyperDroid-CM7-Observant-Opossum v5.9.0) and noticed a dramatic increase in battery usage.
It drains about 10% in less than an hour without using it.
- WLAN off
- mobile data off
- Blutooth and GPS off
Androids battery use overview lists:
Display 35%
Cell-Standby - 33%
Idle 29%
Wi-Fi - 4%
There are barely any additional apps installed.
Click to expand...
Click to collapse
did you do a clean install?did you wipe your battery stats?
if you post some more info about your device then we can help you even more.
i would try changing the governor and then battery calibration (you can find it on the market). i had this rom and if i remember correctly there were some issues with my battery too. i then got the 5.10.0 version and everything became normal again.
or you can upgrade to the latest version 6.0.0. i just installed it runs smooth as hell!!!
good luck!
Even I'm using the same rom and the battery drains heavily only when using applications and playing games. But can anyone help me how to upgrade it to version 6.0 with detailed instructions.
Sent from my HTC HD2 using XDA

Categories

Resources