Files
MuditaOS/module-bsp/board/linux/lpm/PowerProfile.cpp
Wojtek Rzepecki 6e69eb6aa6 [BH-990] Adjist CPU frequency chages
Adjusted Bell frequency low-power mode changes
2021-10-15 13:22:43 +02:00

23 lines
822 B
C++

// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#include <bsp/lpm/PowerProfile.hpp>
namespace bsp
{
const PowerProfile getPowerProfile()
{
PowerProfile linuxPowerProfile;
linuxPowerProfile.frequencyShiftLowerThreshold = 40;
linuxPowerProfile.frequencyShiftUpperThreshold = 60;
linuxPowerProfile.maxBelowThresholdCount = 30;
linuxPowerProfile.maxBelowThresholdInRowCount = 10;
linuxPowerProfile.maxAboveThresholdCount = 3;
linuxPowerProfile.minimalFrequency = CpuFrequencyHz::Level_1;
linuxPowerProfile.frequencyIncreaseIntermediateStep = false;
return linuxPowerProfile;
}
} // namespace bsp