vitasdk
Documentation of the vitasdk
power.h
Go to the documentation of this file.
1 
6 #ifndef _PSP2KERN_POWER_H_
7 #define _PSP2KERN_POWER_H_
8 
9 #include <psp2common/power.h>
10 #include <psp2kern/types.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
24 
33 
40 
47 
54 
61 
68 
75 
82 
89 
96 
103 
110 
117 
124 
131 
138 
145 
152 
159 
166 
173 
180 
189 int kscePowerSetDisplayBrightness(int brightness);
190 
199 
208 
217 
226 
227 #ifdef __cplusplus
228 }
229 #endif
230 
231 #endif /* _PSP2KERN_POWER_H_ */
int kscePowerUnregisterCallback(SceUID cbid)
Unregister a callback.
int kscePowerGetBatteryRemainCapacity(void)
Returns battery remaining capacity.
int kscePowerGetBatterySOH(void)
Returns battery state of health.
int kscePowerGetArmClockFrequency(void)
Returns CPU clock frequency.
int kscePowerGetSysClockFrequency(void)
Returns Sys clock frequency.
int kscePowerSetArmClockFrequency(int freq)
Sets CPU clock frequency.
int kscePowerRequestColdReset(void)
Requests PS Vita to do a cold reset.
int kscePowerSetBusClockFrequency(int freq)
Sets BUS clock frequency.
int kscePowerGetBatteryCycleCount(void)
Returns battery cycle count.
SceBool kscePowerIsLowBattery(void)
Returns battery state.
int kscePowerRegisterCallback(SceUID cbid)
Registers a ScePower Callback.
int kscePowerGetBatteryVolt(void)
Returns battery voltage.
int kscePowerSetGpuXbarClockFrequency(int freq)
Sets GPU crossbar clock frequency.
int kscePowerGetBatteryFullCapacity(void)
Returns battery full capacity.
int kscePowerGetBatteryLifePercent(void)
Returns battery life percentage.
int kscePowerGetBatteryTemp(void)
Returns battery temperature.
int kscePowerSetDisplayBrightness(int brightness)
Set the screen brightness.
int kscePowerSetGpuClockFrequency(int freq)
Sets GPU clock frequency.
SceBool kscePowerIsPowerOnline(void)
Check if AC is plugged in.
int kscePowerRequestSoftReset(void)
Requests PS Vita to do a soft reset.
int kscePowerGetGpuXbarClockFrequency(void)
Returns GPU crossbar clock frequency.
SceBool kscePowerIsBatteryCharging(void)
Returns battery charging status.
int kscePowerRequestStandby(void)
Requests PS Vita to go into standby.
SceBool kscePowerIsSuspendRequired(void)
Check if a suspend is required.
int kscePowerRequestSuspend(void)
Requests PS Vita to suspend.
int kscePowerRequestDisplayOff(void)
Request display off.
int kscePowerGetBusClockFrequency(void)
Returns BUS clock frequency.
int kscePowerGetBatteryLifeTime(void)
Returns battery life time.
int SceBool
Definition: types.h:59
int SceUID
UIDs are used to describe many different kernel objects.
Definition: types.h:90