Page 1 of 1

Battery Temperature

Posted: 31 Aug 2019 01:45
by Akt
How to get battery temperature in global variable?

Re: Battery Temperature

Posted: 31 Aug 2019 04:41
by Rafi4
Hi akt
It's very simple
before use battery based triggers to get temperature.

global_battery_temp=battery_temperature

From record

Re: Battery Temperature

Posted: 31 Aug 2019 13:26
by Akt
I want to always show current battery temperature in widget.
Please help.

http://automagic4android.com/flow.php?i ... c2bc3ca9ec

Re: Battery Temperature

Posted: 31 Aug 2019 15:14
by Rafi4
Hi
Trigger =battery level higher than 0%
Action =script (use function "setWidgetElementProperty")
Condition =keyguard locked false
Action = launch app (select which you want)

Also read this here you can get more info about Widgets.
How to set widgets.

https://automagic4android.com/creating_ ... et_en.html

Re: Battery Temperature

Posted: 03 Sep 2019 08:10
by Akt
Hi,
I don't want to launch any app on widget click.
I want to show current battery temperature in widget.

Re: Battery Temperature

Posted: 03 Sep 2019 09:20
by Rafi4
Hi akt
This attachment contains one flow and one widget. And also read this you will get information how to do magic with widgets.


https://automagic4android.com/creating_ ... et_en.html

From record4