diff options
author | Ying Wai (Daniel) Fan <danfan@google.com> | 2017-01-18 15:50:19 -0800 |
---|---|---|
committer | Ying Wai (Daniel) Fan <danfan@google.com> | 2017-01-20 13:29:01 -0800 |
commit | 9238b6124c72a216ccbbaa82f5f75828571d5841 (patch) | |
tree | 834aa8c291c520c45e76e159683c442a4061a994 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5256e0556b9d7c74efe9aeb0a06cb30a0e89a946 (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions