---
description: Wisej.Hybrid.Shared.Battery.BatteryState
---

# BatteryState

Namespace: **Wisej.Hybrid.Shared.Battery**

Assembly: **Wisej.Hybrid** (3.5.0.0)

Describes possible states of the battery.

{% tabs %}
{% tab title="C#" %}
```csharp
public enum BatteryState : Enum
```
{% endtab %}

{% tab title="VB.NET" %}
```visual-basic
Public Enum BatteryState As [Enum]
```
{% endtab %}
{% endtabs %}

## Fields

| Name            | Description                                                        |
| --------------- | ------------------------------------------------------------------ |
| **Charging**    | Battery is actively being charged by a power source.               |
| **Discharging** | Battery is not plugged in and discharging.                         |
| **Full**        | Battery is full.                                                   |
| **NotCharging** | Battery is not charging or discharging, but in an inbetween state. |
| **NotPresent**  | Battery does not exist on the device.                              |
| **Unknown**     | Battery state could not be determined.                             |

## Used By

| Name                                                               | Description                                                                  |
| ------------------------------------------------------------------ | ---------------------------------------------------------------------------- |
| [DeviceBatteryInfo.State](../wisej.hybrid.devicebatteryinfo#state) | Gets the current state of the battery, indicating if it is charging or full. |
