power-management.md 975 字节
Newer Older
H
hujun 已提交
1
# Power Management<a name="EN-US_TOPIC_0000001083440980"></a>
L
liudongmiao 已提交
2 3 4 5 6 7 8

-   [Introduction](#section11660541593)
-   [Directory Structure](#section19472752217)
-   [Repositories Involved](#section63151229062)

## Introduction<a name="section11660541593"></a>

H
hujun 已提交
9
The power management subsystem provides the following capabilities:
L
liudongmiao 已提交
10 11 12 13

1.  Querying the battery level
2.  Keeping the device screen always on using a lock

H
hujun 已提交
14
**Figure  1**  power management subsystem architecture<a name="fig106301571239"></a>  
L
liudongmiao 已提交
15 16 17 18 19 20 21 22


![](figures/en-us_image_0000001130297625.png)

## Directory Structure<a name="section19472752217"></a>

```
base/powermgr/powermgr_lite
H
hujun 已提交
23
├── interfaces		    # APIs
L
liudongmiao 已提交
24 25
│   └── kits
│       └── battery		# API for querying the battery level
H
hujun 已提交
26
└── services		    # Services
L
liudongmiao 已提交
27 28 29 30 31 32
    ├── include
    └── source
```

## Repositories Involved<a name="section63151229062"></a>

H
hujun 已提交
33
[**powermgr_powermgr_lite**](https://gitee.com/openharmony/powermgr_powermgr_lite)