When you charge an iPad, it will display its battery percentage in the status bar. This happens even if you don’t have the option enabled under Settings > General > Usage.
As Dean Mayers points out at iOS Inconsistency, the iPhone doesn’t do this while charging.