Age | Commit message (Collapse) | Author |
|
Bug: 315052795
Bug: 357697495
Test: atest libbattery_test; atest FrameworksCoreTests
Flag: EXEMPT bugfix
Change-Id: I3c09c438131b3f67ef04436667e589d1d86aff71
|
|
Bug: 323970018
Test: atest libbattery_test
Change-Id: I68584a3d38b68db27180efa225db207de0f6fd7b
|
|
Bug: 191921016
Test: atest libbattery
Change-Id: Ia10999854eef99d47b7968d23881a39d9976be24
|
|
The absence of this reset led to timeInStateSinceUpdate exceeding
total timeSinceUpdate. This resulted in inflated counts,
which are smeared using the `delta * timeInState / timeSinceUpdate` formula.
So, instead of assigning a portion of the time to a specific state
it would assign a multiple of the time to it.
Bug: 204087731
Test: atest libbattery_test
Change-Id: I7805d5c6aa314f4030c8a1ac9541f2d439a471cb
|
|
Bug: 197162116
Test: atest libbattery_test
Change-Id: I790ed0b805a88aa6ee9659f8494af8edf693d931
|
|
Bug: 197162116
Test: atest libbattery_test
Change-Id: I14006af5e6a3e16d7849beb6def53de77b15b7bc
|
|
Bug: 197162116
Test: atest libbattery_test
Change-Id: I4278206eab049d714c5278e6b10ba3155e17142f
|
|
This native object is used to track values per-state. For example,
if the state changes from 0 to 1 between two updateValue calls,
the delta between the values is distributed to the states 0 and 1
in accordance with the time spent in those states.
Bug: 197162116
Test: atest libbattery_test
Change-Id: Ie304db5c93f4aa9676d12d0a8ab53b6867b24fff
|