This question already has an answer here:
I found instructions about MacBook battery care, but it made me confused. I received my MacBook Pro yesterday. After unboxing, I used it for some time and then I fully charged the battery. I will be using this laptop as my primary device.
So, my question is, if I use my MacBook about 7-8 hours a day with the charger plugged in, will it be harmful for the battery? What is the recommended way?