OS.get_power_percent_left() returns -1, why is that?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By MangoTree

Hi,

using the following

OS.get_power_percent_left()

returns a value of -1 on Android (Galaxy S6), even though battery is not fully charged. Anyone know why it gives a negative value (-1)?

Thanks

I’ve tried on Godot 3.0.x and 3.1, and seems to do that on both. Maybe you could try submitting an issue on Github.

Eric Ellingson | 2019-03-16 19:12

Thanks for the reply. I’ve submitted it here : https://github.com/godotengine/godot/issues/27143

MangoTree | 2019-03-16 22:24