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

Sysutils battery management head file. More...

Go to the source code of this file.

Enumerations

enum  SUBatStatus { Unknown = -1, Charging, Discharging, Full }
 battery status More...
 
enum  SUBatEvent { AC_ONLINE, AC_OFFLINE, USB_ONLINE, USB_OFFLINE }
 battery event. More...
 

Functions

int SU_Battery_GetStatus (SUBatStatus *status)
 Get battery status. More...
 
int SU_Battery_GetEvent (SUBatEvent *event)
 Get battery event. More...
 
int SU_Battery_GetCapacity (void)
 Get Percentage of battery power. More...
 
int SU_Battery_GetVoltageUV (void)
 Get Current battery voltage. More...
 

Detailed Description

Sysutils battery management head file.