aboutsummaryrefslogtreecommitdiffstats
path: root/charger/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'android-4.2.1_r1.2' into cm-10.1Ricardo Cerqueira2013-02-021-0/+7
|\
| * charger: suspend enable in charger modechoongryeol.lee2013-01-221-0/+7
| | | | | | | | | | | | | | | | | | To reduce power consumption after charging completion, enable suspend when LCD is turned off. Bug: 7429504 Change-Id: I34731dc392661c9051a20cea74f70d94a8aaeb42 Signed-off-by: Iliyan Malchev <malchev@google.com>
* | Merge branch 'jb-mr1-release' of ↵Steve Kondik2012-11-181-1/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/system/core into mr1 Conflicts: adb/Android.mk adb/usb_vendors.c include/private/android_filesystem_config.h include/system/audio.h include/system/camera.h init/property_service.c libnetutils/ifc_utils.c mkbootimg/mkbootimg.c rootdir/init.rc Change-Id: Ie42f0c14808e9f8cabd24854bfe15b6667955229
| * charger: allow devices to skip the initial display blankDima Zavin2012-10-121-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The theory behind the blank was that the kernel would not re-initilize the display on boot (and leave it to whatever the bootloader configured it to) until after the first blank request. On some devices, the bootloader does not turn the screen on, but it's done by the kernel and thus. This makes the extra blank at start unnecessary. Bug: 7319529 Change-Id: I9ad9856186df6e9e23ebbe86e83b641423e16dcb Signed-off-by: Dima Zavin <dima@android.com>
| * Link directly with libm due to libpng dependency.Stephen Hines2012-08-231-1/+1
| | | | | | | | Change-Id: I9a9b8c3db025b8391b6a0e96ca24ed9cda3ab9a2
* | charger: make default to not suspend in charge modeDavid Ferguson2012-09-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * http://r.cyanogenmod.com/#/c/19760 made the device suspend in charge mode when the animation was not displayed. Previously the device never suspended. * The above change broke charging mode on some (maybe many?) devices that do not properly handle suspending in charge mode. * This change brings back the more compatible default behavior of not suspending in charge mode and introduces a new BoardConfig.mk variable called BOARD_ALLOW_SUSPEND_IN_CHARGER that, when set to true, will suspend in charge mode. * This allows devices that support suspend in charger to opt-in instead of having to opt-out previously working devices. Change-Id: I5a480e34ba5946a52e371ac79a965ecee5471c5a
* | charger: allow custom charger rescodeworkx2012-07-101-0/+5
| | | | | | | | | | | | Example: BOARD_CHARGER_RES := device/samsung/galaxys2/res/charger Change-Id: I4cf359974475c06d219cb92c38efa2b8223ae367
* | charger: Add support for non-standard charging interfacesSteve Kondik2012-07-101-0/+4
|/ | | | | | | | * Certain devices may have multiple battery devices or broken uevent reporting when a power supply is disconnected. * Add a new BOARD_BATTERY_DEVICE_NAME to force which device to monitor. Change-Id: I3045bf17a4d962cc5f0e6a951472916412ac0d0d
* resolved conflicts for merge of 0052abda to masterDima Zavin2011-09-251-0/+26
|\ | | | | | | Change-Id: Ia33ac80949bebaafd1a012b7b131dc3960eca862
| * charger: update charger UI with official graphics and animationDima Zavin2011-09-251-0/+26
| | | | | | | | | | Change-Id: I1b36fa9e380797fe01812b57ac5d8c2c38857993 Signed-off-by: Dima Zavin <dima@android.com>
* | fix TINY_ANDROID build (exclude charger binary)Brian Swetland2011-09-201-0/+4
|/ | | | | Change-Id: I28157cbadcb208df517052336f652f5810048cc1 Signed-off-by: Brian Swetland <swetland@google.com>
* core: Add a standalone charger UI binaryDima Zavin2011-09-041-0/+20
This can be launched from an 'on charger' section in init, which is processed if androidboot.mode=charger is supplied on kernel command line. This is a standalone binary that has a simple "user interface" and allows the standard production kernel to run while charging. This removes the burden from the bootloader to get low-power mode working. Currently, the device will "power-on" (i.e. reboot) into normal mode if the power key is pressed for X seconds, and will also power down the device if the usb/ac cable is removed for Y seconds. Change-Id: I780594b99211cb09de7f8519a69c5962eb91348a Signed-off-by: Dima Zavin <dima@android.com>