vitasdk
Documentation of the vitasdk
power.h
Go to the documentation of this file.
1 
6 #ifndef _PSP2_POWER_H_
7 #define _PSP2_POWER_H_
8 
9 #include <psp2common/power.h>
10 #include <psp2/types.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
24 
33 
40 
47 
60 
67 
74 
81 
88 
95 
102 
109 
116 
123 
130 
137 
144 
151 
158 
165 
172 
179 
186 
193 
202 
211 
220 
229 
238 
245 
246 #ifdef __cplusplus
247 }
248 #endif
249 
250 #endif /* _PSP2_POWER_H_ */
int scePowerSetGpuClockFrequency(int freq)
Sets GPU clock frequency.
int scePowerGetBatteryLifeTime(void)
Returns battery life time.
int scePowerGetBatteryLifePercent(void)
Returns battery life percentage.
SceBool scePowerIsLowBattery(void)
Returns battery state.
int scePowerGetArmClockFrequency(void)
Returns CPU clock frequency.
int scePowerUnregisterCallback(SceUID cbid)
Unregister a callback.
int scePowerSetUsingWireless(SceBool enabled)
Sets wireless features usage.
int scePowerSetArmClockFrequency(int freq)
Sets CPU clock frequency.
int scePowerGetBatterySOH(void)
Returns battery state of health.
SceBool scePowerIsSuspendRequired(void)
Check if a suspend is required.
int scePowerSetBusClockFrequency(int freq)
Sets BUS clock frequency.
int scePowerSetConfigurationMode(int conf)
Set power configuration mode between:
int scePowerGetUsingWireless(void)
Gets wireless features usage.
int scePowerGetBusClockFrequency(void)
Returns BUS clock frequency.
int scePowerRequestSuspend(void)
Requests PS Vita to suspend.
int scePowerGetGpuXbarClockFrequency(void)
Returns GPU crossbar clock frequency.
int scePowerRegisterCallback(SceUID cbid)
Registers a ScePower Callback.
int scePowerGetBatteryFullCapacity(void)
Returns battery full capacity.
int scePowerRequestDisplayOn(void)
Request display on.
int scePowerGetBatteryVolt(void)
Returns battery voltage.
int scePowerGetBatteryCycleCount(void)
Returns battery cycle count.
int scePowerGetBatteryRemainCapacity(void)
Returns battery remaining capacity.
int scePowerRequestColdReset(void)
Requests PS Vita to do a cold reset.
int scePowerGetBatteryTemp(void)
Returns battery temperature.
SceBool scePowerIsPowerOnline(void)
Check if AC is plugged in.
int scePowerGetGpuClockFrequency(void)
Returns GPU clock frequency.
int scePowerSetGpuXbarClockFrequency(int freq)
Sets GPU crossbar clock frequency.
int scePowerRequestDisplayOff(void)
Request display off.
SceBool scePowerIsBatteryCharging(void)
Returns battery charging status.
int scePowerRequestStandby(void)
Requests PS Vita to go into standby.
int SceBool
Definition: types.h:59
int SceUID
UIDs are used to describe many different kernel objects.
Definition: types.h:90