battery life terrible

lowvolt

Member
Joined
Nov 22, 2011
Messages
411
Reaction score
6
I am rooted and running miui right now. Seems like no matter what rom I am on the battery life is horrible. Anyone have any thoughts or solutions
 

shaggykid

Member
Joined
Nov 8, 2011
Messages
503
Reaction score
2
How long is your battery lasting exactly?

With a regular battery I could get like 9 to 13 or 14 hours depending on use. I always keep my screen brightness all the way down.

When I bought an extended battery I could get a full 24 hours.

Also if you want a really good Rom, I suggest getting Vortex Reloaded. It's an awesome rom with great battery life. I was getting over two days of charge easy.
 

shaggykid

Member
Joined
Nov 8, 2011
Messages
503
Reaction score
2
Also search Play store for "2x Battery - Battery Saver" It's an awesome app that really helps out.
 

hecksagon

New Member
Joined
Nov 30, 2011
Messages
23
Reaction score
0
The Motorola android phones besides the original Droid use a locked bootloader. This prevents people from writing their own kernels for these phones. A kernel is the basic part of the android operating system that talks to all the hardware and handles giving apps access to your phones parts. Anyways somebody found a way to hijack a program called init, which is the first app that runs on the phone and gets everything else going. They use this hijacked program to load their own little bits of kernel, overwriting Motorola's own kernel. These roms are known collectively as the 2nd-init roms. This 2nd-init process gives rom builders the opportunity to offer features that would ordinarily need a custom written kernel. Unfortunately due to reasons nobody has quite nailed down, these 2nd-init roms tend to have much worse battery life than the roms based on the normal Motorola kernel and motoblur parts. The roms for these phones therefore fall into two types: the blur based and 2nd-init.

2nd-init roms:
Anything involving Ice Cream Sandwich, CyanogenMod, Vortex, Miui, Liquid, AOKP,

blur roms:
liberty 3, apex, Shuji

Sorry if I missed some or got them in the wrong catagories. A good indicator of what is what is how much customization a rom has. Lots of settings and features means is a 2nd-init rom. Anything recently updated is a 2nd-init rom. Personally I like the features of 2nd-init but I love the battery life and the stability of blur based roms. Everything the phone originally had when it was stock works on blur roms. Can't really say that for any 2nd-init rom.
 

leftspin

Active Member
Joined
Jul 27, 2011
Messages
1,128
Reaction score
8
Location
New Jersey
@Hecksagon, you've got it basically right. A 2nd init ROM is a ROM that dasy-chains its own kernel on but keeps the old kernel too because of the locked bootloader. This is the 'init process' that bogs down battery life. The error you made was that the 2nd init ROMs for the Droid X are typically Gingerbread ROMs using the FroYo kernel as a base, or ICS ROMs using the Gingerbread kernel as a base. VorteX, Liquid and some versions of CM7 are not in fact 2nd init because they're Gingerbread ROMs and run on the stock Gingerbread kernel without adding a custom kernel. It really doesn't have much to do with Blur vs. AOSP. Blur is just Motorola's custom Android, like Samsung has TouchWiz and HTC has Sense.


@lowvolt, I've never had good battery life with MIUI, but if you're keeping the screen brightness up all the time or keeping the phone connected to wifi/3G/GPS all day then that's eating up huge amounts of your battery life. It's best to only turn those features on when you're actually using them, and then switch them off when you're done. I'm running GummyICS right now and getting ~24 hours to a full charge by doing that and on CM7 I was getting 35+ hours
 

hecksagon

New Member
Joined
Nov 30, 2011
Messages
23
Reaction score
0
Thanks for the clarification. It's been a while since I've been trying roms on the droid x. Back in the day it seemed like there was a distinct difference between the two. CM and MIUI were always 2nd-init, even the ones like revnumbers using the GB kernel. What are the CM-like roms out now that do not use 2nd-init? If there is a decent CM7 that gets battery life anywhere even ballpark of Motorola code, I'd definitely switch from Liberty.
 

leftspin

Active Member
Joined
Jul 27, 2011
Messages
1,128
Reaction score
8
Location
New Jersey
Rev's CM7 gave me great battery life, I'm on Gummy ICS right now and the battery life is decent. I'm not a Blur fan so I can't really compare, I haven't used a Blur based ROM
 
OP
lowvolt

lowvolt

Member
Joined
Nov 22, 2011
Messages
411
Reaction score
6
I was getting less than 8 hours on miui. Now I am on AOKP. and have had my phone off the charger so xe about 6 am and am down to about 32% with moderate use. I will look into the 2x battery app.
 

hecksagon

New Member
Joined
Nov 30, 2011
Messages
23
Reaction score
0
Not to hijack but after reading this it seems that all non-blur roms by definition have to be 2nd-init since the motorola init process is loaded by the bootloader into a ramdisk at startup and can not be modified. It doesn't matter what kernel the phone is running, its still got a motorola init that must be bypassed. The motorola init then starts calling up other processes that are part of blur. If you do not have the blur apks in the right spots it start force closing and refuses to boot. The 2nd init uses a program to kill all the processes the motorola init creates until just the motorola init is left. Then it hijacks the process id of init and takes over, making it possible for non-blur based roms to load their own code. This is why roms like Liberty have to have the blur.res apk installed.

Still Loading ... » blog:2011-06-14:2nd-init._what_it_is_and_how_it_works

As far as battery life is concerned, there are several good apps that can help you. Juice Defender is one I like alot. It has coarse (non gps) location based triggers that can automatically turn your wifi on when you are at your house but leave it off when you are elsewhere. It automatically turns off your data and wifi while your screen is off but can be set up to periodically turn them on to get email and such. It also can have a whitelist of apps that it keeps data on even while the screen is off if that app is running. Probably the biggest thing that kills battery is screen brightness. Get a widget to turn your brightness up and down. The automatic brightness settings on the droid x are terrible. Extended batteries are cheap as well. You can get a super large battery for around $15 now that offers over twice the capacity of the normal battery. You will have to deal with a physically larger phone though. If all those things fail for you, I would question yourself whether the extra features offered by these custom roms are worth dealing with the dismal battery life.
 
OP
lowvolt

lowvolt

Member
Joined
Nov 22, 2011
Messages
411
Reaction score
6
See now this is just crazy. Went to bed at 100% about 10:30 or so. Woke up and haven't used the phone and its at 69%.
 
Top