i have a g7 and it says plugged in not charging win 8.1

Solution
Check that the battery is not damaged and re-attach it to the laptop. If it still doesn't charge the battery is probably damaged or dead.