mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-06 19:32:15 +02:00
Create psm.h
This commit is contained in:
parent
b71c3c9bee
commit
461892122b
13
nx/include/switch/services/psm.h
Normal file
13
nx/include/switch/services/psm.h
Normal file
@ -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);
|
Loading…
Reference in New Issue
Block a user