That'll do wonders for your battery life. The OP probably has a portable generator hooked up to his phone anyway so he probably doesn't care, but for people with regular phones this might be an issue.
Of course it will drain battery life. I don't intend to use it, only point that actually there is such application.