No, it will not harm the battery in any way -- and before you ask, you can also leave your laptop plugged into the charger most, if not all of the time. That will not harm the battery, either as the charging will stop when the battery is fully charged.
***If my post helped, click the thumbs-up symbol to say thanks***
***Please mark Accept As Solution if my post solved your problem***
I am a volunteer and I do not work for, nor represent, HP
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".