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

# BatteryPowerSource

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

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

Enumerates power sources with which the device and battery can be powered or charged.

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

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

## Fields

| Name         | Description                                                     |
| ------------ | --------------------------------------------------------------- |
| **AC**       | Power source is an AC Charger.                                  |
| **Battery**  | Power source is the battery and is currently not being charged. |
| **Unknown**  | Power source can not be determined.                             |
| **Usb**      | Power source is a USB port.                                     |
| **Wireless** | Power source is wireless.                                       |

## Used By

| Name                                                                           | Description                                                             |
| ------------------------------------------------------------------------------ | ----------------------------------------------------------------------- |
| [DeviceBatteryInfo.PowerSource](../wisej.hybrid.devicebatteryinfo#powersource) | Gets how the device and battery are currently being powered or charged. |
