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

Go to the source code of this file.

Functions

int kscePowerRegisterCallback (SceUID cbid)
 Registers a ScePower Callback. More...
 
int kscePowerUnregisterCallback (SceUID cbid)
 Unregister a callback. More...
 
SceBool kscePowerIsBatteryCharging (void)
 Returns battery charging status. More...
 
int kscePowerGetBatteryLifePercent (void)
 Returns battery life percentage. More...
 
SceBool kscePowerIsSuspendRequired (void)
 Check if a suspend is required. More...
 
SceBool kscePowerIsPowerOnline (void)
 Check if AC is plugged in. More...
 
int kscePowerGetBatteryLifeTime (void)
 Returns battery life time. More...
 
int kscePowerGetBatteryRemainCapacity (void)
 Returns battery remaining capacity. More...
 
SceBool kscePowerIsLowBattery (void)
 Returns battery state. More...
 
int kscePowerGetBatteryFullCapacity (void)
 Returns battery full capacity. More...
 
int kscePowerGetBatteryTemp (void)
 Returns battery temperature. More...
 
int kscePowerGetBatteryVolt (void)
 Returns battery voltage. More...
 
int kscePowerGetBatterySOH (void)
 Returns battery state of health. More...
 
int kscePowerGetBatteryCycleCount (void)
 Returns battery cycle count. More...
 
int kscePowerGetArmClockFrequency (void)
 Returns CPU clock frequency. More...
 
int kscePowerGetBusClockFrequency (void)
 Returns BUS clock frequency. More...
 
int kscePowerGetSysClockFrequency (void)
 Returns Sys clock frequency. More...
 
int kscePowerGetGpuXbarClockFrequency (void)
 Returns GPU crossbar clock frequency. More...
 
int kscePowerRequestSoftReset (void)
 Requests PS Vita to do a soft reset. More...
 
int kscePowerRequestColdReset (void)
 Requests PS Vita to do a cold reset. More...
 
int kscePowerRequestStandby (void)
 Requests PS Vita to go into standby. More...
 
int kscePowerRequestSuspend (void)
 Requests PS Vita to suspend. More...
 
int kscePowerRequestDisplayOff (void)
 Request display off. More...
 
int kscePowerSetDisplayBrightness (int brightness)
 Set the screen brightness. More...
 
int kscePowerSetArmClockFrequency (int freq)
 Sets CPU clock frequency. More...
 
int kscePowerSetBusClockFrequency (int freq)
 Sets BUS clock frequency. More...
 
int kscePowerSetGpuClockFrequency (int freq)
 Sets GPU clock frequency. More...
 
int kscePowerSetGpuXbarClockFrequency (int freq)
 Sets GPU crossbar clock frequency. More...