Commit graph

8 commits

Author SHA1 Message Date
Ying Wang
083b5ccba3 Add liblog
Bug: 8580410
Change-Id: Iab3a9b4307f207c14a04a922cc7350c54e60e9ad
2013-04-09 22:03:45 -07:00
choongryeol.lee
9255713bcf charger: suspend enable in charger mode
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>
2012-12-06 15:48:52 -08:00
Dima Zavin
209c7b0fad charger: allow devices to skip the initial display blank
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>
2012-10-12 15:13:52 -07:00
Stephen Hines
c60e6e7e58 Link directly with libm due to libpng dependency.
Change-Id: I9a9b8c3db025b8391b6a0e96ca24ed9cda3ab9a2
2012-08-23 15:17:09 -07:00
Dima Zavin
dcecd4cc77 resolved conflicts for merge of 0052abda to master
Change-Id: Ia33ac80949bebaafd1a012b7b131dc3960eca862
2011-09-25 22:27:13 -07:00
Dima Zavin
0052abdafd charger: update charger UI with official graphics and animation
Change-Id: I1b36fa9e380797fe01812b57ac5d8c2c38857993
Signed-off-by: Dima Zavin <dima@android.com>
2011-09-25 21:20:55 -07:00
Brian Swetland
303e6ac804 fix TINY_ANDROID build (exclude charger binary)
Change-Id: I28157cbadcb208df517052336f652f5810048cc1
Signed-off-by: Brian Swetland <swetland@google.com>
2011-09-20 17:38:06 -07:00
Dima Zavin
f48b23688c core: Add a standalone charger UI binary
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>
2011-09-04 15:41:36 -07:00