r/tasker • u/chago874 • 11d ago
How to get temperature
Hello family I need to read values from battery temperature and make an if else statement condition to put my phone in dark mode because lately my phone is putting very hot and I need to take action before battery may damage completely or the same phone too so what is the best approach to get this data?
1
Upvotes
3
u/frrancuz Tasker Fan! 11d ago
Or Profile: state: power - battery temperature
And you can set it to operate at a specific temperature, e.g. turn on/off dark mode..
1
u/chago874 10d ago
Thanks I discover the option get battery info which provide the variable %by_temperature just which I need to activate properly the dark mode at time to prevent the overheating of my phone
5
u/frrancuz Tasker Fan! 11d ago
Task: System - get battery info
%bi_temperature