Monitor battery and alert low voltage

This commit is contained in:
tmk 2014-09-04 17:08:23 +09:00
parent 02939ab1d8
commit 3b81ffc16c
3 changed files with 52 additions and 9 deletions

View file

@ -9,6 +9,7 @@ typedef enum {
CHARGING,
DISCHARGING,
LOW_VOLTAGE,
UNKNOWN,
} battery_status_t;
typedef enum {