Jump to content


Photo

Kernel Tweaks For Battery Life/performance

kernel battery life

  • Please log in to reply
124 replies to this topic

#101 superrelaxx

superrelaxx

    Droid Master

  • Superuser
  • 921 posts
  • Twitter:jasNwa
  • LocationSeattle, Washington

Posted 12 July 2012 - 01:54 PM

Anyone try this yet and has good results?

Sent from my DROID RAZR using Tapatalk 2


Installed last night and this is what I'm getting. I ran the first version and was happy with it. I'm on a maxx so my battery life is already excellent but this helps

Please Login or Register to see this Hidden Content

 

Please Login or Register to see this Hidden Content

  44.07KB   95 downloads.

#102 trikotret

trikotret

    Droid Elite

  • Members
  • PipPipPipPip
  • 1,461 posts
  • Current Device(s):Droid Razr HD

Posted 12 July 2012 - 01:58 PM

What rom you on

Sent from my DROID RAZR using Tapatalk 2

#103 superrelaxx

superrelaxx

    Droid Master

  • Superuser
  • 921 posts
  • Twitter:jasNwa
  • LocationSeattle, Washington

Posted 12 July 2012 - 02:13 PM

What rom you on

Sent from my DROID RAZR using Tapatalk 2


INFEKTION. I also ran Arctic and had great battery life as well.The upcoming Arctic is supposed to have some built in battery tweaks

#104 thevillageidiot

thevillageidiot

    Member

  • Members
  • PipPip
  • 104 posts
  • LocationOmaha, NE

Posted 13 July 2012 - 06:37 PM

Am i retarded or is there no download link for the battery?

#105 superrelaxx

superrelaxx

    Droid Master

  • Superuser
  • 921 posts
  • Twitter:jasNwa
  • LocationSeattle, Washington

Posted 13 July 2012 - 06:47 PM

Am i retarded or is there no download link for the battery?


You copy and paste the code into a scripter
  • BytecodeMe likes this

#106 DroidRoid

DroidRoid

    n00b

  • Members
  • Pip
  • 5 posts

Posted 14 July 2012 - 07:25 PM

Good info!
By George I've got root!

#107 trekie4ever

trekie4ever

    Member

  • Members
  • PipPip
  • 285 posts

Posted 14 July 2012 - 09:08 PM

I have no clue what any of this means or did... but the numbers spam for them self.
<br /><br /><br />

Please Login or Register to see this Hidden Content

 

Please Login or Register to see this Hidden Content

  45.83KB   49 downloads<br /><br />

Please Login or Register to see this Hidden Content

 

Please Login or Register to see this Hidden Content

  32.38KB   60 downloads<br /><br />Wow... battery life improved drastically. I usually get about 4-5 hours screen time and I try to stick to 3g.<br />Sent from my DROID RAZR using Tapatalk 2

Attached Files



#108 trikotret

trikotret

    Droid Elite

  • Members
  • PipPipPipPip
  • 1,461 posts
  • Current Device(s):Droid Razr HD

Posted 14 July 2012 - 10:09 PM

Which script is for battery saver. Is it the top?

Sent from my DROID RAZR using Tapatalk 2

#109 BytecodeMe

BytecodeMe

    Private Pile

  • Superuser
  • 2,004 posts
  • Twitter:@BytecodeMe
  • LocationSan Diego, California
  • Current Device(s):Nexus 4, Droid Razr Maxx HD

Posted 14 July 2012 - 10:14 PM

Which script is for battery saver. Is it the top?

Sent from my DROID RAZR using Tapatalk 2

Yes, the top one, and I recommend that you use the Scripter in ROM Toolbox, it works much better.

byte3plusrainbowsmallllllllller.png


#110 trikotret

trikotret

    Droid Elite

  • Members
  • PipPipPipPip
  • 1,461 posts
  • Current Device(s):Droid Razr HD

Posted 14 July 2012 - 10:18 PM

Yes, the top one, and I recommend that you use the Scripter in ROM Toolbox, it works much better.



Thanks. I am using toolbox. Like you said its much easier :)

#111 superrelaxx

superrelaxx

    Droid Master

  • Superuser
  • 921 posts
  • Twitter:jasNwa
  • LocationSeattle, Washington

Posted 01 October 2012 - 05:55 AM

Would your battery script be Android or phone specific. Meaning, would this work on the GS3?

#112 BytecodeMe

BytecodeMe

    Private Pile

  • Superuser
  • 2,004 posts
  • Twitter:@BytecodeMe
  • LocationSan Diego, California
  • Current Device(s):Nexus 4, Droid Razr Maxx HD

Posted 01 October 2012 - 06:02 AM

Would your battery script be Android or phone specific. Meaning, would this work on the GS3?


Android, but you should check and see if it runs correctly.


Sent from my DROID RAZR using Tapatalk 2

byte3plusrainbowsmallllllllller.png


#113 superrelaxx

superrelaxx

    Droid Master

  • Superuser
  • 921 posts
  • Twitter:jasNwa
  • LocationSeattle, Washington

Posted 01 October 2012 - 06:36 AM

I ran it but came back with errors. It seems it can't write to certain files but I checked and these are all r/w.

Ideas?

Please Login or Register to see this Hidden Content

 

Please Login or Register to see this Hidden Content

  73.26KB   5 downloads

Please Login or Register to see this Hidden Content

 

Please Login or Register to see this Hidden Content

  73.46KB   3 downloads

#114 BytecodeMe

BytecodeMe

    Private Pile

  • Superuser
  • 2,004 posts
  • Twitter:@BytecodeMe
  • LocationSan Diego, California
  • Current Device(s):Nexus 4, Droid Razr Maxx HD

Posted 01 October 2012 - 06:46 AM

I ran it but came back with errors. It seems it can't write to certain files but u checked and these are all r/w.

Ideas?

Please Login or Register to see this Hidden Content

 

Please Login or Register to see this Hidden Content

  73.26KB   5 downloads

Please Login or Register to see this Hidden Content

 

Please Login or Register to see this Hidden Content

  73.46KB   3 downloads


Samsung could have switched up some of the files paths for some of the kernel parameters,I don't see all of them getting errors, unless every line is getting errors?

Looking at those errors, I see that the 2 most important ones didn't error out. Writeback_centisecs and writeback_expire_centisecs.

byte3plusrainbowsmallllllllller.png


#115 superrelaxx

superrelaxx

    Droid Master

  • Superuser
  • 921 posts
  • Twitter:jasNwa
  • LocationSeattle, Washington

Posted 01 October 2012 - 07:07 AM

I'll do some more digging. This script did well on my razr ;-)

Thanks for the quick reply.

#116 jimboslice

jimboslice

    Droid Master

  • Developer
  • 315 posts
  • LocationBeaverton, Oregon

Posted 01 October 2012 - 02:49 PM

Does this work for jb?

#117 BytecodeMe

BytecodeMe

    Private Pile

  • Superuser
  • 2,004 posts
  • Twitter:@BytecodeMe
  • LocationSan Diego, California
  • Current Device(s):Nexus 4, Droid Razr Maxx HD

Posted 01 October 2012 - 02:59 PM

Does this work for jb?


Yes, on stock I can guarantee every parameter will work exactly the same. On Kexec it might differ slightly, but should work the same for the most part.

byte3plusrainbowsmallllllllller.png


#118 OMGzBananas

OMGzBananas

    Monkeys Eat me

  • Members
  • PipPip
  • 33 posts

Posted 03 October 2012 - 12:36 PM

Yes, on stock I can guarantee every parameter will work exactly the same. On Kexec it might differ slightly, but should work the same for the most part.


You recommend sio and hotplugx, but I'd been recommended pegasusq. What sort of difference should I see? Also, is it possible to flash add a different scheduler?

#119 BytecodeMe

BytecodeMe

    Private Pile

  • Superuser
  • 2,004 posts
  • Twitter:@BytecodeMe
  • LocationSan Diego, California
  • Current Device(s):Nexus 4, Droid Razr Maxx HD

Posted 03 October 2012 - 02:50 PM

I haven't updated the OP in while, I use Pegasusq now. It is possible to use another scheduler, SIO, but that is the only one, none others have been ported to the Razr kernel.

byte3plusrainbowsmallllllllller.png


#120 masterfisto

masterfisto

    Member

  • Members
  • PipPip
  • 37 posts

Posted 07 October 2012 - 06:21 PM

Yes, on stock I can guarantee every parameter will work exactly the same. On Kexec it might differ slightly, but should work the same for the most part.

I'm running the CM10 10/05 nightly and I get a "stderr: /data/com.jrummy.liberty.toolbox/files/tmp.sh[17]: can't create /proc/sys/kernel/sched_compat_yield: No such file or directory" error.





Also tagged with one or more of these keywords: kernel, battery life

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users