diff --git a/nx/include/switch/services/psm.h b/nx/include/switch/services/psm.h new file mode 100644 index 00000000..d233ee01 --- /dev/null +++ b/nx/include/switch/services/psm.h @@ -0,0 +1,13 @@ +/** + * @file psm.h + * @brief PSM service IPC wrapper. + * @author XorTroll + * @copyright libnx Authors + */ +#pragma once +#include "../types.h" + +Result psmInitialize(void); +void psmExit(void); + +Result psmGetBatteryChargePercentage(u32 *out);