*[4.1+]*[MOD]BATTERY TWeaKS [get the best out your Battery]

Search This thread

gauravj

Senior Member
Jul 28, 2012
355
570
26
Virar
gfp641bidywg2nmfg.jpg


Requirements
REQUIREMENTS
Most importantly your phone
init.d support
Android 4.1+ :p


what's in init.d scripts?

4.1 cpufreq_governor
21cpufreq_governor script sets the governor that contorls the CPU's thresholds and sampling_rates
4.2 cpufreq_screenstate_scaling
31cpufreq_screenstate_scaling script defines the governor values and decides the actions based on the phone's state - conservative, ondeman, lazy, awake, sleep modes. I've changed lots of values from Calk's original script to save more battery power thru this script. As indicated in Calk's original thread for FD02, this script would not run if you have already installed some CPU control apps something like OC Widget, Quick Clock, SETCPU, and Android OC.

4.3 tweaks_kobridge
41tweaks_kobridge script has almost everything in it to improve the network speed, sdcard tweaks, other battery saving tweaks, VM management, Kernel, wifi tweaks, etc. For some of the values in here, there are some overlaps with build.prop tweaks. So, if you do not apply the tweaks to the build.prop file, many tweaks would still work.

4.4 zipalign
zipalign is an archive alignment tool introduced first time with 1.6 Android SDK (software development kit). It optimizes the way an Android application package (APK) is packaged. Doing so enables the Android operating system to interact with the application more efficiently, and hence has the potential to make the application and overall the whole system much faster. Execution time is minimized for zipaligned applications, resulting is lesser amount of RAM consumption when running the APK.

If less number of applications with an unaligned home application, you’d see slower application launch times. This is the best case scenario. For a worst case scenario, having a number of unaligned applications will result in the system repeatedly starting and killing processes, struggling with lags and huge battery drain.

4.5 Wifi Sleep Wait timer
What this tweak does is, it controls the time until wifi sleeps after the screen turned off. By default, it's 15 minutes. So, even you turned off the screen, by default, phone will wait for 15 minutes and then turn off the wifi. By using this tweak, you will have the control over wifi idle time until wifi sleeps.​




credits
me
kobridge
iossux
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    gfp641bidywg2nmfg.jpg


    Requirements
    REQUIREMENTS
    Most importantly your phone
    init.d support
    Android 4.1+ :p


    what's in init.d scripts?

    4.1 cpufreq_governor
    21cpufreq_governor script sets the governor that contorls the CPU's thresholds and sampling_rates
    4.2 cpufreq_screenstate_scaling
    31cpufreq_screenstate_scaling script defines the governor values and decides the actions based on the phone's state - conservative, ondeman, lazy, awake, sleep modes. I've changed lots of values from Calk's original script to save more battery power thru this script. As indicated in Calk's original thread for FD02, this script would not run if you have already installed some CPU control apps something like OC Widget, Quick Clock, SETCPU, and Android OC.

    4.3 tweaks_kobridge
    41tweaks_kobridge script has almost everything in it to improve the network speed, sdcard tweaks, other battery saving tweaks, VM management, Kernel, wifi tweaks, etc. For some of the values in here, there are some overlaps with build.prop tweaks. So, if you do not apply the tweaks to the build.prop file, many tweaks would still work.

    4.4 zipalign
    zipalign is an archive alignment tool introduced first time with 1.6 Android SDK (software development kit). It optimizes the way an Android application package (APK) is packaged. Doing so enables the Android operating system to interact with the application more efficiently, and hence has the potential to make the application and overall the whole system much faster. Execution time is minimized for zipaligned applications, resulting is lesser amount of RAM consumption when running the APK.

    If less number of applications with an unaligned home application, you’d see slower application launch times. This is the best case scenario. For a worst case scenario, having a number of unaligned applications will result in the system repeatedly starting and killing processes, struggling with lags and huge battery drain.

    4.5 Wifi Sleep Wait timer
    What this tweak does is, it controls the time until wifi sleeps after the screen turned off. By default, it's 15 minutes. So, even you turned off the screen, by default, phone will wait for 15 minutes and then turn off the wifi. By using this tweak, you will have the control over wifi idle time until wifi sleeps.​




    credits
    me
    kobridge
    iossux
    2
    direct

    is that we need to delete all the files in the init.d folder first then only flash with CWM? OR just flash through CWM only and no need to delete the files in init.d?

    directly flash it :good::good:
    1
    Reserved for GB and ICS tweaks
    1
    Tested On Carbon & SJB
    1
    .

    have to flash it thru CWM? and then wt about wipes?

    Flash it through CMW & no wipes required