diff options
author | Joe Onorato <joeo@google.com> | 2011-04-06 13:58:11 -0700 |
---|---|---|
committer | Joe Onorato <joeo@google.com> | 2011-04-06 13:58:11 -0700 |
commit | f4a9e7d97ee68fe74d6cae06f49b51730428941f (patch) | |
tree | 04c6a954913649a897a547f7c0e208e8cc0290f2 /packages/SystemUI/src/com/android/systemui/power | |
parent | 85b65f2008e7eb8ef492a63cba80555f58915769 (diff) | |
download | frameworks_base-f4a9e7d97ee68fe74d6cae06f49b51730428941f.zip frameworks_base-f4a9e7d97ee68fe74d6cae06f49b51730428941f.tar.gz frameworks_base-f4a9e7d97ee68fe74d6cae06f49b51730428941f.tar.bz2 |
more targeted logging
Change-Id: Id440a0f20ae360cd6863aa198d82b5ff2dd2f3b7
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/power')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/power/PowerUI.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/power/PowerUI.java b/packages/SystemUI/src/com/android/systemui/power/PowerUI.java index 3401441..a549f51 100644 --- a/packages/SystemUI/src/com/android/systemui/power/PowerUI.java +++ b/packages/SystemUI/src/com/android/systemui/power/PowerUI.java @@ -139,7 +139,6 @@ public class PowerUI extends SystemUI { showInvalidChargerDialog(); return; } else if (oldInvalidCharger != 0 && mInvalidCharger == 0) { - Slog.d(TAG, "closing invalid charger warning"); dismissInvalidChargerDialog(); } else if (mInvalidChargerDialog != null) { // if invalid charger is showing, don't show low battery @@ -150,10 +149,9 @@ public class PowerUI extends SystemUI { && (bucket < oldBucket || oldPlugged) && mBatteryStatus != BatteryManager.BATTERY_STATUS_UNKNOWN && bucket < 0) { - Slog.d(TAG, "showing low battery warning: level=" + mBatteryLevel); + Slog.i(TAG, "showing low battery warning: level=" + mBatteryLevel); showLowBatteryWarning(); } else if (plugged || (bucket > oldBucket && bucket > 0)) { - Slog.d(TAG, "closing low battery warning: level=" + mBatteryLevel); dismissLowBatteryWarning(); } else if (mBatteryLevelTextView != null) { showLowBatteryWarning(); @@ -166,6 +164,7 @@ public class PowerUI extends SystemUI { void dismissLowBatteryWarning() { if (mLowBatteryDialog != null) { + Slog.i(TAG, "closing low battery warning: level=" + mBatteryLevel); mLowBatteryDialog.dismiss(); } } @@ -237,6 +236,7 @@ public class PowerUI extends SystemUI { void dismissInvalidChargerDialog() { if (mInvalidChargerDialog != null) { + Slog.d(TAG, "closing invalid charger warning"); mInvalidChargerDialog.dismiss(); } } |