diff options
| author | Devin Kim <dojip.kim@lge.com> | 2014-09-19 18:53:45 -0700 |
|---|---|---|
| committer | Ruchi Kandoi <kandoiruchi@google.com> | 2014-09-23 17:09:28 -0700 |
| commit | 9b0d442385fa1376f5115f9c167c50aa0d275b47 (patch) | |
| tree | 93acaf2a8d7f7c51bc44af3e8915fbd106baca3a /healthd | |
| parent | 07dda6b57c6a476177b68ad42966f24cbbdb04c1 (diff) | |
| download | system_core-9b0d442385fa1376f5115f9c167c50aa0d275b47.zip system_core-9b0d442385fa1376f5115f9c167c50aa0d275b47.tar.gz system_core-9b0d442385fa1376f5115f9c167c50aa0d275b47.tar.bz2 | |
healthd: charger: Run animation even if capacity is 0
If charger is connected and battery capacity is 0, charging animation should
run. The device would be booted up even if capacity is 0 in off-mode charging.
At that time, it would take some time to be 1 from 0 for capacity if you
use USB charger.
Bug: 17606689
Change-Id: I37e0f1b6ab0ee1f6d833882e169bf3ea06cf2399
Diffstat (limited to 'healthd')
| -rw-r--r-- | healthd/healthd_mode_charger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/healthd/healthd_mode_charger.cpp b/healthd/healthd_mode_charger.cpp index 345f354..394feb8 100644 --- a/healthd/healthd_mode_charger.cpp +++ b/healthd/healthd_mode_charger.cpp @@ -68,7 +68,7 @@ char *locale; #define UNPLUGGED_SHUTDOWN_TIME (10 * MSEC_PER_SEC) #define BATTERY_FULL_THRESH 95 -#define SCREEN_ON_BATTERY_THRESH 1 +#define SCREEN_ON_BATTERY_THRESH 0 #define LAST_KMSG_PATH "/proc/last_kmsg" #define LAST_KMSG_PSTORE_PATH "/sys/fs/pstore/console-ramoops" |
