[Galaxy S II Android Development] gingingingin:
Great battery life based on NeatROM Lite 3.5 XWLPY

I will share, of course. This info is based on several sources.

Sources

My own battery savings writeup: http://xdaforums.com/showthread.php?t=1529850

GregX80 advice in this thread: http://xdaforums.com/showthread.php?p=32624825&highlight=software+update#post32624825

GregX80 additional advice in this thread: http://xdaforums.com/showthread.php?p=32846227&highlight=software+update#post32846227

Starting point: NeatROM Lite 3.5 XWLPY. Battery is 8 months old. I will not list the default parameters to avoid bloating the post, only the important changes from this starting state.

Goal: Minimum battery consumption without crippling the device.

Assumptions:

1. Don't use Facebook app, GTalk App, GMaps app. See notes below if you badly need them. Do not use Auto Task Killers.

2. Data/wifi/bluetooth is off, everything of this kind also off, auto-sync is off, network location is off, open wifi network notification is off, google backup service checkmark is off. Auto update in any app is off, like the weather widget. Minimum widgets, no live wallpapers. Restrict Background Data on Google Services, Google Play Store, everything of this type. You get the point. Use data only when needed.

3. Using a local phonebook and a local calendar. Alternatively sync manually to Google.

4. Reloading email when needed. I do it only after receiving an SMS. For home use I don't have that much email, at work let the outlook/exchange do the job...

5. You are flexible enough to understand the impact of each option to you and adjust without blaming me for crippling the "smart" phone :)

Result: Takes 8 hours to drop battery 100%->99% on standby (due to some specifics in the gauge, every device has this effect). Battery usage on average 0.3% per hour overnight on standby. While browsing with Opera nonstop over Wifi the consumption stays around 13% per hour (would be 7.5 hours screen on time). Not using stuff like Airplane mode. If someone really does not believe, I can bother posting some pictures.

----------------- Settings Details -----------------

Network: GSM/WCDMA auto mode. Supposedly on GSM(EDGE) only you can get a bit more time.

Frozen apps:

- DSMLawmo - http://xdaforums.com/showpost.php?p=30946481&postcount=4

- Exchange Services - also consider Email, Gmail depending on what you use. I use K-9 Mail, it also has quirks.

- Maps - has the bad habit of doing background requests over and over. I use Sygic and iGo, not really liking online Maps. Leave it if you need it, I told you :) You can alternatively stop auto starting on boot via the paid Autostarts app. But once you start it it begins making connections.

- Facebook - it's a beast, just don't install it, seriously. The web site is very much sufficient.

- MAPServiceSamsung - Message profile for Bluetooth, transmission of text to your car stereo. I don't need it.

- SecPhone

- Social Hub - all of them, I have 3 pieces. In Gingerbread you had to leave one of them to be able to use Contacts, but in ICS all can be stopped.

- Software Update - well, it cannot work anyway. The downside is that maybe the phone lost/wipe/tracking service (SamsungDive) won't work too.

- Talk/TalkBack - unfortunately this beast is embedded also in the GSF (google services framework) to make other GTalk wakelocks, but that cannot be stopped.

- Google+ - creates wakelocks even when signed out.

- Enterprise VPN Services

ExTweaks

- Profile: For a starting point set Battery friendly profile from the Siyah kernel CWM menu, because the ExTweaks will be saying you to buy the Pro version.

- CPU governor/scaling: conservative 200-1200MHz

- GPU Steps, MHz: 66/100/133/267

- GPU Voltages, mV: 800/825/850/950 - I have the feeling that 66/800 is a bit low and may sometimes cause purplish hue but did not fully prove it. No harm for me.

Screen:

- Brightness: Auto - from the Samsung menu.

- MIN_BL: 100 - gives really linear response to ambient lighting, absolutely a must for comfortable viewing, a balanced backlight setting

- MIN_GAMMA: 1

- MAX_GAMMA: 24

- GAMMA_SHIFT: -20 - if you do not like the overall brightness, push it slightly higher by setting -10, the linearity of the ambiance response will remain

- LED Buttons: Always OFF - this is my setting, I use it through the standard Samsung menu

Misc:

- Android Logger: OFF

- I/O Scheduler: sio

- Charge Current: AC,Misc: 650mA, USB: 450mA - this is a fair setting, the original car charger is rated 700mA

Voltage Control

Allows you greater flexibility to set each frequency separately compared to ExTweaks, really needed. The below settings are a bit conservative, never failed for me. Btw, allows you to avoid applying of the profile shortly after boot, this also helps in case of problems.

- 1200MHz - 1175mV

- 1100MHz - 1150mV

- 1000MHz - 1100mV

- 900MHz - 1050mV

- 800MHz - 975mV

- 700MHz - 975mV

- 600MHz - 950mV

- 500MHz - 950mV

- 400MHz - 875mV

- 300MHz - 850mV

- 200MHz - 850mV

- 100MHz - 850mV

BetterBatteryStats

- Partial Wakelocks - sometimes the number of repetitions speaks more than the total duration of the wakelock. Catch offenders from here.

..... GTALK_ASYNC_CONN_com.google.android,gsf.gtalkservice.AndroidEndpoint - this one you cannot get rid of, embedded in GSF

- Alarms - The rest of the offending apps can fire through alarms and spend CPU time even without a wakelock.

..... com.google.android.gsf - GTALK_RECONNECT - this one is part of GSF as well

- Process - here you should look for processes you don't expect to see at all, e.g. Polaris Office. Once you spot something like this, change its settings to behave the way you like, or freeze it. Time wasted by a given process is not that helpful for your debugging, because you don't know what is normal.