The path in this answer didn't work, guess it is not the true path.
Here is my own post at XDA forum showing a script running using a macro. The path according to what worked for me and steps involved are explained. It shows a macro based implementation allows the path which works for me.
I am thankful for the earlier post that pointed this file.
I can find charger-related data at /sys/class/hw_power/charger/charge_data.
Current can probably be set using cin_limit knob (it does not apply immediately, I need to wait for several seconds. Current is in mA and is probably rounded somehow). Charger can be turned off immediately using echo 0 > enable_charger.
What you're looking for is called "Permission Manager". While Android itself does not (yet?) provide such itself, there are several of them available, my list holds some of them.
There are different approaches. While some simply "deny access" (which might cause an app to crash, if the dev didn't take "revoked"/"not granted" permissions into account, and ...
If you unlocked your bootloader and flashed a custom kernel, try:
Hold Home and Power button, phone will restart.
Press back button repeatedly, phone will boot into recovery.
dalvik battery status. In mount n system:
Now flash your rom zip and after successful flash, reboot ...
Log in to your Google account, use the Play Store or Gmail app. Go to Settings > Accounts and Synch and then go to 'Contacts' and hit 'Synch now'. Your contacts will be under your GOOGLE account. The button may be called something different or just be a 'synch' icon (2 curved arrorws in a circle) but should do the trick. If you have any issues let me know ...