ScePower

Power callbacks
See also SceSyscon.

Power callback notifyArg allowed mask are listed in the table below.

scePowerRequestDisplayOff
This function was probably added for PS TV support. Indeed, the screen of a PS TV is a HDMI device not an embedded screen like on PS Vita handled consoles.

scePowerRequestDisplayOn
This function was probably added for PS TV support. Indeed, the screen of a PS TV is a HDMI device not an embedded screen like on PS Vita handled consoles.

scePowerIsLowBatteryInhibitUpdateDownload
This function was added along with SceSyscon.

scePowerIsLowBatteryInhibitUpdateReboot
This function was added along with SceSyscon.

scePowerGetBatteryRemainLevel
This function was added along with SceSyscon.

scePowerGetGpuClockFrequencyInternalForDriver
Temp name was scePowerGetGpuEs4ClockFrequencyForDriver, scePowerGetDeviceCountForDriver.

scePowerSetGpuClockFrequencyInternalForDriver
Temp name was scePowerSetGpuEs4ClockFrequencyForDriver

scePowerGetVipClockFrequencyForDriver
Temp name was scePowerGetVeneziaForDriver.

scePowerSetVipClockFrequencyForDriver
Temp name was scePowerSetVeneziaForDriver.

VIP is set to ?222MHz? by system when video is played back, even in PspEmu. ?The two clocks it sets are 55MHz and 83MHz.?

Related to Venezia.

scePowerSetSysClockFrequencyForDriver
Hardware_Timers Clock.

scePowerTickForDriver
Generate a power tick, preventing unit from powering off and turning off display.

ScePowerForDriver_394DE492
Returns a global boolean variable indicating if display brightness change is allowed.

scePowerSetStandbyButtonPushTimeForDriver
derived from vshPowerSetStandbyButtonPushTime

scePowerSetPsButtonPushTimeForDriver
derived from vshPowerSetPsButtonPushTime

scePowerGetWakeupFactorForDriver
derived from vshPowerGetWakeupFactor

scePowerGetPowerSwModeForDriver
Derived from PSP NID.

scePowerSetPowerSwModeForDriver
Derived from PSP NID.

scePowerSetPowerSwMode2ForDriver
This is a not validated name.

derived from vshPowerSetPowerSwMode

scePowerRequestHibernateForDriver
derived from vshPowerRequestHibernate

ScePowerForDriver_660D5AB4
Set some value of the selected Idle Callback to 2.

scePowerGetCaseTempForDriver
Exact same code as.

scePowerWaitRequestCompletionForDriver
Temp name was scePowerEncodeUBattery (PSP NID wrong bruteforce).

scePowerSetBatteryFakeStatusForDriver
Derived from _vshPowerSetBatteryFakeStatus.

scePowerGetBatteryTempForDriver
Exact same code as.

scePowerGetBatteryRemainCapacityForDriver
To document: in which unit is the remaining capacity.

scePowerGetBatteryRemainLevelForDriver
If Syscon version < 0x1040105, returns the remaining battery level, else returns 0 (SCE_POWER_BATTERY_REMAIN_LEVEL_INVALID).

scePowerGetBatteryRemainMaxLevelForDriver
If Syscon version < 0x1040105, returns 4 (SCE_POWER_BATTERY_REMAIN_LEVEL_75_100_PERCENTS), else returns 0 (SCE_POWER_BATTERY_REMAIN_LEVEL_INVALID).

scePowerGetBatteryChargingStatusForDriver
Returns battery charging status.

scePowerIsSomethingBatteryForDriver
Returns value from.

scePowerIsSomethingBattery2ForDriver
return SceSysconForDriver_4A184B7C

ScePowerForDriver_2B51FE2F
A good name might be scePowerIsWlanActivatedForDriver, but it does not match NID using ScePowerForDriver NID suffix.

ScePowerForDriver_C62B6164
Gets some information about battery.

ScePowerForDriver_8C0D2051
Gets the battery status obtained using SceSyscon.

Called by SceUdcd when SceUdcdAlarmTickTimer is triggered.

ScePowerForDriver_0D80B917
Maybe related to.

ScePowerForDriver_38415146
Sets a global variable and sets global event flag 0x2000.

Related to LED.

sceLedSetModeForDriver
Maybe concerns DevKit LEDs as there are 8 LEDs, or maybe led=2 is PS button LED.