[Galaxy S II Android Development] GregX80:
At the beginning some overall tips for battery life:

That's what I always do when I install new ROM.

1. Take Titanium Backup or the like and sort out these app if you not going to use them (make backup first in case if you need them in the future):

- GameHub

- Gmail.apk if you use Email (If have more than one e-mail)

- or Email.apk and Exchange Service if going to use mail.apk

- IM

- Kies

- KiesAir

- KiesWifi

- Mini Diary and Mini paper

- MusicHub_xx

- ReadersHub

- SamsungApps or Account or whatever you have there

- SamsungAppsUNA

- SamsungIM

- SamsungPushService

- SocialHub (and all things related - don't let to connect Email app with SocialHub - ExchangeHub or whatever it is called because It always causes a lot of wakelocks - use Exchange Service instead

- All Software Update things

- PressReader

- All SNS (disclaimer, accountFb and so on)

- Talk

- Talkback

- Voice Search - it's always pisses me off

- WiFi sharing

- WiFi sharing manager - These two probably don't do anything wrong right now but I still remember them from GB ;)

2. Go to the phone Settings and:

- WiFi --> Advanced --> Network notification: OFF

- Data usage --> Set mobile data limit: OFF

- Data usage --> Set mobile data limit: OFF

- Display --> Brightness --> Automatic brightness: AUTO

- Display --> Screen timeout --> 30sec

- Location services: All of them OFF (keep GPS off always until you need it, Location&Google Serch always OFF, Google's location service turn it on only if some apps need them to determinate location save location in app and turn it off)

- Back up and reset: Turn everything OFF and if you need back up manually.

- Date and time --> Automatic date and time: keep it on for some time after installing new ROM and later OFF

- About phone > Software update: You should have it uninstalled but if you haven't turn everything there OFF

3. Make sure your mobile provider uses FAST DORMANCY: If YES keep it ON --- if NO turn if OFF

- samsung roms dial *#*#9900#*#*

- AOKP or CM9 download from Play Store FastDormancy Toggle

4. Go to the Play Store get BetterBatteryStats and sort out all big wakelocks. You can forget about long battery life without it.

5. Go to the Play Store and get GreenPower battery saving app or similar:

- my settings: autosync every 1 hour, Screen on wifi and data on

6. Control your apps - if same apps can be updated manually do it if no use as long time intervals as possible - try don't use location in apps (set all locations for weather app for example manually)

--------------------------------------------------------------------------------

ExTweaks settings for extreme (balanced) battery life - DORIMANX kernel: If you feel your rom isn't smooth anymore and you don't like it use balanced settings.

SCREEN:

scaling_max_freq: 1000Mhz

scaling_min_freq: 200Mhz

smooth scaling level: 200Mhz

default cpu gov: ondemand

load_h0: 70% (50%)

load_l1: 60% (40%)

freq_min: 900 or 1000Mhz

sched_mc: 2 (1)

sched_mc: if = 0 second core will be enable on load_h0 (70% load) disable on load_l1 (60%) but never below freq_min (900-1000Mhz) - if 1= second core will be enable if first core load = 100% but never below freq_min - if = 2 second core never online

busfreq_up_treshold: 30%

scaling_max_suspend_freq: 200Mhz

scaling_min_suspend_freq: 200Mhz

scaling_min_standby_freq: 200Mhz

other settings: default

GPU:

mali touch boost level: step3

gpu step1: 50Mhz

gpu step2: 100Mhz

gpu step3: 133Mhz

gpu step4: 160Mhz

gpu voltage level1: 800mV

gpu voltage level2: 800mV

gpu voltage level3: 850mV

gpu voltage level4: 900mV

other settings: default

SCREEN:

touchmove sensitivity: 1pixel

min_bln: 120 (80)

min_gamma: 0

max_gamma 14 (20)

LCD power reduce: tick

gamma shift: -10 (-5)

vibration force: 20%

touch screen lock freq: 200Mhz (600Mhz)

slide2wake swich: untick

negative toggle: untick

other settings: default

AUDIO+SWIPES:

gesture switch: untick

other: default

BLN:

bln never on!

keys led timeout: 1sec

led-on-touch: untick

led voltage: 2600mV

MISC:

android logger: untick

ZRAM: off!

GPS region: europe (set your region for fast gps lock)

I/O scheduler: sio

discrete wakelock stats: tick (it will help you with wakelocks)

charge settings: stock if you don't want to change battery for new to quick :)

CORTEXBRAIN:

process always: ENABLE

Extra-battery-tweaks: tick!

other default

------------------------------------------------------------------------------------

Now undervolting. First at all obviously these settings can lead to freezes. If you lost some data don't blame me :)

1200Mhz - 1175mV

1100Mhz - 1125mV

1000Mhz - 1075mV

900Mhz - 1025mV

800Mhz - 975mV

700Mhz - 950mV

600Mhz - 925mV

500Mhz - 925mV

400Mhz - 850mV

300Mhz - 825mV

200Mhz - 825mV

If you get freezes 300 - 600Mhz +25mV. If still random freezes everything apart from 500Mhz +25mv. If still freezing don't blame me :D and find your own settings.

Good luck :D

Probably I don't remember all my settings right now but I will update this post :)

Useful apps:

- ExTweaks :) pro

- System Tuner Pro

- BetterBatteryStats

- SetCpu

- CpuSpy

- GSam Battery Monitor Pro

- FastDormancy Toggle

- Root Browser

- GreenPower Pro