am b84291bb: Merge "Support showing "Cold" battery health."

Merge commit 'b84291bbecb1ab8141cf8f56fd3d1523e5c707a6' into gingerbread-plus-aosp

* commit 'b84291bbecb1ab8141cf8f56fd3d1523e5c707a6':
  Support showing "Cold" battery health.
This commit is contained in:
Jean-Baptiste Queru
2010-10-10 17:50:41 -07:00
committed by Android Git Automerger
2 changed files with 4 additions and 0 deletions

View File

@@ -142,6 +142,8 @@ public class BatteryInfo extends Activity {
healthString = getString(R.string.battery_info_health_over_voltage);
} else if (health == BatteryManager.BATTERY_HEALTH_UNSPECIFIED_FAILURE) {
healthString = getString(R.string.battery_info_health_unspecified_failure);
} else if (health == BatteryManager.BATTERY_HEALTH_COLD) {
healthString = getString(R.string.battery_info_health_cold);
} else {
healthString = getString(R.string.battery_info_health_unknown);
}