summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/core/java/com/android/server/BatteryService.java10
1 files changed, 2 insertions, 8 deletions
diff --git a/services/core/java/com/android/server/BatteryService.java b/services/core/java/com/android/server/BatteryService.java
index 839ba6e..fa48d6c 100644
--- a/services/core/java/com/android/server/BatteryService.java
+++ b/services/core/java/com/android/server/BatteryService.java
@@ -1123,14 +1123,8 @@ public final class BatteryService extends SystemService {
// Battery is full or charging and nearly full
mBatteryLight.setColor(mBatteryFullARGB);
} else {
- if (isHvdcpPresent()) {
- // Blinking orange if HVDCP charger
- mBatteryLight.setFlashing(mBatteryMediumARGB, Light.LIGHT_FLASH_TIMED,
- mBatteryLedOn, mBatteryLedOn);
- } else {
- // Battery is charging and halfway full
- mBatteryLight.setColor(mBatteryMediumARGB);
- }
+ // Battery is charging and halfway full
+ mBatteryLight.setColor(mBatteryMediumARGB);
}
} else {
// No lights if not charging and not low