init.gs101.rc: set dev_sn for battery pairing
Bug: 216583288 Signed-off-by: Jenny Ho <hsiufangho@google.com> Change-Id: I58a243b711025d0dd6f3980c84462d8f392841cc
This commit is contained in:
parent
10e96ef8d5
commit
31d519c4b4
1 changed files with 3 additions and 0 deletions
|
@ -765,6 +765,9 @@ on property:sys.boot_completed=1
|
|||
chown root system /sys/devices/platform/19000000.aoc/reset
|
||||
chmod 0220 /sys/devices/platform/19000000.aoc/reset
|
||||
|
||||
# write serialno to battery path for pairing
|
||||
write /sys/class/power_supply/battery/dev_sn ${ro.boot.serialno}
|
||||
|
||||
# Test Harness Mode default battery profile.
|
||||
on property:persist.sys.test_harness=1 && property:persist.vendor.testing_battery_profile=0
|
||||
setprop persist.vendor.charge.stop.level 70
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue