Weird thing!
According applicationStart.xml the PRS600 already use
Code:
<function id="doPowerSwitchHold">
var value = this.getVariable("STANDBY_STATE")
if (value == 1) {
this.setVariable("STANDBY_STATE", 2)
this.post("kShutdownBySwitch", true)
}
</function>
<function id="doPowerSwitch">
if (!ebook.pm.isWaiting()) {
var value = this.getVariable("STANDBY_STATE")
if (value == 1) {
this.setVariable("STANDBY_STATE", 0)
this.resetLight()
this.container.STANDBY_IMAGE.show(true)
this.container.STANDBY_IMAGE.enable(true)
this.setFlushUpdate()
this.post("kSuspend", true)
}
else if (value == 0){
this.setVariable("STANDBY_STATE", 1)
this.container.STANDBY_IMAGE.show(false)
this.container.STANDBY_IMAGE.enable(false)
this.setFlushUpdate()
this.post("kResume", true)
}
else
this.setVariable("STANDBY_STATE", 1)
BookUtil.removeButtonEvent(this.container.getWindow(), "kPowerSwitch")
}
</function>
..
<customHold key="kPowerSwitch" hold="doPowerSwitchHold" up="doPowerSwitch" holdTime="3000"/>
..
<standbyImage id="STANDBY_IMAGE" left="0" right="0" top="0" bottom="0" active="false" visible="false"/>
</document>
So the PowerStandby code included in ebook.so will never be called, because a key-action is triggered instead!
[Edit] At last it seams "ebook.so" is to some extend, or even completly replaced by "ebookSystem.so" [/Edit]
Compared the 600th code to the PRS350/650 some functions in main.xml are missing!
Code:
<!-- [FY10] Ticket#661: setup standby picture -->
<function id="preDoEditStandbyPicture">
var indexs = this.MENU.detailsView.getSelectedIndexs();
this.bubble("doEditStandbyPicture", indexs);
</function>
So I assume hacking in the 650-main functions in the 600 main.xml will enable the standby-pic.