Mao Li
728ee0b565
liblight: turn off the LED when fail to set it blink
...
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
2014-07-04 00:53:50 -07:00
Mao Li
a4e053a44f
liblight: add support for battery light
...
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
2014-06-22 20:29:10 -07:00
Manoj Kumar AVM
001b30942d
hqd: Fix Klocwork errors in liblight
...
1. Fix null pointer de-reference klocwork error in liblight.
2. sprintf is part of ScanBan function. Replace sprintf with
snprintf.
Change-Id: I0b88967a2bdf4adf563753c09df88d2c6a432045
2014-05-07 19:08:50 -07:00
Dileep Kumar Reddi
bf333c775d
hqd : Use proper type casts
...
* Remove compilation errors
* Use proper type casts
Change-Id: I1d44c2a2362a1fdd4d6e412ea816d4078e8355c9
:
2014-02-28 02:09:00 -08:00
Arun Kumar K.R
0efad603dc
liblights: fix compiler warnings
...
- Use unused variable dev in the module
- remove unused local variables
Change-Id: Icb0cc033023640fd785abce9d00b467978500396
2014-01-31 11:40:02 -08:00
HuiWang
f73bc576b8
BackLight: Add support for button backlight.
...
Add function call to let framework layer could enable/disable the
button backlight.
Change-Id: I470ebb8953c5d3fdb72118dbaf06788c2079213e
2013-08-18 19:20:51 -07:00
Ameya Thakur
192c8ac6ca
liblight: Add path to blink nodes for green/blue LED's.
...
Liblight can now set the green/blue LED's to blink mode.
Change-Id: I6206ed4397cf91859074b35b2faa9f287b3c4f9d
2013-08-12 18:54:23 -07:00
Yulian Shandorov
784d7396b9
liblight: Correct blink node according to new kernel changes
...
- Correct blink node path
- Remove old, unused nodes
Change-Id: Ifc565839e34013bd6c71fe14ef48f120b4ab4ffc
2013-06-20 04:28:59 -07:00
Mathew Karimpanal
dec98cc96e
display: Standardize log-tags for qcom display logs.
...
Change-Id: I75bc2d8db8d64994097d6b744f357c29c9a5717a
2012-12-12 17:49:17 -08:00
Sungmin Choi
5c5ca0ca17
disable led while charging
...
Fixes b/6970382
Change-Id: Idb823059424a0fa1f6382dc01d56c6c4f668c45c
2012-08-17 14:17:18 -07:00
samin.ryu
d57c7d55c9
led: add blink feature and remove specific values
...
Change-Id: I3a9ea70f972c2a12d584e557294ef8c47f7a3f12
2012-08-17 14:11:40 -07:00
Sungmin Choi
b514889338
add light hal module
...
- initial version
- control lcd backlight
- control red, green, blue
Change-Id: Ibd24dcee3a739111f9eb6a7717b76754875da36e
2012-07-02 16:57:10 -07:00