PM/Sleep: Start killing wakelocks after two minutes of idle (120s)
Signed-off-by: Tyler Nijmeh <tylernij@gmail.com> Signed-off-by: ThunderStorms21th nalas <pinakastorm@gmail.com>
This commit is contained in:
parent
25da1fb9b2
commit
f40f9398a3
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ static inline void decrement_wakelocks_number(void) {}
|
|||
|
||||
#ifdef CONFIG_PM_WAKELOCKS_GC
|
||||
#define WL_GC_COUNT_MAX 100
|
||||
#define WL_GC_TIME_SEC 300
|
||||
#define WL_GC_TIME_SEC 120 /* default : 300s */
|
||||
|
||||
static void __wakelocks_gc(struct work_struct *work);
|
||||
static LIST_HEAD(wakelocks_lru_list);
|
||||
|
|
Loading…
Reference in a new issue