scripts: pmqos: Add new Doze mode 14/240514/3 accepted/tizen/unified/20200810.123011 submit/tizen/20200810.073747
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 7 Aug 2020 04:08:23 +0000 (13:08 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 10 Aug 2020 04:21:34 +0000 (13:21 +0900)
Add new Doze scenario which handles h/w resources like CPU frequency
when right after LCD off and before entering the suspend-to-RAM
for reducing the idle power-consumption.

[How to hanel 'Doze' mode]
- Enable 'Doze' mode
dbus-send --system --type=method_call --print-reply --reply-timeout=5000 \
--dest=org.tizen.system.pass /Org/Tizen/System/Pass/Pmqos \
org.tizen.system.pass.pmqos.SetScenario \
string:Doze int32:1;

- Disable 'Doze' mode
dbus-send --system --type=method_call --print-reply --reply-timeout=5000 \
--dest=org.tizen.system.pass /Org/Tizen/System/Pass/Pmqos \
org.tizen.system.pass.pmqos.SetScenario \
string:Doze int32:0;

Change-Id: I536acbb36f663e4ad0ffa474f0a0981351428f0e
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
scripts/pass-pmqos.conf

index be9a4ef..c616e62 100644 (file)
@@ -2,7 +2,7 @@
 # set to "yes" scenario_support (Default value is no)
 # set scenario_num to be tested
 scenario_support=yes
-scenario_num=2
+scenario_num=3
 
 # describe the scenario section as follows
 #[Scenario0]
@@ -19,3 +19,7 @@ support=yes
 [Scenario1]
 name=UltraPowerSaving
 support=yes
+
+[Scenario2]
+name=Doze
+support=yes