[libhealthd] Proper battery paths

* 4.4 introduces a new daemon, healthd, that handles battery status
    - resides in: /system/core/healthd
    - BatteryMonitor.cpp iterates through all the *directories* under
      /sys/class/power_supply looking for a file called 'type'
    - if the type == Battery, it assumes this is the location for the
      battery stats for the device. Only the first directory that matches
      this criteria is used.
    - on msm8660/d2/jf/s2 kernels, this search results in:
      /sys/class/power_supply/fuelgauge.
    - To determine capacity, healthd looks at the contents of the
      'capacity' file under this discovered base path. This results
      in /sys/class/power_supply/fuelgauge/capacity on msm8660/d2/jf/s2
      kernels.
    - Unfortunately, this is the wrong path. The capacity file at this
      location returns a large negative number.
    - Other paths like status, voltage_now, and present are also
      incorrectly determined.
  * For comparison, in 4.3 battery statistics gathering was handled by
    frameworks/base/services/jni/com_android_server_BatteryService.cpp
    - BatteryService does a similar search for a file called 'type' with
      the contents of 'Battery'
    - But the search logic is different here: it takes the *last* path that
      matches the criteria.
    - This results in the correct /sys/class/power_supply/battery
  * This patch overrides the discovery mechanism for battery status completely.

Change-Id: I4579c92bba5596eef4dac67b8c0687be50a1d2f5
galaxys2: update camera overlay

Change-Id: Icce206f9b1747f015076bd19aeb1fdd8f20a754c
[media_codecs] google vpx decoder 4.4 compatible

Change-Id: I26632fcbbdd0c320e332d85c6e5e12201cbd416f
Fix sdcard mounting

Change-Id: I340c66636a5b85222b0e5bed7e476b5c4ba07625
Make SELinux policies more 4.4 compatible

Change-Id: I8494f924f1d979fe88eae60ffc118cf34a90184c
Merge "galaxys2: update camera overlay" into cm-11.0
Merge "[media_codecs] google vpx decoder 4.4 compatible" into cm-11.0
Merge "Fix sdcard mounting" into cm-11.0
galaxys2-common: Enable Bluetooth LE feature

based on http://forum.xda-developers.com/showpost.php?p=45493157&postcount=13

Change-Id: I9d3ed6d7f8c4606ddcca46f44947352e465bab76
Merge "Make SELinux policies more 4.4 compatible" into cm-11.0
Exynos camera fixes

* Enable video mode for camera
* Update sports scene name (Thanks to Mark Campbell-Smith <mcampbellsmith@gmail.com>)
The 'sports' scene mode has been renamed to 'action' scene mode
to match the 4.4 camera configuration

Change-Id: I453847256ad26197a90d44897844e78fe86732c1
galaxys2-common: update overlays

Change-Id: Iaf9b864771501536981577e6ca805bfee9cdabac
galaxys2: remove noise suppression overlay

until corresponding commit is merged

Change-Id: Ieff34f047247ec20d731626bd2e2935effdda9cf
galaxys2: add AdvancedDisplay

This partially reverts commit 99d12c6a903a3199ba4956add53b82837d90ca9c,
we want to reuse some of it. The implementation appears to be fully
compatible with smdk4412's, so let's make this a common thing at
some point

Change-Id: I080484ad010f881a22a4486a6c082d0fbc17a529
Revert "galaxys2: remove noise suppression overlay"

This reverts commit ee7630eef4e5566f079b6739b96d39a7a54710f3.
media_codecs: Don't try to use absent VP8 decoder

Change-Id: Iff6813a4a29d36e16564e608010520520d60d7fa
AdvancedDisplay: NL translation

Change-Id: Iaf4050c087bc653f4710c0cea7b6e799873759b0
AdvancedDisplay: Remove unused strings

Also correct copyright message

Change-Id: I57418238306e551f171bc248c9a0626da052a5af
AdvancedDisplay: Update resources

Change-Id: I23a094f0c4818f42058ece80ba968672b2ceb907
galaxys2: Fix the inability to mount/unmount sdcard

Change-Id: Ifddbf979e5de937d2b2b3d850ccb66c3d731bc35