mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
modules: power: Change Heartbeat delay for fast mitigation
Original heartbeat delay was 60s, which makes thermal mitigation while charging too slow. Changing it to 5s makes it notice battery temperature change and limit charging current and voltage much faster. Change-Id: Ib43dba3db18f3509afe1ab448d5f35c9bd33a16e Signed-off-by: Cesar Santos <cmsantos@motorola.com> Reviewed-on: https://gerrit.mot.com/1483570 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Ling Jin <lingjin@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
2f9acaba4b
commit
dad532f85a
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ enum {
|
|||
#define WEAK_CHARGER_WAIT 30000
|
||||
#define EVENT_WEAK_CHARGER_WAIT 0
|
||||
|
||||
#define HEARTBEAT_DELAY_MS 60000
|
||||
#define HEARTBEAT_DELAY_MS 5000
|
||||
#define HEARTBEAT_DUAL_DELAY_MS 10000
|
||||
#define HEARTBEAT_FACTORY_MS 1000
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue