Add support for the new brightness node under
/sys/class/backlight/panel0-backlight/brightness
Change-Id: I6489c6e3796b3f455b1aef3caae84da307e554e4
CRs-fixed: 1114808
Add brightness level extension API to set backlight
through display API. The feature is enabled by property.
Change-Id: Ia6911433705cc946ed73ffc820396c350e3c8b88
Add support for multiple blinking mode for charger LED based on
On and Off time.
CRs-Fixed: 836728
Change-Id: I584de90c3b63c660c8a43cde87b16f9637a1838c
For those platforms which do not support blink, solid RED
LED keeps on after unplugging USB with capacity < 15.
Turn off the LED when fail to set it blink, so as to fix
this limitation.
Change-Id: I70ac9f6d645579a71caae852e6afbd9fb176c84b
Add contolling interface for battery light, battery service from
Android could control the led and show the status of battery.
CRs-fixed: 683915
Change-Id: I6b112621ba1161a374055f9baab95cf766e5d7e4
1. Fix null pointer de-reference klocwork error in liblight.
2. sprintf is part of ScanBan function. Replace sprintf with
snprintf.
Change-Id: I0b88967a2bdf4adf563753c09df88d2c6a432045