"Battery is not charging"?
That's actually not a bug, but a feature: as the battery ages by charge cycles, your computer won't charge if it's almost full in order to extend the battery's life. By unplugging and replugging the power supply, you force a battery recharge until it's full.