OSDN Git Service

Battery: report calculated power, tweak signal strength colors.
authorDianne Hackborn <hackbod@google.com>
Wed, 22 Jan 2014 22:18:39 +0000 (14:18 -0800)
committerDianne Hackborn <hackbod@google.com>
Wed, 22 Jan 2014 22:18:39 +0000 (14:18 -0800)
commit18083b1eb770a2a6d543cfa4abb17ae2c121d836
tree9aaab61f137ababd7210dd3cd643321251914190
parente179bb01330cc409c6a8044270c743bb30d4c6f9
Battery: report calculated power, tweak signal strength colors.

BatteryHistoryHelper now computes the total power to be the total
including the unaccounted, so we don't go > 100%.  However for the
unaccounted/over-counted details, we want to report the actual
computed amount.  Use a new API to do this.

Also tweak the signal strength colors so that the "no signal" state
is stronger, by being reddish instead of bright yellow.

Change-Id: I6af9fbcce8c3324883db0184f7ac215cb41b6230
src/com/android/settings/fuelgauge/BatteryHistoryChart.java
src/com/android/settings/fuelgauge/PowerUsageDetail.java