commit | 3d12e04df57cd5f30fcbcd55b289681b4f1b4649 | [log] [tgz] |
---|---|---|
author | bengris32 <bengris32@protonmail.ch> | Mon Dec 26 23:54:49 2022 +0000 |
committer | Matsvei Niaverau <matvej2002@gmail.com> | Mon Jan 02 23:37:32 2023 +0100 |
tree | 7adad3cd990707a959b14a07bc3909b863b72a88 | |
parent | ffc46791751ca59a33c301eb866224081d8b8bd4 [diff] |
power-mediatek: Set low power state upon initialisation of Power HAL Change-Id: Idddd14756e73b053905e184b11490d757492423a
diff --git a/aidl/power-mediatek/Power.cpp b/aidl/power-mediatek/Power.cpp index 9f0868f..41b35fe 100644 --- a/aidl/power-mediatek/Power.cpp +++ b/aidl/power-mediatek/Power.cpp
@@ -94,6 +94,7 @@ abort(); } + mLowPowerEnabled = 0; libpowerhal_Init(1); }