* 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
8 lines
144 B
C
8 lines
144 B
C
#pragma once
|
|
#include "common.h"
|
|
|
|
void powerInit(void);
|
|
|
|
bool powerGetDetails(uint32_t *batteryCharge, bool *isCharging);
|
|
|
|
void powerExit(void); |