Username or EmailPassword
Well, it does not matter how clever the software is. Charging the battery costs energy, always. If you use it, when traveling for instance, you need it. But if your laptop is always plugged, just remove it. The ratio of energy consumed vs energy stored is insanely low. And you store it for nothing, it will dissipate in heat, and not so slowly.