This shouldnt be too hard to implement. When i convert my games to cia, i have to sleep mode patch them. This means pressing L+R+Strt puts the game in sleep mode, and opening the 3ds takes it out of sleep mode. Considering the game can already detect the state of the 3ds, this minor modification should be easy to implement. The only issue i could see is the fee games that cant be sleep mode patched: mother 3, pokemon etc.