From 1e8d4bb7c2b042b1781c73f81de2af296f5b1f95 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Mon, 8 Dec 2014 10:16:47 +0100 Subject: [PATCH] set cpufreq similar to wakeupFromStandby/standbyToStandby --- src/neutrino.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 3d8e1fa48..bb054b9c8 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -3514,8 +3514,9 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby ) puts("[neutrino.cpp] executing " NEUTRINO_ENTER_STANDBY_SCRIPT "."); if (my_system(NEUTRINO_ENTER_STANDBY_SCRIPT) != 0) perror(NEUTRINO_ENTER_STANDBY_SCRIPT " failed"); - - if(!CRecordManager::getInstance()->RecordingStatus()) + bool alive = recordingstatus || CEpgScan::getInstance()->Running() || + CStreamManager::getInstance()->StreamStatus(); + if(!alive) cpuFreq->SetCpuFreq(g_settings.standby_cpufreq * 1000 * 1000); //fan speed