Thermal Monitor is able to define the multiple scenario indicating
the thermal status. Thermal Monitor uses the defined scenarios
when reporting the current system status according to raw temperature.
pass-thermal.conf contains the supported scenarios of Themral Monitor.
It will be located in "/etc/pass/pass-thermal.conf"
Change-Id: I98e4a109b47f1a4d398dfbf1cc4cdb08efa596e7
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/scripts/${PROJECT_NAME}.conf DESTINATION /etc/dbus-1/system.d)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/scripts/pass-pmqos.conf DESTINATION /etc/pass)
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/scripts/pass-thermal.conf DESTINATION /etc/pass)
CONFIGURE_FILE(${PROJECT_NAME}.pc.in ${PROJECT_NAME}.pc @ONLY)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
%license LICENSE
%config %{_sysconfdir}/dbus-1/system.d/%{daemon_name}.conf
%config %{_sysconfdir}/pass/pass-pmqos.conf
+%config %{_sysconfdir}/pass/pass-thermal.conf
%{_bindir}/%{daemon_name}
%{_unitdir}/multi-user.target.wants/%{daemon_name}.service
%{_unitdir}/%{daemon_name}.service
--- /dev/null
+[thermal]
+# set to "yes" thermal_support (Default value is no)
+# set thermal_number_of_scenario to be tested
+thermal_support=yes
+thermal_number_of_scenario=4
+
+# describe the scenario section as follows
+#[Scenario0]
+#name=ReleaseAction
+#support=yes
+[thermal.scenario0]
+name=ReleaseAction
+support=yes
+
+[thermal.scenario1]
+name=WarningAction
+support=yes
+
+[thermal.scenario2]
+name=LimitAction
+support=yes
+
+[thermal.scenario3]
+name=ShutdownAction
+support=yes