3
0
Commit Graph

30 Commits

Author SHA1 Message Date
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
Andrew Dodd
6f4d2ebc76 Do not build libsync
It is a not a dependency of any hwcomposer that functions properly
on Exynos 4210 devices.  Only Exynos 4412 (I9300 JB) hwc depends
on it.

Change-Id: I7f964566ee177382501c148e19a0b4de012231d6
2012-10-02 08:11:41 -04:00
Espen Fjellvær Olsen
647c319a6e Update for JB/Mali r3p0
Change-Id: I911c4679f9c8d0aed62516514a3eb48521d86f66
2012-10-02 09:39:07 +02:00
codeworkx
766509a6f1 removed gralloc overlay, moved bits to hardware/libhardware
Change-Id: I36a5e5d0db04ad590c3a972c6ad7fa234b530fda
2012-09-18 20:29:05 +02:00
Andrew Dodd
de0d2f55ae power_profile: Bring a sane one from a Samsung firmware
Whatever is currently here looks like it's OMAP-ish
and results in what appears to be bogus ordering in
Battery stats.
2012-09-14 21:53:13 -04:00
athurh
9ed62aeb6e camera: Fix camcorder preview sizes
Change-Id: I66d23df932ae8d2babf4fa80033ce5f2f047e0a9
2012-09-10 01:45:50 +02:00
sbrissen
cbb1f1e108 Allow d710 to pull from common repo
Change-Id: I1c6a10d8ab9efd98baebb95306c092aa1d699764
2012-08-30 10:29:05 -04:00
codeworkx
aa152bfe65 enable samsung stk
Change-Id: I319dc79e0d4ee9f9f29f0dcc4454c422c8e039b4
2012-08-30 17:03:09 +02:00
codeworkx
0bff09e867 workaround for samsungs volume bug 2012-08-21 15:59:18 +02:00
Daniel Hillenbrand
fc3df4919a legacy sta events 2012-08-14 15:53:20 +02:00
Espen Fjellvær Olsen
76f90bea44 Add UMS support 2012-08-12 19:15:23 +02:00
Andrew Dodd
0d0996cc02 overlay: Fix typo 2012-08-07 18:59:05 -04:00
Daniel Hillenbrand
d9bb12716e overlay: led flash and dock settings 2012-08-07 17:32:00 +02:00
Andrew Dodd
f1a8a84690 overlay: Enable workaround for broken audio policy HAL
This will permit A2DP to work with our broken HAL
2012-08-04 15:27:45 -04:00
Daniel Hillenbrand
4502a83dd1 Merge pull request #1 from athurh/jellybean
camera: Fix ISO speed values
2012-08-02 11:50:43 -07:00
Daniel Hillenbrand
12d78acbfc init: correct dev/log permissions 2012-08-01 09:41:51 +02:00
Daniel Hillenbrand
4d65a1b077 init: create mnt 2012-07-30 17:07:31 +02:00
Daniel Hillenbrand
55d42adf79 Revert "added global cflag GLES2_NO_DISCARD_FRAMEBUFFER"
This reverts commit 5964b7b93f.
2012-07-29 21:10:59 +02:00
Andrew Dodd
00ed54aaf0 phone: Enable noise suppression control
This feature was just forward-ported from CM9 in the
core code
2012-07-29 13:27:02 -04:00
Daniel Hillenbrand
5964b7b93f added global cflag GLES2_NO_DISCARD_FRAMEBUFFER 2012-07-29 19:15:06 +02:00
Andrew Dodd
fcf1f31eeb Import gps init script on devices that have it 2012-07-28 11:24:18 -04:00
Andrew Dodd
c9a68f6c5a Revert "galaxys2: Let devices copy init script"
Codeworkx suggested a better approach for N7000 GPS.
This reverts commit 80b9b4bd85.
2012-07-28 11:15:23 -04:00
Andrew Dodd
80b9b4bd85 galaxys2: Let devices copy init script
GT-I9100 and SGH-I777 share an init script - keep the script
here but let the device tree copy it.

This lets us fork the GT-N7000 init script, which is different
2012-07-28 01:46:08 -04:00
Espen Fjellvær Olsen
30400580b2 Disable hwid check for wrappers
Change-Id: I7700e12930575d8707891542632aa30d590a340b
2012-07-27 12:12:46 +02:00
athurh
74f6e5616a camera: Fix ISO speed values 2012-07-26 16:55:48 +02:00
Andrew Dodd
c0d9dfc406 Remove libsensors from common
Since n7000 is using our tree, it needs to be per-device
2012-07-25 22:10:42 -04:00
Andrew Dodd
7b8bae7aa4 releasetools: Fix for new backup script
Backup script no longer mounts/unmounts /system

This now needs to be done by the update-script

Forward-port this change from ICS
2012-07-25 20:34:28 -04:00
XpLoDWilD
dec11c5b50 Remove setprop device 2012-07-25 20:37:35 +02:00
Daniel Hillenbrand
ddcb3aa6f0 per device dpi setting 2012-07-25 18:05:50 +02:00
Daniel Hillenbrand
51841ab0c5 initial commit 2012-07-25 04:32:16 +02:00