Files
MuditaOS/module-bsp/board/linux/lpm/PowerProfile.cpp
Lefucjusz 773f2c7eb1 [BH-2069] Update license URL in headers
Update outdated license file URL in
license headers across all project.
2024-09-18 11:53:01 +02:00

22 lines
736 B
C++

// Copyright (c) 2017-2024, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/blob/master/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 = CpuFrequencyMHz::Level_1;
return linuxPowerProfile;
}
} // namespace bsp