Battery Utilities Not Working

I made an app that can read your device’s battery information. I did this using the battery utility component. But my app shows every reading as ‘0’ even if I am not in Antarctica and have some charge in my battery. BTW I am not in Antarctica and should have something like 35 Degrees Celsius in my battery temp reading. I want it to read my battery temp, charge, and health
I used a few blocks and those are below

My Designer Part
image

Thanks!

FYI
My clock interval is 200 milliseconds

Did you set permission, read phone state?

1 Like

What is that?

The only blocks that I put are shown in the pic

Are you using this extension, if so it will work fine. If not I don’t think the problem
https://puravidaapps.com/battery.php

2 Likes

I did not use any extension. I only used a battery utilities component

So do I need to use it or is battery utilities fine?

Better go with that exten. What is your andro version?

1 Like

My phone has Android 10

I will try that extension

image

No issue with the extension… see but my andro version is less than 10

But if you are using default block, first you need to enable it, and it will work upon clicking any button, it will not work with screen initi, but taifun exten will work with screen inti

image

1 Like

My app works now

Thanks a lot!

1 Like

You can convey this in the name of marking suitable post as Solution. Thank you

BTW, you are using default battery or taifun?

1 Like

I used the extension by Taifun

1 Like

And I forgot to tell you that my phone is Android 11 not 10

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.