vitasdk
Documentation of the vitasdk
power.h File Reference
#include <psp2common/power.h>
#include <psp2/types.h>

Go to the source code of this file.

Functions

int scePowerRegisterCallback (SceUID cbid)
 Registers a ScePower Callback. More...
 
int scePowerUnregisterCallback (SceUID cbid)
 Unregister a callback. More...
 
SceBool scePowerIsBatteryCharging (void)
 Returns battery charging status. More...
 
int scePowerGetBatteryLifePercent (void)
 Returns battery life percentage. More...
 
int scePowerSetConfigurationMode (int conf)
 Set power configuration mode between: More...
 
SceBool scePowerIsSuspendRequired (void)
 Check if a suspend is required. More...
 
SceBool scePowerIsPowerOnline (void)
 Check if AC is plugged in. More...
 
int scePowerGetBatteryLifeTime (void)
 Returns battery life time. More...
 
int scePowerGetBatteryRemainCapacity (void)
 Returns battery remaining capacity. More...
 
SceBool scePowerIsLowBattery (void)
 Returns battery state. More...
 
int scePowerGetBatteryFullCapacity (void)
 Returns battery full capacity. More...
 
int scePowerGetBatteryTemp (void)
 Returns battery temperature. More...
 
int scePowerGetBatteryVolt (void)
 Returns battery voltage. More...
 
int scePowerGetBatterySOH (void)
 Returns battery state of health. More...
 
int scePowerGetBatteryCycleCount (void)
 Returns battery cycle count. More...
 
int scePowerGetArmClockFrequency (void)
 Returns CPU clock frequency. More...
 
int scePowerGetBusClockFrequency (void)
 Returns BUS clock frequency. More...
 
int scePowerGetGpuClockFrequency (void)
 Returns GPU clock frequency. More...
 
int scePowerGetGpuXbarClockFrequency (void)
 Returns GPU crossbar clock frequency. More...
 
int scePowerRequestColdReset (void)
 Requests PS Vita to do a cold reset. More...
 
int scePowerRequestStandby (void)
 Requests PS Vita to go into standby. More...
 
int scePowerRequestSuspend (void)
 Requests PS Vita to suspend. More...
 
int scePowerRequestDisplayOn (void)
 Request display on. More...
 
int scePowerRequestDisplayOff (void)
 Request display off. More...
 
int scePowerSetArmClockFrequency (int freq)
 Sets CPU clock frequency. More...
 
int scePowerSetBusClockFrequency (int freq)
 Sets BUS clock frequency. More...
 
int scePowerSetGpuClockFrequency (int freq)
 Sets GPU clock frequency. More...
 
int scePowerSetGpuXbarClockFrequency (int freq)
 Sets GPU crossbar clock frequency. More...
 
int scePowerSetUsingWireless (SceBool enabled)
 Sets wireless features usage. More...
 
int scePowerGetUsingWireless (void)
 Gets wireless features usage. More...