3
0
Go to file
Andrew Dodd 1579100c87 power_profile: Add cpu.awake parameter
One of the remaining issues with the new profile is lack
of a cpu.awake parameter - without this, wakelock holders
won't be penalized in battery stats.

Make a wild-ass guesstimate of 15 mA, based on:
Best-case consumption is around 0.5%/hour with radio on, assume
8.25 mA consumption of non-CPU stuff in deep sleep.
Best case consumption when wakelocked is usually around 1.25-1.5%/hour,
assume then, about 25 mA total when wakelocked.
Subtract the baseline and it's 15-16 mA.  Let's just round to a
multiple of 5 here, since it IS a WAG.

Also, consumption when the CPU is running at 200 MHz (for example,
governor set to ignore nice load, and a program is endlessly looping
but niced to avoid bumping the gov) is usually around 4-5%/hour,
which is semi-consistent with a number of 55 mA for 200 MHz op.

Change-Id: I6aa08842dd2acfced0c70a95d973aa0b415799cc
2012-10-04 03:54:45 -07:00
camera camera: Fix camcorder preview sizes 2012-09-10 01:45:50 +02:00
configs initial commit 2012-07-25 04:32:16 +02:00
gpswrapper initial commit 2012-07-25 04:32:16 +02:00
overlay power_profile: Add cpu.awake parameter 2012-10-04 03:54:45 -07:00
recovery initial commit 2012-07-25 04:32:16 +02:00
releasetools releasetools: Fix for new backup script 2012-07-25 20:34:28 -04:00
res/charger initial commit 2012-07-25 04:32:16 +02:00
surfaceflinger_client initial commit 2012-07-25 04:32:16 +02:00
tvout initial commit 2012-07-25 04:32:16 +02:00
Android.mk Allow d710 to pull from common repo 2012-08-30 10:29:05 -04:00
BoardCommonConfig.mk Update for JB/Mali r3p0 2012-10-02 09:39:07 +02:00
common.mk Do not build libsync 2012-10-02 08:11:41 -04:00
init.smdk4210.rc init: correct dev/log permissions 2012-08-01 09:41:51 +02:00
init.smdk4210.usb.rc initial commit 2012-07-25 04:32:16 +02:00
lpm.rc initial commit 2012-07-25 04:32:16 +02:00
recovery.rc initial commit 2012-07-25 04:32:16 +02:00
shbootimg.mk initial commit 2012-07-25 04:32:16 +02:00
ueventd.smdk4210.rc Update for JB/Mali r3p0 2012-10-02 09:39:07 +02:00