Battery Temperature

Post your questions and help other users.

Moderator: Martin

Post Reply
Akt
Posts: 133
Joined: 25 May 2014 08:57

Battery Temperature

Post by Akt » 31 Aug 2019 01:45

How to get battery temperature in global variable?

User avatar
Rafi4
Posts: 281
Joined: 01 Dec 2017 05:23

Re: Battery Temperature

Post by Rafi4 » 31 Aug 2019 04:41

Hi akt
It's very simple
before use battery based triggers to get temperature.

global_battery_temp=battery_temperature

From record
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1

Akt
Posts: 133
Joined: 25 May 2014 08:57

Re: Battery Temperature

Post by Akt » 31 Aug 2019 13:26

I want to always show current battery temperature in widget.
Please help.

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

User avatar
Rafi4
Posts: 281
Joined: 01 Dec 2017 05:23

Re: Battery Temperature

Post by Rafi4 » 31 Aug 2019 15:14

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
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1

Akt
Posts: 133
Joined: 25 May 2014 08:57

Re: Battery Temperature

Post by Akt » 03 Sep 2019 08:10

Hi,
I don't want to launch any app on widget click.
I want to show current battery temperature in widget.

User avatar
Rafi4
Posts: 281
Joined: 01 Dec 2017 05:23

Re: Battery Temperature

Post by Rafi4 » 03 Sep 2019 09:20

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
Attachments
battery temp&widg.xml
Battery temperature flow and widget
(8.5 KiB) Downloaded 741 times
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1

Post Reply