PSP2SDK  dirty-f9e4f2d
The free SDK for PSP2
include/psp2/power.h
Go to the documentation of this file.
00001 
00012 #ifndef _PSP2_POWER_H_
00013 #define _PSP2_POWER_H_
00014 
00015 #include <psp2/types.h>
00016 
00017 #ifdef __cplusplus
00018 extern "C" {
00019 #endif
00020 
00021 /* callback */
00022 typedef void (*ScePowerCallback)(int unknown, int powerInfo);
00023 
00024 /* prototypes */
00025 int scePowerRegisterCallback(int slot, SceUID cbid);
00026 int scePowerIsBatteryCharging();
00027 int scePowerGetBatteryLifePercent();
00028 int scePowerSetConfigurationMode(int mode); //?
00029 SceBool scePowerIsSuspendRequired(); //?
00030 int scePowerIsPowerOnline();
00031 int scePowerGetBatteryLifeTime();
00032 int scePowerGetBatteryRemainCapacity(); //?
00033 int scePowerIsLowBattery();
00034 int scePowerUnregisterCallback(int slot);
00035 int  scePowerGetBatteryFullCapacity(); //?
00036 
00037 #ifdef __cplusplus
00038 }
00039 #endif
00040 
00041 #endif /* _PSP2_POWER_H_ */
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines