by Matthew Beke
When your battery temp reaches 40°C/120°F it will enter Airplane mode then delay for 10minutes then check again and if still over 40°C then will shutdown
Requires Superuser and Settings Permissions
A simple example that use the Broadcast receive block to get the battery temperature, showing it in a notification.
The BATTERY_CHANGED broadcasts are sticky. The first receive block will proceed immediately since it has "use initial sticky" enabled, the second block will pause until the next broadcast.
Rate and review within the app in the Community section.