In windows 7, the battery of my core i7 VAIO would always only charge until 79 % however, in ubuntu it charges 100 % i heard from a friend that it is dangerous for battery to become charged fully and stays that way while the charger is still plugged in. i always have my charger plugged in. so is there a danger to my battery? or is there a way to manage battery options?
Laptop batteries have a micro controller which switches the power drain from the battery to OFF when plugged in to an adapter. Leaving the laptop plugged in will not harm the battery. However, batteries have a lifespan, and depending on the manufacturer can last you a year or more. Eventually, the battery will go bad no matter how much care you put into it.
According to the manufacturers they advise you to Unplug your charger once your battery is fully charged.Even though it shouldn’t make a difference if you don’t unplug it i advise you to unplug it once your laptop is fully charged!
You could also install a software/app which notifies you once your laptop is fully charged.look into this link for the software/app.
Sometimes Windows laptops can develop a "battery memory" and gradually hold less and less of a charge. It is caused by not fully charging and draining a battery, and can be fixed by fully charging and draining the battery several times. However, I think that was limited to older machines, so it may not be your problem. Windows 7 on laptops can have trouble recognizing an old battery. On mine, it used to say I had a full charge, even though the battery no longer worked. Your battery may be having charging issues that are confusing Windows. How long does it last for? P.S. It's not dangerous to keep your laptop plugged in and the battery full, unless it overheats. Keep it on a cooling mat and you're fine.
Two older types of batteries, once popular in portable computers, are nickel-cadmium (NiCad) and nickel-metal hydride (NiMH). A NiMH battery is longer lasting than a NiCad, but it too woefully suffers from The Dreaded Memory Effect.
It has to be discharged very often. For example, after you use, drain it til your computer shuts down and recharge it again to make you battery more healthy. That progress is really painful for lazy people like me.
Fortunately, with new Li-ion battery type, it wouldn't be a problem if you keep charging your battery even it's full. In my opinon, it would be better to drain your battery 2-3 times per week to ~30% and then recharge it.
Source: The different types of laptop batteries!
There is an excellent post on how to make sure the battery only charges to 80%. It started out as a question about a Lenovo laptop, but it might hold for your case as well. It uses the tp_smapi kernel module.
I personally find this one of the best battery management strategies.
Here is a quote from the post by aquaherd:
Good luck.