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
This commit is contained in:
parent
07dda6b57c
commit
9b0d442385
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue