Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Android Battery Temperature Plugin

An asset by Sandroman
The page banner background of a mountain and forest
Android Battery Temperature Plugin hero image

Quick Information

0 ratings
Android Battery Temperature Plugin icon image
Sandroman
Android Battery Temperature Plugin

This plugin allows you to access the battery temperature of android devices.

Supported Engine Version
4.2
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
1 day ago
Git URL
Issue URL

Godot-Android-Battery-Temperature-Plugin-4.2

Android plugin for Godot used to access the battery temperature of android devices. It should work on Godot versions 4.2+ but it has only been tested in version 4.5.1 and 4.2

How to use it

  1. Copy the GDBatteryTemp folder into the addons folder of your Godot project.

    README Image of the GDBatteryTemp folder in the addons folder

  2. Activate the plugin in the project settings.

    README Image of the plugin activation in Project -> Project settings -> Plugins

  3. Add a new node and select GodotAndroidBatteryTemperature.

    README Image of the GodotAndroidBatteryTemperature node being added

  4. On the GodotAndroidBatteryTemperature node you will be able to call the get_battery_temperature() method, it will return the battery temperature

    README Image of a script.gd using get_battery_temperature() method

  5. If you are exporting the project to android remember to enable gradle build otherwise the plugin won't work. README Image of the correct build gradle settings while exporting the project to the Android platform

There is also a demo project avaiable if you want to test the plugin, you can find it in the "Godot Android battery temperature plugin demo project" folder. Feel free to open an issue if there is something wrong or if the plugin doesn't work on a specific godot version.

This plugin allows you to access the battery temperature of android devices.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Android Battery Temperature Plugin icon image
Sandroman
Android Battery Temperature Plugin

This plugin allows you to access the battery temperature of android devices.

Supported Engine Version
4.2
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
1 day ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers