It won't charge while on because the iPad wants too much power. Use the iPad 12w charging brick or leave screen off and your MBP will charge it slowly -- though your 2012 MBP probably doesn't have the power necessary to do so very fast. That's why it says not charging.