Ken Tsou 4c821c04fc battery: disable wireless for pts battery test
Disable wireless charging during drain, usb charging,
and charger stress test
  - vendor.disable.wlc 1
If device is placed onto dreamliner and shutdwon(drain out),
it would boot up by DC_CHG and keep shutdown(0%)-boot up
(by DC_CHG) continuously. To avoid this symptom, limit wireless
current_max as 75000 after device 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: 230436380
Test: set the property manually and query the result from file node.
Change-Id: I5bcf9baeb2818b439520167b518b2e5c5224d7e2
Signed-off-by: Ken Tsou <kentsou@google.com>
(synced from commit 27b511c30292214dbb07f3009cbca8dee941f7f2)
2022-09-02 07:15:47 +00:00
2022-08-25 10:27:57 +00:00
2022-06-01 06:19:26 +00:00
2021-10-29 16:55:09 +08:00
2022-02-15 09:12:12 -08:00
2021-10-29 16:55:09 +08:00
2021-10-29 16:55:09 +08:00
2021-10-29 16:55:09 +08:00
2021-10-29 16:55:09 +08:00
2021-10-29 16:55:09 +08:00
2022-09-02 04:59:41 +00:00
Description
No description provided
5.9 MiB
Languages
JetBrains MPS 43.4%
PureBasic 40.9%
Makefile 12.7%
C++ 1.5%
Python 1.2%
Other 0.3%