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

Commit 5d8b02d1 authored by Matt Buckley's avatar Matt Buckley Committed by Automerger Merge Worker
Browse files

Disable ADPF CPU hint session rate limiter am: 168609b5

parents aee5cdd5 168609b5
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -640,9 +640,8 @@ AidlPowerHalWrapper::AidlPowerHalWrapper(sp<IPower> powerHal) : mPowerHal(std::m

    mSupportsPowerHint = checkPowerHintSessionSupported();

    mAllowedActualDeviation =
            base::GetIntProperty<nsecs_t>("debug.sf.allowed_actual_deviation",
                                          std::chrono::nanoseconds(250us).count());
    // Currently set to 0 to disable rate limiter by default
    mAllowedActualDeviation = base::GetIntProperty<nsecs_t>("debug.sf.allowed_actual_deviation", 0);
}

AidlPowerHalWrapper::~AidlPowerHalWrapper() {