ISVP-SDK  3.12.0
Ingenic Smart Video Platform SDK
Enumerations | Functions
su_battery.h File Reference

Sysutils 电池管理头文件 More...

Go to the source code of this file.

Enumerations

enum  SUBatStatus { Unknown = -1, Charging, Discharging, Full }
 电池状态. More...
 
enum  SUBatEvent { AC_ONLINE, AC_OFFLINE, USB_ONLINE, USB_OFFLINE }
 电池事件. More...
 

Functions

int SU_Battery_GetStatus (SUBatStatus *status)
 获取电池状态. More...
 
int SU_Battery_GetEvent (SUBatEvent *event)
 获取电池事件. More...
 
int SU_Battery_GetCapacity (void)
 获取电池电量百分比. More...
 
int SU_Battery_GetVoltageUV (void)
 获取电池当前电压. More...
 

Detailed Description

Sysutils 电池管理头文件