ziozzang
Joined: 08 Jun 2005 Posts: 9
|
Posted: Wed Jun 15, 2005 9:49 am Post subject: PSP Power/Battery function |
|
|
Use this with scePower Library.
| Quote: |
0x27f3292c, scePowerBatteryUpdateInfo
0x0afd0d8b, scePowerIsBatteryExist
0x1e490401, scePowerIsBatteryCharging
0xb4432bc8, scePowerGetBatteryChargingStatus
0xd3075926, scePowerIsLowBattery
0x28e12023, scePowerGetBatteryTemp
0x862ae1a6, scePowerGetBatteryElec
0x483ce86b, scePowerGetBatteryVolt
0x843fbf43, scePowerSetCpuClockFrequency
0xb8d7b3fb, scePowerSetBusClockFrequency
0xfee03a2f, scePowerGetCpuClockFrequency
0x478fe6f5, scePowerGetBusClockFrequency
|
| Quote: |
long scePowerGetBatteryTemp();
|
don't know about return values.
if no battery, function returns minus value.
| Quote: |
long scePowerIsBatteryCharging();
|
return value
- no battery : minus value
- charging : 1
- no adaptor : 0
| Quote: |
long scePowerGetBatteryVolt();
|
Battery Charged Voltage
maybe 5000 is 5Volt.
Thanks to "sage/J". _________________ Jioh L. Jung
Seoul, Republic of Korea.
Korean(Native), Japanese(a little), English(somehow).
MMORPG Game Designer.
PSP 1.0 Jap. / iBook OSX 10.4 |
|