a21e9455027a20c68e31358aaa1c8d9c8c28e357 |
|
17-Aug-2011 |
Mike Lockwood <lockwood@android.com> |
BatteryService: Don't fail to register native methods if kernel power supply driver is missing Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/jni/com_android_server_BatteryService.cpp
|
3762c311729fe9f3af085c14c5c1fb471d994c03 |
|
06-Jan-2012 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
/frameworks/base/services/jni/com_android_server_BatteryService.cpp
|
8564c8da817a845353d213acd8636b76f567b234 |
|
06-Jan-2012 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/157065 Bug: 5449033 Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
/frameworks/base/services/jni/com_android_server_BatteryService.cpp
|
98e044a6090fa239eca6736436d6a7efa8028066 |
|
29-Oct-2011 |
Dima Zavin <dima@android.com> |
BatteryService(jni): properly handle read's return value Change-Id: I10f5cf3728424e7f5a0c1b460049102fd00a6246 Signed-off-by: Dima Zavin <dima@android.com>
/frameworks/base/services/jni/com_android_server_BatteryService.cpp
|
c1b9bbb21c8ad5109978a4e9e770cd18b0257434 |
|
13-Jul-2011 |
Mike Lockwood <lockwood@android.com> |
Remove some #ifdef HAVE_ANDROID_OS that were needed for the simulator build Change-Id: I13d9f251f86c05ae5405f37adbf6b8e9660935ba Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/jni/com_android_server_BatteryService.cpp
|
bb9d394b21bdfeb1ceb4cf6e4ed0306e39757b15 |
|
16-Feb-2011 |
Kenny Root <kroot@google.com> |
Clean up use of HAVE_ANDROID_OS HAVE_ANDROID_OS was defined as "1" for targets, but never defined as "0" for non-targets. Changing them to #ifdef should be safe and matches all the other uses of HAVE_ANDROID_OS throughout the system. Change-Id: I82257325a8ae5e4e4371ddfc4dbf51cea8ea0abb
/frameworks/base/services/jni/com_android_server_BatteryService.cpp
|
49016d6cd74cd6c86fa625fe8702c474f955266e |
|
13-Oct-2010 |
Axel Haslam <axelhaslam@ti.com> |
BatteryService: Set bool to true if sysfs entry is not 0 For the musb to recognized as online, the musbOnline value has to be set. The battery driver sets the online property of the sysfs as "3" when the charger type is USB. The way the current code is, if the value is not 1, musbOnline would be false and the menu to mount the sdcard on the pc would not pop-up. Since the linux driver returns 0 if the cable is not connected, and 3 if the cable is connected, we should set the boolean variable to 0 only if the sysfs value is 0, otherwise we set it to true. Change-Id: I538d8de446e7ea4f620ffcce156a57cf56b5a4e5 Signed-off-by: Axel Haslam <axelhaslam@ti.com>
/frameworks/base/services/jni/com_android_server_BatteryService.cpp
|
9239612870d08fbf79b3c53f11bd5d7cb4beb875 |
|
20-Sep-2010 |
Imre Sunyi <imre.sunyi@sonyericsson.com> |
Support showing "Cold" battery health. The Linux kernel supports reporting "cold" battery health to sysfs. Android framework has not implemented this and it defaults to "unknown" This adds handling the cold battery health. Change-Id: Idcc156aae6aabce73391081143f79d052edf332e
/frameworks/base/services/jni/com_android_server_BatteryService.cpp
|
f24d13a28fbf0d547ebb669f856e7c34ff70c8ec |
|
18-Aug-2009 |
Mike Lockwood <lockwood@android.com> |
BatteryService: Add support for new standard battery voltage and temperature attributes. Plus some cleanup from the previous commit. Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/jni/com_android_server_BatteryService.cpp
|
304928fb7ead0efeec54b2535ed57bfc61773602 |
|
17-Aug-2009 |
Mike Lockwood <lockwood@android.com> |
BatteryService: Remove hard coded power supply names. Search all subdirectories of /sys/class/power_supply and match on the power supply type instead. Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/jni/com_android_server_BatteryService.cpp
|
25ba5b6564224dceefa086b5c439ef28dad530ca |
|
19-May-2009 |
Mathias Agopian <mathias@google.com> |
checkpoint: split libutils into libutils + libbinder
/frameworks/base/services/jni/com_android_server_BatteryService.cpp
|
e7e6fa3fbfeae278f739f3863197d0c4fc750abe |
|
29-Apr-2009 |
Rebecca Schultz Zavin <rebecca@android.com> |
If no battery stats are found, return status_unknown If the battery files can't be found return status_unkown instead of an error. On systems where we haven't brought up battery stats yet they assume the battery is dead and turn off as soon as the runtime starts Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
/frameworks/base/services/jni/com_android_server_BatteryService.cpp
|
b2a3dd88a53cc8c6d19f6dc8ec4f3d6c4abd9b54 |
|
09-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@137197
/frameworks/base/services/jni/com_android_server_BatteryService.cpp
|