Content-Length: 18218 | pFad | https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/SystemInfo-batteryStatus.html

Unity - Scripting API: SystemInfo.batteryStatus
Version: Unity 6.5 (6000.5)
LanguageEnglish
  • C#

SystemInfo.batteryStatus

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public static BatteryStatus batteryStatus;

Description

Returns the current status of the device's battery (Read Only).

See the BatteryStatus enumeration for possible values.

The battery status includes information about whether the device is plugged in to a power source and whether the battery is charging. If battery status is not available on your target platform, this property returns BatteryStatus.Unknown.

Additional resources: batteryLevel.









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/SystemInfo-batteryStatus.html

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy