b.liu | 5fa9e77 | 2023-11-23 18:00:55 +0800 | [diff] [blame] | 1 | /* |
2 | * qser_sleep.h | ||||
3 | * | ||||
4 | * QSER auto sleep API. | ||||
5 | * | ||||
6 | * Author : lb | ||||
7 | * Date : 2023/11/23 13:18:26 | ||||
8 | */ | ||||
9 | #ifndef _QSER_SLEEP_H | ||||
10 | #define _QSER_SLEEP_H | ||||
11 | #include "mbtk_type.h" | ||||
12 | |||||
13 | int qser_autosuspend_enable(char enable); | ||||
14 | |||||
15 | int qser_wakelock_create(const char* name , size_t len); | ||||
16 | |||||
17 | int qser_wakelock_lock(int fd); | ||||
18 | |||||
19 | int qser_wakelock_unlock(int fd); | ||||
20 | |||||
21 | int qser_wakelock_destroy(int fd); | ||||
22 | |||||
23 | #endif /* _QSER_SLEEP_H */ |