-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cm 12.0 #7
Cm 12.0 #7
Conversation
Change-Id: I8ed60c8bc765692e6c4f38b66248ddcf6dd8db91
Since directory system/bluetooth does not exists Change-Id: I05c60a21bf5c5d9efc1e5804133083676e2cd103
Change-Id: I89a44c948c19e35afee9a3c8e3ddc209df230a1e
Change-Id: I9386392b90c1e9ad792a1a1f4145bd01f77cdd13
Change-Id: Iafeb4349fa504b5a5f7d72afd3274581de5b2ddc
* 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
Change-Id: Icce206f9b1747f015076bd19aeb1fdd8f20a754c
Change-Id: I26632fcbbdd0c320e332d85c6e5e12201cbd416f
Change-Id: I340c66636a5b85222b0e5bed7e476b5c4ba07625
Change-Id: I8494f924f1d979fe88eae60ffc118cf34a90184c
based on http://forum.xda-developers.com/showpost.php?p=45493157&postcount=13 Change-Id: I9d3ed6d7f8c4606ddcca46f44947352e465bab76
* 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
Change-Id: Iaf9b864771501536981577e6ca805bfee9cdabac
until corresponding commit is merged Change-Id: Ieff34f047247ec20d731626bd2e2935effdda9cf
This partially reverts commit 99d12c6, 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
This reverts commit ee7630e.
Change-Id: Iff6813a4a29d36e16564e608010520520d60d7fa
Change-Id: Iaf4050c087bc653f4710c0cea7b6e799873759b0
Also correct copyright message Change-Id: I57418238306e551f171bc248c9a0626da052a5af
Change-Id: I23a094f0c4818f42058ece80ba968672b2ceb907
Change-Id: Ifddbf979e5de937d2b2b3d850ccb66c3d731bc35
Change-Id: Ic66fc48a50fc645c0078b787264c23237593615f
Change-Id: I695beeacdad9d8a371b566b6d30305ec6c6248ba
Change-Id: I9dabb0d8e7d4fcc224d2fa7c4a95bc8989b90a45
Change-Id: Ib2f033862e0057890d1b3142365a6026d4e89e6c
Hi there; This is an automated reply, to let you know CyanogenMod doesn't merge pull You can submit your change requests through our public review system, That review system is an installation of Google's Gerrit code review. Thanks! |
No description provided.