blob: 820ccdb3cf353506393b7a6c4d7966ce4ff95485 [file] [log] [blame]
b.liu5fa9e772023-11-23 18:00:55 +08001/*
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
13int qser_autosuspend_enable(char enable);
14
15int qser_wakelock_create(const char* name , size_t len);
16
17int qser_wakelock_lock(int fd);
18
19int qser_wakelock_unlock(int fd);
20
21int qser_wakelock_destroy(int fd);
22
23#endif /* _QSER_SLEEP_H */