[roll] Roll fuchsia [battery] Handle drain while on charger

The previous logic can cause zig zag level in special conditions:

1. In splicing state, the status is neither charging nor discharging,
   the level would jump.
2. Then the next level would result in a jump back to 100%.

The conditions are changed to smooth the transition.

Original-Bug: b/467782474
Test: fx test battery-manager-tests
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1446912
Original-Revision: d12b72332a94feff0cccabd60ac61b2e399d6f5b
GitOrigin-RevId: fcc218cab2ebe967ab033ec47b249f2d7ccd8ec1
Change-Id: Ib4a94dc27167796acd7b1a8114d9e8c8d178fc39
1 file changed
tree: 5616c029f81afff28ed0a8a29aa45b9155db8da4
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. flower
  6. jiri.lock
  7. MILESTONE
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.