Bucket Guild | FUBU BH Forums

I Has a Bucket: Preventing bucket theft on Bleeding Hollow | FUBU: A better BH Forum
It is currently Thu Jul 10, 2025 3:31 pm



Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: @Smart phone (droid) super nerds.
PostPosted: Thu May 19, 2011 10:14 pm  
User avatar

Stupid Schlemiel
Joined: Mon Jul 23, 2007 10:39 pm
Posts: 1942
Location: California
Offline

Root your phone according the tutorials on XDA and download SetCPU. You might have to monkey with the specifics but there are generally guides for it and you'll get much more battery life. If you don't want to flash custom roms or kernels you don't have to. Though you will probably experience better performance and battery if you chose to do so. Most of the time I run stock with a custom kernel and I remove everything I don't use. The exception being now because this Gingerbread leak is amazing just like my devs.

With heavy use I can get 10 hours of life from my phone, easy. At best I've gotten 10 hours on abut 30% of my battery. It all depends but if you're running 2.2+ you're not going to be doing anything but wasting more battery running a task killer.

I don't pretend to know the specifics of android development or anything but that's what I've learned from ~2 years of use.

Sent from my SPH-D700 using Tapatalk


A man chooses, a slave obeys.
Top
 Profile  
 
 Post subject: Re: @Smart phone (droid) super nerds.
PostPosted: Fri May 20, 2011 12:12 am  
Malodorous Moron
Joined: Wed Jan 05, 2011 5:59 pm
Posts: 736
Location: Montreal, QC
Offline

Yeah Setcpu would help a bit.

If you're gonna finkle and battery (actually, a pretty damn good balance) is your priority-

CyanogenMod 7 has in it's options a menu to set the CPU governor. You would force it to "ondemand". Performance is pointless and the others are lacking compared to ondemand. 'Smartass' would be better if it didn't introduce a 0.5-1 seconds delay when unlocking your screen if your CPU is idling at 128mhz.
Kernel dependent:
Minimum frequency: 128mhz
Maximum frequency: 1.2ghz
If it's a snapdragon @ 1ghz. OC to 1.2 is safe, if your device disagrees with it, it'll let you know promptly.

When shopping for a kernel, look for the following patches/features:
HAVS -- hybrid adaptive voltage scaling. This allows the frequency and voltage to be scaled independently. The table would look like 925mV at lowest clock and 1350mV at overclock ranges, but whoever is developing for your phone will know.

If your phone is unstable with the above, there's also SVS, static voltage scaling. But HAVS is optimal

AXI -- this uses a higher AXI bus while the screen is on, lower when off.

Something that turns your wifi off automatically after the screen has been off for X time.

With those, your idle battery usage will be close to nothing. I'm talking StarTAC class of battery life even though I don't know how long those lasted.

Other common stuff:
CPU scheduler:
BFS -- brain fuck scheduler, prioritizes userspace applications and overall aims for a "smooth user experience". I don't see it on Android but I do use it on my computers. I don't see the point on droid. It's also default in CyanogenMod :P

CFS -- completely fair scheduler, the default in the linux kernel. Schedules the cpu for equal clocks over a period of time for running programs. If a kernel dev is supporting BFS then he will probably have compiled packages for CFS also.

I/O scheduler:
CFQ, completely fair whatever, usually the default on linux. HOWEVER if the dev says something about cgroups, then CFQ it should be. That means the "200 lines patch that does wonders" is in there and it should be pretty good on a droid.
BFQ, pointless on android
No-op, this is usually my pick, it's simple and fits well with the device's whole it doesn't have a hard drive situation
Deadline, has been shown to perform better with SSDs. Flip a coin and pick one.
Top
 Profile  
 
 Post subject: Re: @Smart phone (droid) super nerds.
PostPosted: Fri May 20, 2011 12:55 am  
User avatar

Querulous Quidnunc
Joined: Fri May 14, 2010 6:59 pm
Posts: 2569
Location: In your dreams.
Offline

Joklem wrote:
CyanogenMod 7 has in it's options a menu to set the CPU governor. You would force it to "ondemand". Performance is pointless and the others are lacking compared to ondemand. 'Smartass' would be better if it didn't introduce a 0.5-1 seconds delay when unlocking your screen if your CPU is idling at 128mhz.


interactive > ondemand.


Image
Top
 Profile  
 
 Post subject: Re: @Smart phone (droid) super nerds.
PostPosted: Fri May 20, 2011 9:28 am  
Malodorous Moron
Joined: Wed Jan 05, 2011 5:59 pm
Posts: 736
Location: Montreal, QC
Offline

Tehra wrote:
Joklem wrote:
CyanogenMod 7 has in it's options a menu to set the CPU governor. You would force it to "ondemand". Performance is pointless and the others are lacking compared to ondemand. 'Smartass' would be better if it didn't introduce a 0.5-1 seconds delay when unlocking your screen if your CPU is idling at 128mhz.


interactive > ondemand.


Read the docs and tried it, kpanic?! Might be finicky with HAVS and/or AXI... basically it wakes up from 128mhz (Android tree doesn't go lower than 245mhz, ever)/lowest voltage/lower AXI bus so I'm guessing that this particular setup likes a smoother governor without the abrupt ramp ups.

For scope, current while the screen is off = -4mA.

Code:
function cancer() {
   run-in-the-background: cancer( cancer() );
}
cancer();

if(numProcesses > 1000000) {
    stopTrying();
          kprintf ("Meh.");
}
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

World of Warcraft phpBB template "WoWMoonclaw" created by MAËVAH (ex-MOONCLAW) (v3.0.8.0) - wowcr.net : World of Warcraft styles & videos
© World of Warcraft and Blizzard Entertainment are trademarks or registered trademarks of Blizzard Entertainment, Inc. in the U.S. and/or other countries. wowcr.net is in no way associated with Blizzard Entertainment.
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group