[Wildfire Android Development] suiller:
there is still something I can't really "manage"... I'm having a very high drain battery

at least for my tastes, in fact my wildfire doesn't reach almost a whole day without a visit to its beloved AC

on standard use it reaches at max 20-22h, it can survive more than 24h only if barely used

anyway I monitored the device for a couple of days & I noticed 2 things that don't satisfy my tongue :D

1. my buzz is under/overclocked as ondemand@245-652, if I observe the freq when the screen is off, so the whole system should be less stressed, I noticed that every 10-15 seconds the freq jumps at 384-5xx values, then again at the lowest value & the loop will continue

2. If I take a look on my other device (desire) battery stats I can observe that most of the battery is taken by the display (as should be), while my buzz stats show that the winner is OS itself :eek:

I suppose that 2nd point is somehow linked to the 1st one... :rolleyes:

anyway just to skip flames :D I tried also starting with a clean installation, nothing installed except basic rom apps, so aren't "third app" causing this issue

I'm using cyan from few days while with a standard froyo rom I can reach easily 2 days, I expected a higher drain but didn't expect so much... have you noticed something similar?

EDIT EDIT EDIT

I tried to keep freq on the lowest range while phone is sleeping but I dunno why the shell command doesn't go in background, so here is my script for under/overclocking coupled with my beloved desire... it works extremely well (in this way I can keep a very low freq range while sleeping & pushing higher when active without need 3rd part app such as SetCpu or whatever)

## CPU FREQ OPTIMIZATION
Governor=ondemand
MinFreqWake=576000
MaxFreqWake=1113600
MinFreqSleep=245760
MaxFreqSleep=384000
SampRateWake=90000
SampRateSleep=900000

echo $Governor > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
sleep 1 ; echo $MaxFreqSleep > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
sleep 1 ; echo $MaxFreqWake > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
sleep 1 ; echo $SampRateWake > /sys/devices/system/cpu/cpu0/cpufreq/$Governor/sampling_rate

(while [ 1 ]
do
AWAKE=`cat /sys/power/wait_for_fb_wake`
if [ $AWAKE = "awake" ]; then
echo $MinFreqWake > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
sleep 1 ; echo $MaxFreqWake > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo $MinFreqWake > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
sleep 1 ; echo $MaxFreqWake > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo $SampRateWake > /sys/devices/system/cpu/cpu0/cpufreq/$Governor/sampling_rate
echo 30 > /sys/devices/system/cpu/cpu0/cpufreq/$Governor/up_threshold
AWAKE=
fi
SLEEPING=`cat /sys/power/wait_for_fb_sleep`
if [ $SLEEPING = "sleeping" ]; then
echo $MinFreqSleep > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
sleep 1 ; echo $MaxFreqSleep > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo $MinFreqSleep > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
sleep 1 ; echo $MaxFreqSleep > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo $SampRateSleep > /sys/devices/system/cpu/cpu0/cpufreq/$Governor/sampling_rate
echo 98 > /sys/devices/system/cpu/cpu0/cpufreq/$Governor/up_threshold
SLEEPING=
fi
done &)

why the damn "&" doesn't work as expected?? I repeat under desire (oxygen) it works as expected & the script just stays in memory (background)