3DSident/source/power.c
Joel f98a3675ab Update v0.7.4
Now displays local friend code seed.
Storage sizes now display appropriately according to your
available/total storage. MB is no longer the default unit.
Also cleaned up main.c, now uses separate headers like 3DSident-GUI
2017-06-02 15:27:47 -04:00

13 lines
249 B
C

#include "power.h"
#include "screenshot.h"
const char * batteryStatus()
{
u8 batteryStateBool;
PTMU_GetBatteryChargeState(&batteryStateBool);
if (!batteryStateBool)
return "not charging";
else
return "charging";
}