1e41f4b71Sopenharmony_ci# @ohos.charger (Charger) (System API)
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ciThe **charger** module enumerates charging types.
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci> **NOTE**
6e41f4b71Sopenharmony_ci>
7e41f4b71Sopenharmony_ci> The initial APIs of this module are supported since API version 10. Newly added APIs will be marked with a superscript to indicate their earliest API version.
8e41f4b71Sopenharmony_ci>
9e41f4b71Sopenharmony_ci>The APIs provided by this module are system APIs.
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ci
12e41f4b71Sopenharmony_ci## Modules to Import
13e41f4b71Sopenharmony_ci
14e41f4b71Sopenharmony_ci```js
15e41f4b71Sopenharmony_ciimport charger from '@ohos.charger';
16e41f4b71Sopenharmony_ci```
17e41f4b71Sopenharmony_ci
18e41f4b71Sopenharmony_ci## ChargeType
19e41f4b71Sopenharmony_ci
20e41f4b71Sopenharmony_ciEnumerates charging types.
21e41f4b71Sopenharmony_ci
22e41f4b71Sopenharmony_ci**System API**: This is a system API.
23e41f4b71Sopenharmony_ci
24e41f4b71Sopenharmony_ci**System capability**: SystemCapability.PowerManager.BatteryManager.Core
25e41f4b71Sopenharmony_ci
26e41f4b71Sopenharmony_ci| Name      | Value | Description             |
27e41f4b71Sopenharmony_ci| -------- | ---- | ----------------- |
28e41f4b71Sopenharmony_ci| NONE                 | 0    | Unknown charging type.     |
29e41f4b71Sopenharmony_ci| WIRED_NORMAL         | 1    | Wired normal charging.|
30e41f4b71Sopenharmony_ci| WIRED_QUICK          | 2    | Wired fast charging.  |
31e41f4b71Sopenharmony_ci| WIRED_SUPER_QUICK    | 3    | Wired super fast charging.|
32e41f4b71Sopenharmony_ci| WIRELESS_NORMAL      | 4    | Wireless normal charging.|
33e41f4b71Sopenharmony_ci| WIRELESS_QUICK       | 5    | Wireless fast charging.|
34e41f4b71Sopenharmony_ci| WIRELESS_SUPER_QUICK | 6    | Wireless super fast charging.|
35