diff --git a/parts/AndroidManifest.xml b/parts/AndroidManifest.xml
index dfe1066..3dc43ff 100644
--- a/parts/AndroidManifest.xml
+++ b/parts/AndroidManifest.xml
@@ -108,5 +108,16 @@
android:permission="RefreshService">
+
+
+
+
+
diff --git a/parts/res/drawable/ic_thermal.xml b/parts/res/drawable/ic_thermal.xml
new file mode 100644
index 0000000..a1255ac
--- /dev/null
+++ b/parts/res/drawable/ic_thermal.xml
@@ -0,0 +1,10 @@
+
+
+
diff --git a/parts/src/org/lineageos/settings/thermal/ThermalTileService.java b/parts/src/org/lineageos/settings/thermal/ThermalTileService.java
new file mode 100644
index 0000000..f683915
--- /dev/null
+++ b/parts/src/org/lineageos/settings/thermal/ThermalTileService.java
@@ -0,0 +1,59 @@
+/*
+* Copyright (C) 2018 The OmniROM Project
+*
+* This program is free software: you can redistribute it and/or modify
+* it under the terms of the GNU General Public License as published by
+* the Free Software Foundation, either version 2 of the License, or
+* (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program. If not, see .
+*
+*/
+
+package org.lineageos.settings.thermal;
+
+import android.annotation.TargetApi;
+import android.content.Intent;
+import android.service.quicksettings.TileService;
+
+@TargetApi(24)
+public class ThermalTileService extends TileService {
+ @Override
+ public void onDestroy() {
+ super.onDestroy();
+ }
+
+ @Override
+ public void onTileAdded() {
+ super.onTileAdded();
+ }
+
+ @Override
+ public void onTileRemoved() {
+ super.onTileRemoved();
+ }
+
+ @Override
+ public void onStartListening() {
+ super.onStartListening();
+ }
+
+ @Override
+ public void onStopListening() {
+ super.onStopListening();
+ }
+
+ @Override
+ public void onClick() {
+ super.onClick();
+ Intent ThermalProfiles = new Intent(this, ThermalActivity.class);
+ ThermalProfiles.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
+ startActivityAndCollapse(ThermalProfiles);
+ }
+}