ambient: rework IsChargerConnected
Handle case of device without battery. Handle case of battery not full, not charging, but connected to power. BUG=b:171979755 Cq-Include-Trybots: luci.chrome.try:linux-chromeos-chrome Change-Id: I0dda61d03e361bcc1a21d5ad9ef33a954debf7e8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2500324 Commit-Queue: Jeffrey Young <cowmoo@chromium.org> Reviewed-by:Xiaohui Chen <xiaohuic@chromium.org> Reviewed-by:
Tao Wu <wutao@chromium.org> Cr-Commit-Position: refs/heads/master@{#822280}
Showing
Please register or sign in to comment