I see. But from the project goals it is planned to be a full replacement for bme (unless they have abandoned that plan for the less ambitious just allow charging in hostmode), so even if it is just a shell script, couldn't there be a simple helper program which is called by the shell script to handle the wakelock?