I've been looking for a better solution myself. As of right now, it will power on because it will see the charge, but to turn it off, the easiest way I've seen so far is to set up a gesture with the Cydia activator plugin to turn it off when I slide my finger down from the status bar. But I also need to pause the music before doing so or it will keep playing the music... The best solution, and one that's out of my expertise, is to write a program for it to where whenever it shows the charging status as off, it will kill any running application and go into sleep mode. That would be ideal. There is a guy on here creating a front end where he might be looking into this solution. It is Bluehawk solutions. I'm curious to see what other ideas come up.
Here's a vid of my setup with said solution: http://www.youtube.com/watch?v=msPvI...e_gdata_player