summaryrefslogtreecommitdiff
path: root/libs/ui/InputReader.cpp
diff options
context:
space:
mode:
author Dianne Hackborn <hackbod@google.com> 2010-06-14 17:17:44 -0700
committer Dianne Hackborn <hackbod@google.com> 2010-06-16 18:31:42 -0700
commit6b7b4845212b3a439c527f2e1eca205b6b45fceb (patch)
tree1ba505965236caa85362b440aa852f5b8aae0df5 /libs/ui/InputReader.cpp
parentc95812e6cacaa14748c81323bac6561453991a24 (diff)
Various improvements to battery stats collection
We now clear the battery stats when unplugging after the battery is full. This allows us to use the "total" stats as a new "since last charged" stat. Total is gone. I never used it, it was worthless. Since last charged is a lot more interesting. The battery history now collects a lot more stats, and keeps control over how much it can collect. Printing is now more descriptive. The kinds of stats have been renamed to SINCE_UNPLUGGED and SINCE_DISCHARGED. The other two stats are still there, but no longer printed; a future change will eliminate them completely along with all of their state. Change-Id: I4e9fcfcf8c30510092c76a8594f6021e9502fbc1
Diffstat (limited to 'libs/ui/InputReader.cpp')
0 files changed, 0 insertions, 0 deletions