View Single Post
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#153
sounds good.
I think our next goal should be to develop some scripts to adaptively
switch between profiles, for example:

* safe = default settings 250-600 (but with lower voltage), for cooling down the device
and during phone calls, maybe as user default?
* performance = overclock 500-x, for heavy usage, enabled when screen is unlocked,
phone call ended, temperature got low enough, or by user request (widget?)
* sleep = 125-250 (?? low voltage) with all apps reniced or put to sleep,
enabled when the screen is locked

we probably need some kind of daemon for polling the temperature sensors,
keeping track of how long the max. freq has been continously active,
and switching between the profiles.
and we would need some dbus scripts reacting to screen lock/unlock and
phone call begin/end.
Please put all the information you find on the wiki page. Thanks

Originally Posted by Fecn View Post
I wrote a couple of dbus scripts so that when the phone is unlocked it runs from 250-1150Mhz (scripts take temperature into account and set max speed accordingly), but when locked it goes down to 125-250Mhz instead.

I've been running like this for about a week with no crashes. The only problem I've had was that one time (and only once) I was unable to answer an incoming call as the touchscreen was unresponsive. I did have a little fiddle with a dbus script to increase clock speeds in the event of an incoming call - I might finish them off if the incoming call problem happens for me again.

In my locked/underclock settings, I use 1% battery per hour... wifi, bluetooth and 3g all enabled... no apps actively running.

In overclock state, the phone seems to reach a maximum of 49celcius no matter how hard I hammer it (I've been using UAE running State of the Art demo, combined with watching BBC News... locks the CPU at 100% at all times). Room temperature here is 23C. This compares to a max temp of 44C when running at the default of 600Mhz.
 

The Following 5 Users Say Thank You to titan For This Useful Post: