taimen: Add property of demo_mode for lge_battery

Bug: 37263971
Bug: 38486620
Change-Id: I2c8617c56799d752c8ca18ea8ccc6d0a3eab0620
Signed-off-by: sodam89.kim <sodam89.kim@lge.com>
Signed-off-by: eunsoo.na <eunsoo.na@lge.com>
This commit is contained in:
eunsoo.na
2017-06-12 22:16:45 +09:00
committed by Yueyao Zhu
parent f59d573421
commit dcbb8b232c

View File

@@ -39,3 +39,6 @@ on property:init.svc.fps_hal=running && property:ro.boot.revision=rev_0
on property:sys.all.modules.ready=1
# Update touch firmware if required
write /sys/devices/virtual/input/ftm4_touch/check_fw 1
on property:sys.retaildemo.enabled=* && property:sys.all.modules.ready=1
write /sys/module/lge_battery/parameters/demo_mode ${sys.retaildemo.enabled}