Device Thermal State Pro

Konstantin Saetskiy
1 min readSep 30, 2020

--

This is an easy-to-use asset, which allows you to check thermal state of Android/iOS devices.

Use it to get feedback about the thermal state of your mobile device and react appropriately. As an example, use the API provided to create applications that react to the thermal trend and events of the device. This ensures constant frame rates over a longer period of time while avoiding thermal throttling, even before throttling happens.

Asset Store: https://assetstore.unity.com/packages/slug/179925

It is a solution that includes two assets:
🤖 Device Thermal State (Android) + Android Studio Project
🍏 Device Thermal State (iOS)
Unity 2017–2020, Android 10/iOS 11 and newer supported.

✔️ Easy to implement, use and test

✔️ Detect device thermal state
Subscribe to event or invoke one line of code to get device thermal state

✔️ Allows to check if iOS Low Power Mode / Android Power Save Mode is enabled

✔️ Implements PowerManager API methods:
- getLocationPowerSaveMode
- getThermalHeadroom
- isDeviceIdleMode
- isIgnoringBatteryOptimizations
- isInteractive
- isPowerSaveMode

✔️ Objective-C and Java source code included
You can read and modify all source code

✔️ Well-documented project

✔️ Full C# source code, documentation and example scene included

✔️ Long Term Support
Be sure that you’ll get support for new unity versions and features

--

--

Konstantin Saetskiy

Hello! My name is Kostya and I have been working with Unity since 2012. I love playing and making games, also my passion is to create assets for unity.