nx-hbmenu/pc_main/pc_power.c
Daniel Bernard 8b86b36393 Add support to display current charge, and indicate whether or not device is charging (#67)
* 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
2018-10-09 18:27:43 -04:00

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;
}