[Motorola Atrix 2] Apex:
Some build.prop Tweaks For Battery Life (ICS)

Here's some suggested build.prop edits that can be made for users on 4.0.4 (ICS) and at the request of some members here. If you attempt any of the edits, please make sure you first backup your current (un-edited) build.prop file, in case of any incidental problems that may arise. These build.prop tweaks should improve your battery life running on Android 4.0.4 (ICS). I know these tweaks are available and nothing new. If anyone would like to test it out, either edit the lines below (if already existing) or add these at the end of your build.prop and reboot.

For editing build.prop you'll need a file explorer like Root Explorer which is a paid app (and if you don't already have this, get it!), or you can use any root-enabled file explorer.​

build.prop is located in /system.

Here's a collection of build.prop tweaks which should improve performance/battery life:

NOTE: I've commented values (#) of the build.prop tweaks below because either I have not personally tested them or they may not be applicable to our device, or I find they are optional. Please make a backup prior to your edits, and if anyone finds anything that is not working, let me know. Test them yourself if you want, just remove "#" in front of each line you edit, if you want to enable it.​

# MEDIA TWEAKS

#media.stagefright.enable-player=true

#media.stagefright.enable-meta=true

#media.stagefright.enable-scan=true

#media.stagefright.enable-http=true

#media.stagefright.enable-rtsp=true

#media.stagefright.enable-record=false (thank you alteredlikeness) *see next post

# photo/video quality

#ro.media.enc.jpeg.quality=100

#ro.media.enc.hprof.vid.bps=8000000 #control video bitrate (stock cam app only)

# MISCELLANEOUS TWEAKS

# wifi.supplicant_scan_interval=180

If you don’t keep Wi-Fi active, lowering the value below the default of 90 seems to make Wi-Fi connect faster after being turned on. But it will consume more power if turning Wi-Fi off has been forgotten when not in range of a known network.

#windowsmgr.max_events_per_sec=90 (This number equates to the refresh rate * 1.5 Android maxes at 60fps. Max value is already set to 90.)

# faster Scrolling

#ro.max.fling_velocity=12000

#ro.min.fling_velocity=8000

# improve voice call clarity

#ro.ril.enable.amr.wideband=1

# disable error checking

#ro.kernel.android.checkjni=0

#ro.kernel.checkjni=0

# disable logcat

#logcat.live=disable

# faster YouTube (?)

#ro.ril.hep=0

# Faster boot

#persist.sys.shutdown.mode=hibernate

# disable animation for faster startup

#debug.sf.nobootanimation=1

# does not need to be on if not a dev

#persist.android.strictmode=0

# disable USB debugging icon from status bar

#persist.adb.notify=0

# HARDWARE RELATED TWEAKS

# Render graphics with GPU&CPU

#debug.composition.type=CPU

#debug.composition.type=GPU

# Qualcomm display settings

#debug.qctwa.statusbar=1

#debug.qctwa.preservebuf=1

#com.qc.hardware=true

# BATTERY SAVING

#ro.ril.disable.power.collapse=1

#ro.mot.eri.losalert.delay=1000 #smooths out network disconnects.

#ro.config.nocheckin=1 #disable sending usage data to Google

# sleep modes

#pm.sleep_mode=1

#usage:

#pm.sleep_mode=0 -> collapse suspend

#pm.sleep_mode=1 -> collapse (will totally power off the CPU)

#pm.sleep_mode=2 -> sleep (cpu is still on, but put into low power mode (registers are still saved)

#pm.sleep_mode=3 -> slow Clock and Wait for Interrupt (lowered frequency and voltage)

#pm.sleep_mode=4 -> wait for interrupt (no change in CPU clock or voltage)

#pm.sleep_mode=1

#debug.performance.tuning=1

#debug.composition.type=hw

#debug.sf.hw=1

#persist.android.strictmode=0

#persist.sys.use_dithering=1

#persist.sys.ui.hw=true

#persist.sys.purgeable_assets=1

#ro.com.google.networklocation=0

#ro.kernel.android.checkjni=0

#ro.config.nocheckin=1

#ro.vold.umsdirtyratio=20

#dalvik.vm.checkjni=false

#dalvik.vm.execution-mode=int:jit

#video.accelerate.hw=1

#windowsmgr.max_events_per_sec=240

#profiler.force_disable_err_rpt=1

#profiler.force_disable_ulog=1

# DALVIK TWEAKS

#dalvik.vm.execution-mode=int:jit #Dalvik just-in-time compiler

#dalvik.vm.verify-bytecode = false

#dalvik.vm.dexopt-flags=v=n,o=a,u=y #first remove the existing dalvik.vm.dexopt-flags line before putting this one!

# DEACTIVATED LINES

# should improve responsiveness through Hardware Rendering (maybe consumes more battery when on):

#debug.sf.hw=1

#persist.sys.ui.hw=1

#debug.egl.profiler=1

#debug.egl.hw=1

minimize the time Android waits until it rings on a call (not really necessary if you're not experiencing problems):

#ro.telephony.call_ring.delay=0

proximity sensor delay (not really necessary if you don't experience black screen issue after cal):

#mot.proximity.delay=25

#ro.lge.proximity.delay=25

disable error reporting. may possibly break some applications:

#profiler.force_disable_err_rpt=1

#profiler.force_disable_ulog=1

If any of these build.prop tweaks are helpful, please let me know. Likewise, if any of these tweaks are not successful, I would appreciate any of you who test these to inform me, so that I can make adjustments to this post. Again, I cannot stress the importance of making a backup BEFORE YOU ATTEMPT any of these edits, so that if you do run into any trouble, you can revert back to your backup for safety's sake! Happy testing...​