0

At high temperature:

But I want to do many things like:

  • Turn off data when temperature is above 40.
  • Turn on it when battery temperature drops to 30, only if it was turned off due to temperature (other wise do nothing ) and the data plan is not expired.

Question

I would like to achieve aforementioned tasks using Automate (Tasker like app supports tasker plugins).

Is there any app that monitors battery temperature and runs an app shortcut (and thus a Tasker/Automate task)? (What about launching an app, creating a file?)

In other words, I need an alternative for Tasker plugin(paid) Battery Temperature Detection.

Note:

My phone doesn't support CPU temperature, and neither Tasker nor Automate supports battery temperature.

OS: ICS , Non Rooted.

2
  • Is your phone rooted, or can you afford to root your phone? I might suggest a solution but possibly could require root access. Which Android version are you running and what is the device name?
    – Firelord
    May 26, 2015 at 13:03
  • Thaks for the resppnse. Non rooted. I found a method using shell commands and parsing the output. Unfortunately it does't work on non root devices.
    – totti
    May 26, 2015 at 14:22

1 Answer 1

1

Use the "Broadcast receive" block with "Battery changed" action, the broadcast "extras" will include a "temperature" entry: http://developer.android.com/reference/android/os/BatteryManager.html#EXTRA_TEMPERATURE

Here's an example flow for getting the battery temperature: http://llamalab.com/automate/community/flows/655

2
  • promising but example flo is not compatable in my version. Trying with the corrent ver, but not much info about app broadcast.
    – totti
    May 26, 2015 at 14:40
  • Unfortunately flow freeze aTbroadcast module . even change in battery level make any flow.
    – totti
    May 26, 2015 at 15:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .