forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PSP Power/Battery function

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
ziozzang



Joined: 08 Jun 2005
Posts: 9

PostPosted: Wed Jun 15, 2005 9:49 am    Post subject: PSP Power/Battery function Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group