summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorYing Wai (Daniel) Fan <danfan@google.com>2017-01-18 15:50:19 -0800
committerAaron Whyte <awhyte@google.com>2017-01-30 19:24:43 +0000
commitc800ddc824256cea4142ac2530b0489e4f816201 (patch)
tree8fe1c357e23b0bbf4b5e9dc154956d22db81b7fe /tools/aapt2/diff/Diff.cpp
parent7b89a7b1f7c208eaac19290b34c5f505a9fd5eba (diff)
Correct the formula of battery capacity estimation.
Instead of (current charge) * (current battery level percentage) the formula should be (current charge) / (current battery level percentage) to estimate the charge at 100% battery level. Bug: 34255953 Fixes: 34255953 Test: formula change CL. No existing unit tests found. Change-Id: I56ef7af3fb097a3082e0ef24329f522d2a0229cc (cherry picked from commit 9238b6124c72a216ccbbaa82f5f75828571d5841)
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions