Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e8628e9 authored by Fenglin Wu's avatar Fenglin Wu Committed by Steve Kondik
Browse files

healthd: charger: Modify charger unplug shutdown time to 1s

Modify UNPLUGGED_SHUTDOWN_TIME from 10 seconds to 1 second to make sure
device can shutdown quickly after charger is plugged out.

Change-Id: I73f149295ca73756a210e7cb3dd61f955aa18165
parent 6f2c414d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ char *locale;

#define BATTERY_UNKNOWN_TIME    (2 * MSEC_PER_SEC)
#define POWER_ON_KEY_TIME       (2 * MSEC_PER_SEC)
#define UNPLUGGED_SHUTDOWN_TIME (10 * MSEC_PER_SEC)
#define UNPLUGGED_SHUTDOWN_TIME (1 * MSEC_PER_SEC)

#define BATTERY_FULL_THRESH     95
#define SCREEN_ON_BATTERY_THRESH 0