Windows Native Toolkit

Battery Library

Battery status node for laptops, handheld PCs, and battery-aware settings.

Use this library for laptops, handheld PCs, and battery-aware game settings.

Python examples use Unreal's reflected API names through the unreal module. Async, delegate-driven, and unsupported wildcard-style nodes are intentionally left as C++-only examples.

Get Battery Status

FieldDetails
PurposeReturns complete battery information in one Blueprint node.
GivesFWNTBatteryStatus return value
NeedsNo input.
C++ Example
#include "BatteryUtility.h"

auto Result = UBatteryUtility::GetBatteryStatus();
Python Example
import unreal

result = unreal.BatteryUtility.get_battery_status()

Last updated on

On this page