When the camera enters sleep mode, does the keyboard task still run? (and hence the CHDK scripting engine!)
Yes, I can even enter and use the CHDK menu (the buttons are still masked by CHDK, so the camera continues to "sleep").
Can I assume from your note that a click("print") would activate sleep mode if its assigned to the print button?
It should, although I haven't tested it. You can try it on your G10, I guess.
The notes.txt file for that camera say its uses DryOS. Does that suggest the "sleep mode" might be available in most cameras ?
The "on demand" version is probably not, the "power save" version is. It seems that this functionality is not available as a single event procedure, so it requires button presses
I have tried experimenting with various event procedures, but using them is complicated (you can easily crash the camera or the display will stay dark
), and the drop in current draw is not too significant...
Play + backlight off seems to be the closest to sleep mode. Prevention of lens retraction is useful here.