mirror of
https://github.com/joel16/3DSident.git
synced 2024-12-04 01:11:20 +00:00
f98a3675ab
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
13 lines
249 B
C
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";
|
|
} |