7 #ifndef __SU_BATTERY_H__
8 #define __SU_BATTERY_H__
AC Adapter插入
Definition: su_battery.h:43
未知状态或者没有电池
Definition: su_battery.h:33
充满电
Definition: su_battery.h:36
SUBatStatus
电池状态.
Definition: su_battery.h:32
AC Adapter拔出
Definition: su_battery.h:44
USB插入
Definition: su_battery.h:45
int SU_Battery_GetVoltageUV(void)
获取电池当前电压.
int SU_Battery_GetStatus(SUBatStatus *status)
获取电池状态.
未充电
Definition: su_battery.h:35
USB拔出
Definition: su_battery.h:46
SUBatEvent
电池事件.
Definition: su_battery.h:42
int SU_Battery_GetCapacity(void)
获取电池电量百分比.
充电中
Definition: su_battery.h:34
int SU_Battery_GetEvent(SUBatEvent *event)
获取电池事件.