I just got a new cell phone and was wondering what to do about the initial charge to get optimal battery life and performance. I have heard that when you get a new phone that you should charge it while it is off for 24 hours. I have also heard that you should run the battery completely out and then charge it fully while it is off. This is because it comes from the factory with about half a charge. What is the correct answer?

Another, sort of related question is, is there any problem or potential problem charging the phone while it is on?
Thanks!