Tweak function naming and comments.
Fix prepaid charging.