FGenericPlatformMisc::GetBatteryLevel

Gets the current battery level.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMisc.h

Include

#include "GenericPlatform/GenericPlatformMisc.h"

Syntax

static int GetBatteryLevel()

Remarks

Gets the current battery level.

Returns

the battery level between 0 and 100.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss