* Add support to display current charge, and indicate whether or not device is charging. Updated Makefile.pc to incorporate new icon binaries * Refactored power-related code, added drawIcon Added common power interface * Add battery icon and shift charge text as required
15 lines
219 B
C
15 lines
219 B
C
#include "../common/common.h"
|
|
|
|
void powerInit(void) {
|
|
|
|
}
|
|
|
|
void powerExit(void) {
|
|
|
|
}
|
|
|
|
bool powerGetDetails(uint32_t *batteryCharge, bool *isCharging)
|
|
*isCharging = false;
|
|
*batteryCharge = 100;
|
|
return false;
|
|
} |