3
0
Commit Graph

8 Commits

Author SHA1 Message Date
Andrew Dodd
cdc1a96ac0 mc1n2: Opensource audio HAL from Replicant
Thanks to Paul Kocialkowski of the Replicant project for this work.

Original sources:
https://gitorious.org/replicant/hardware_tinyalsa-audio

http://git.paulk.fr/gitweb/?p=yamaha-mc1n2-audio.git;a=summary

Change-Id: Ia3d89c67d64decb56e3d6518c5f382d38e5a1fa9
2012-12-02 15:33:50 +01:00
codeworkx
315c2fcb57 change network location provider package
Change-Id: I97336264842a68edec8a36cefb487cd138feee18
2012-10-13 15:11:27 +02:00
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
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
codeworkx
aa152bfe65 enable samsung stk
Change-Id: I319dc79e0d4ee9f9f29f0dcc4454c422c8e039b4
2012-08-30 17:03:09 +02:00
Espen Fjellvær Olsen
76f90bea44 Add UMS support 2012-08-12 19:15:23 +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
51841ab0c5 initial commit 2012-07-25 04:32:16 +02:00