Volodymyr Zhdanov
4db1147a64
kunlun2: power-libperfmgr: move dt2w mode on top of setMode switch
...
* fixed dt2w after reboot
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 19:36:00 +01:00
Volodymyr Zhdanov
7fd6e62ecd
kunlun2: power-libperfmgr: enable DOUBLE_TAP_TO_WAKE mode explicitly
...
* libperfmgr expects mode to be declared in powerhint but dt2w is handled in powerhal
* so let's just force enable it like google did with LOW_POWER
* also use break instead of fallthrough because there's no need to play with hints
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 19:34:49 +01:00
SamarV-121
0b9dcc21d6
kunlun2: power-libperfmgr: Enable dt2w
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 18:09:57 +01:00
Jesse Chan
a485a2c7c8
kunlun2: power-libperfmgr: Remove Google-specific display LPM control
...
Change-Id: If58f38b99bf6fbd73f6b6ab2144293c63e18b600
Signed-off-by: Jesse Chan <jc@lineageos.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 17:52:21 +01:00
SamarV-121
30666f3913
kunlun2: Import Pixel power AIDL HAL
...
Nuke Powerstats
2021-01-01 17:52:11 +01:00