Disable wireless charging during drain, usb charging,
and charger stress test
- vendor.disable.wlc 1
If a device was put on dreamliner and shut dwon(drain out),
it powered up by DC_CHG and then shut down(0%) again - boot
(by DC_CHG) continuously. To avoid this symptom, limit wireless
current_max as 75000 after devices boot up
- persist.vendor.limit.wlc.current=1
How to verify:
adb shell setprop vendor.disable.wlc 1
adb shell cat /sys/class/power_supply/wireless/online >>>> 0
adb shell setprop persist.vendor.limit.wlc.current 1
adb shell cat /sys/class/power_supply/dc/current_max >>>> 75000
Bug: 179094447
Test: set the property manually and query the result from file node.
Change-Id: Ic5791c53f735caa19c73bae750651d774c0d4615
Signed-off-by: Ken Tsou <kentsou@google.com>
(synced from commit 84d73dafb7e44bd195adcc4cbb16bad28728aedc)